Muhimu: Ukurasa Hii ni kwa kutumia cookies (cookies). Kutumia tovuti hii bila kugeuka mbali kuki kwenye kivinjari, ina maana kwamba unakubali kwa kutumia hiyo.
Buy Now! Features Downloads Angalia vBET kwenye vBulletin 5

Kupata na sisi!

Kama ungependa kuanza kupata fedha kwa vBET kujiunga na Affiliate Program.
Ukurasa 5 ya 5 FirstKwanza ... 345
Matokeo 41 kwa 46 ya 46

Thread: Sitemap Generator ushirikiano

  1. #41
    Wanachama
    Join Date
    Jun 2010
    Posts
    90

    Default

    Same tatizo kama kawaida. Unapaswa kuanza kufikiri rahisi, kutoa tu code kumaliza kwa ajili ya kila hitaji.

    Mimi kujaribu kuhariri, lakini haifanyi kazi. Kuangalia ni kiasi gani ppl katika thread hii ina matatizo, tu kufanya baadhi sampuli kama:

    Sitemap bila SEO viungo

    Sitemap na SEO Links

    Sitemap bila SEO viungo, nyingi kurasa

    Sitemap na SEO Links, nyingi kurasa

    Je, kuokoa mengi ya wakati.

    Jinsi i kuelewa mafunzo yako i kuhaririwa php njia hii.:

    Code:
                	vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(  
    //additional code 
    require_once(DIR. '/includes/vbenterprisetranslator_functions_vbseo.php');
    $alanguages = array ('en','fr'); 
    if(!$archived) { 
      $strlenhost = strlen($vbseo_vars['bburl']."/"); 
      $currentthreadurl = vbseo_url_thread($threadrow, %p, $archived);
      $currentthreadurl_before = substr($currentthreadurl,0,$strlenhost);
      $currentthreadurl_after = "/".substr($currentthreadurl,$strlenhost);
      $lastpost =& $threadrow['lastpost'];
      $vbseo_stat['t'] += sizeof($alanguages);
      foreach($alanguages as $language) { 
        vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after, $prior, $lastpost, $freq); 
      } 
    }   
    //end additional code  
    
        			for($p=1; $p<=$totalpages; $p++)
    Lakini si kazi ...

    Matatizo gani i kupatikana?

    . 1) KUTAFUTA "vbseo_log_entry (" [showthread] forum_id: $ forumid, thread_id: $ threadrow [threadid], jumla ya posts: $ totalposts, kurasa: $ totalpages, maoni: $ threadrow [maoni] $ kabla ");"

    Kamba hii haipo. Kuna "tu" "vbseo_log_entry (" [showthread] forum_id: $ forumid, thread_id: $ threadrow [threadid], jumla ya posts: $ totalposts, kurasa: $ totalpages, maoni: $ threadrow [maoni] $ kabla ");"

    Kama napenda kuongeza ambapo anasema inavunja code.

    2). Hatua nyingine ni sawa na ya kueleweka.

    3) hiari.:
    Kama unataka kuongeza Sitemap viungo pia kwa kurasa nyingine thread (kama thread na kurasa kadhaa), basi kanuni za nyongeza kutoka hatua ya mwisho lazima kuongezwa katika sehemu nyingine - KABLA:
    PHP Code:
    $ Vbseo_stat [$ jalada 'katika': 't'] + = vbseo_add_2urls (
    Pia katika kanuni hii ya ziada wewe kuwa na mabadiliko ya 1 na $ p.

    Hii ni absolutly haielewiki. I dont kujua nini cha kufanya. I cant kuelewa tu. Tu kufafanua nini na wapi ...
    Ilihaririwa mwisho na r.dziadusz; 14-04-12 katika 16:20. Sababu: BBCode corrected

  2. #42
    Mstaafu;)
    Join Date
    Agosti 2011
    Posts
    441

    Default

    Hi
    Mimi kujaribu kuhariri, lakini haifanyi kazi. Kuangalia ni kiasi gani ppl katika thread hii ina matatizo, tu kufanya baadhi sampuli kama:
    Hatuwezi kufanya kwamba kanuni becouse inamilikiwa na "Generator Sitemap" Plugin

    Jinsi i kuelewa mafunzo yako i kuhaririwa php njia hii.:
    Kama unataka kutumia "hiari" code kutoka hatua ya 3:
    kwanza mstari huu:
    PHP Code:
      $currentthreadurl vbseo_url_thread($threadrow, %p$archived); 
    inapaswa kuangalia:
    PHP Code:
      $currentthreadurl vbseo_url_thread($threadrow$p$archived); 
    Na pili kama ni alisema
    Una kuongeza code kutoka hatua 3 mbele ya mstari huu:
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls
    Na kuweka mahali ambapo code ilitakiwa kuwa kama hakufanya hivyo hatua ya hiari 3, tu tafadhali kupata line
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls
    na hoja code yako pale na mimi mstari corrected
    Hii ni absolutly haielewiki
    Kama hii msaada kwa ajili yenu, tafadhali basi kama kujua jinsi gani wewe kama ni kuwa, sisi kujaribu kufanya kazi hii rahisi kwa wewe
    Ilihaririwa mwisho na r.dziadusz; 14-04-12 katika 16:16.

  3. #43
    Wanachama
    Join Date
    Jun 2010
    Posts
    90

    Default

    Hauruhusiwi kuhariri baadhi ya namba zao? Ni lazima si post code MZIMA hapa, tu snipped tunahitaji mabadiliko.

    Unapaswa kufanya ni kuangalia kama:

    FIND
    $ Currentthreadurl = vbseo_url_thread ($ threadrow,% p, $ archived);
    Mabadiliko ya
    $ Currentthreadurl = vbseo_url_thread ($ threadrow, $ p, $ jalada);
    Lakini hakuna "$ currentthreadurl = vbseo_url_thread ($ threadrow,% p, $ archived);" Nadhani maana ya "$ currentthreadurl = vbseo_url_thread ($ threadrow, 1, $ archived);".

    Mimi tryd sasa:
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(  
    //additional code 
    require_once(DIR'/includes/vbenterprisetranslator_functions_vbseo.php');
    $alanguages = array ('en','fr'); 
    if(!
    $archived) { 
      
    $strlenhost strlen($vbseo_vars['bburl']."/"); 
      
    $currentthreadurl vbseo_url_thread($threadrow$p$archived);
      
    $currentthreadurl_before substr($currentthreadurl,0,$strlenhost);
      
    $currentthreadurl_after "/".substr($currentthreadurl,$strlenhost);
      
    $lastpost =& $threadrow['lastpost'];
      
    $vbseo_stat['t'] += sizeof($alanguages);
      foreach(
    $alanguages as $language) { 
        
    vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after$prior$lastpost$freq); 
      } 
    }   
    //end additional code 
    Si kazi.

    Wewe hata kuweka kanuni zao hapa servival mara, hivyo ni lazima hakuna tatizo kuweka baadhi sampuli kama i waliotajwa up.
    Ilihaririwa mwisho na r.dziadusz; 18-04-12 katika 21:15. Sababu: BBCode hariri

  4. #44
    Mstaafu;)
    Join Date
    Agosti 2011
    Posts
    441

    Default

    Kama ilivyoandikwa katika mafundisho
    f unataka kuongeza Sitemap pia kwa ajili ya viungo kurasa nyingine thread (kama thread kuwa na kurasa kadhaa), basi ziada code kutoka hatua ya mwisho lazima aliongeza katika sehemu nyingine - KABLA:
    PHP Code:
    Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
    Tafadhali weka kabla ya mstari huu

  5. #45
    Wanachama
    Join Date
    Jun 2010
    Posts
    90

    Default

    Hii ni kama i alisema katika maelezo ya tatizo langu, sehemu ya i dont kuelewa au uwezo wa kutafsiri.

    Nitaweka ni (nini?) Kabla ya mstari huu ("$ vbseo_sta .."?)

  6. #46
    Mstaafu;)
    Join Date
    Agosti 2011
    Posts
    441

    Default

    Kuweka
    PHP Code:
    //additional code  
    require_once(DIR'/includes/vbenterprisetranslator_functions_vbseo.php'); 
    $alanguages = array ('en','fr');  
    if(!
    $archived) {  
      
    $strlenhost strlen($vbseo_vars['bburl']."/");  
      
    $currentthreadurl vbseo_url_thread($threadrow$p$archived); 
      
    $currentthreadurl_before substr($currentthreadurl,0,$strlenhost); 
      
    $currentthreadurl_after "/".substr($currentthreadurl,$strlenhost); 
      
    $lastpost =& $threadrow['lastpost']; 
      
    $vbseo_stat['t'] += sizeof($alanguages); 
      foreach(
    $alanguages as $language) {  
        
    vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after$prior$lastpost$freq);  
      }  
    }    
    //end additional code 
    kabla mstari

    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls

Ukurasa 5 ya 5 FirstKwanza ... 345

Tags kwa Thread hii

Posting ruhusa

  • Wewe inaweza baada ya nyuzi mpya
  • Wewe inaweza post replies
  • Wewe inaweza post attachments
  • Wewe inaweza hariri posts yako
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33