Enpòtan: Paj sa a se lè l sèvi avèk bonbon (cookies). Sèvi ak sit entènèt sa a san yo pa vire sou bonbon nan navigatè, vle di ke ou dakò pou sèvi ak li.
Buy Now! Features Downloads

Gen ak nou!

Si ou ta renmen kòmanse lajan ak are vBET pou salè pou gwo travay Afilye pwogram.
Paj 5 nan 5 FirstPremye ... 345
Rezilta 41 46 nan 46

Thread: Sitemap jeneratris entegrasyon

  1. #41

    Default

    Pwoblèm menm kòm dabitid. Ou ta dwe kòmanse panse bat kò ou, bay jis FINI kòd pou bezwen chak.

    Mwen eseye edite li, men li pa travay. Gade jan anpil moun nan moso twal kamwazi sa a gen pwoblèm, jis pou fè kèk échantillons tankou.

    Sitemap san lyen SEO

    Sitemap ak lyen SEO

    Sitemap san SEO lyen, paj miltip

    Sitemap ak SEO lyen, paj miltip

    Ta sove ou anpil tan.

    Comment mwen konprann didacticiel ou mwen modifié .php la jan sa a:

    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++)
    Men li travay isnt...

    Ki pwoblèm mwen jwenn?

    1.) Jwenn "vbseo_log_entry (" forum_id [showthread]: $forumid, thread_id: $threadrow [threadid], total de postes: $totalposts, paj: $totalpages, vues: $threadrow [vues] $anteryè ")"

    Chaîne sa a pa egziste. "Sèlman" Theres "vbseo_log_entry (" forum_id [showthread]: $forumid, thread_id, $threadrow [threadid], total de postes: $totalposts, paj: $totalpages, vues: $threadrow [vues] $anteryè ")"

    Si mwen ta ajoute li kote ou di l' kase kòd la.

    2.) lòt m pa pi mal ak bagay ki konpweyansib.

    3.) OPSYONÈL, OCHWA:
    Si ou vle pou ajoute pou Sitemap tou lyen pou paj fil lòt (si fil gen plizyè paj), yo dwe Lè sa a, anplis postal soti nan etap dènye dwe ajoute nan lòt kote - ANVAN:
    PHP Postal:
    $ Vbseo_stat [$ achiv 'nan':? T ''] + = vbseo_add_2urls (
    Epitou sa a nan postal anplis ou gen chanjman 1 a $ p.

    Sa se pa bagay ki konpweyansib absolutly. M pa konn sa pou yo fè. Mwen pa ka konprann li senpleman. Jis klarifye e ak kote...
    Last edited by r.dziadusz; 14-04-12 nan 16:20. Rezon ki fè: BBCode corrigé

  2. #42
    Retrete yo;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Hi
    Mwen eseye edite li, men li pa travay. Gade jan anpil moun nan moso twal kamwazi sa a gen pwoblèm, jis pou fè kèk échantillons tankou.
    Nou pa kapab fè becouse kòd à par plugin "Sitemap Générateur"

    Comment mwen konprann didacticiel ou mwen modifié .php la jan sa a:
    Si ou vle sèvi ak kòd "EN" de étape, 3:
    premye liy sa a:
    PHP Code:
      $currentthreadurl vbseo_url_thread($threadrow, %p$archived); 
    ta dwe gade:
    PHP Code:
      $currentthreadurl vbseo_url_thread($threadrow$p$archived); 
    Ak Dezyèmman jan li te di
    Nou tande ajoute kòd de étape 3 devan liy sa a.
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls
    Ou mete l' nan plas kote kòd sipoze si ou pa t fè opsyonèl, ochwa étape, 3, sèlman souple jwenn liy
    PHP Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls
    Apre sa, déplacer ou kòd la ak liy mwen corrigé
    Sa se pa bagay ki konpweyansib absolutly
    Si sa a konsèy itil pou nou la a, souple pou jan konnen kijan pou fè ou tankou l' pou fè, nou pwal eseye fè plus travay sa a pou ou
    Last edited by r.dziadusz; 14-04-12 nan 16:16.

  3. #43

    Default

    Ou yo te pèmèt pou edite kèk codes yo? Ou ta dwe afiche a tout kòd isit la, sèlman a snipped nou bezwen chanje pa.

    Ou ta dwe fè li sanble.

    JWENN
    $currentthreadurl = vbseo_url_thread ($threadrow, p i %, $archivés),
    CHANJE POU
    $ Currentthreadurl = vbseo_url_thread ($ threadrow, $ p, $ achiv);
    Men pa gen okenn "$ currentthreadurl = vbseo_url_thread ($threadrow, p i %, $archivés), "Mwen panse nou vle di"$ currentthreadurl = vbseo_url_thread ($threadrow, 1, $archivés), ".

    Mwen tryd koulye a:
    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 
    Pa travay.

    Ou menm mete kòd yo isit la servival tan, se konsa li ta dwe pa gen pwoblèm pou mete kèk échantillons tankou mwen te ekri leve.
    Last edited by r.dziadusz; 18-04-12 nan 21:15. Rezon ki fè: BBCode modifier

  4. #44
    Retrete yo;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Jan sa ekri nan enstriksyon
    f ou vle ajoute sitemap tou lye pou lòt moso twal kamwazi paj (si moso twal kamwazi gen plizyè paj), lè sa a, te kòd supplémentaires de dènye étape dwe être ajoute nan plas lòt - DEVAN:
    PHP Postal:
    Code:
    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
    Tanpri mete l' devan liy sa a

  5. #45

    Default

    Men, jan mwen te di nan dekri m' pwoblèm teren, pati a, mwen pa konprann ou ka tradwi.

    Mwen ta dwe mete li (sa?) anvan sa a liy ("$ vbseo_sta pou.."?

  6. #46
    Retrete yo;)
    Join Date
    Aug 2011
    Posts
    441

    Default

    Mete
    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 
    anvan liy

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

Paj 5 nan 5 FirstPremye ... 345

Tags pou sa a Thread

Posting Permissions

  • Ou Pouvwa pa Post fil nouvo
  • Ou Pouvwa pa Post replies
  • Ou Pouvwa pa Post atachman
  • Ou Pouvwa pa modifye posts ou
  •