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 kwa Links SEO, 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 ...