and my friend found another bug in advance rewrite mod (UTF-8) version
when you search something , in result page all topic URLs have persian words
in URL. please see this picture
i think i must add format_url() somewhere again
Moderator: Moderators


#
#-----[ OPEN ]------------------------------------------
#
#
search.php
#
#-----[ FIND ]------------------------------------------
#
for($i = 0; $i < count($searchset); $i++)
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_topic_name = format($searchset[$i]['topic_title']);
$seo_forum_name = format($searchset[$i]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT END
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_topic_name = format($searchset[$i]['topic_title']);
$seo_forum_name = format($searchset[$i]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT ENDDCZ wrote:We are close to something stable it seems![]()


amir abbas wrote:![]()
i think you forgot _url
i add this part. it works![]()

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_cat_name = $category_rows[$i]['cat_title'];
// www.phpBB-SEO.com SEO TOOLKIT END


amir abbas wrote:i think the utf package is complete know
i have installed it on two forum
there isn't any problem




<link rel="chapter forum" href="mobile-phones-vf1.html" title="اخبار سایت Persia CMS" />
<link rel="chapter forum" href="mobile-phones-vf2.html" title="دایرکتوری - Persia CMS Directory" />
<link rel="chapter forum" href="mobile-phones-vf3.html" title="گفتگو پیرامون مسائل سایت Persia CMS" />
<link rel="chapter forum" href="mobile-phones-vf32.html" title="اخبار و اطلاعیه های Hosting" />
<link rel="chapter forum" href="mobile-phones-vf33.html" title="سوالات قبل از خرید" />
<link rel="chapter forum" href="mobile-phones-vf5.html" title="بخش CSS" />
<link rel="chapter forum" href="mobile-phones-vf6.html" title="بخش XHTML و HTML" />
<link rel="chapter forum" href="mobile-phones-vf8.html" title="پشتیبانی phpBB Persia ا (support)" />
<link rel="chapter forum" href="mobile-phones-vf9.html" title="پشتیبانی phpBB فارسی" />
<link rel="chapter forum" href="mobile-phones-vf10.html" title="مقالات آموزشی phpBB" />
<link rel="chapter forum" href="mobile-phones-vf11.html" title="پشتیبانی MyBB فارسی" />
<link rel="chapter forum" href="mobile-phones-vf12.html" title="پشتيباني Drupal فارسی" />
<link rel="chapter forum" href="mobile-phones-vf26.html" title="پشتیبانی e107 فارسی" />
<link rel="chapter forum" href="mobile-phones-vf27.html" title="پشتیبانی mambo فارسی" />
<link rel="chapter forum" href="mobile-phones-vf13.html" title="پشتيباني phpadsnew" />
<link rel="chapter forum" href="mobile-phones-vf14.html" title="اصول و مبانی سئو - SEO principles" />
<link rel="chapter forum" href="mobile-phones-vf15.html" title="تکنیک های سئو - SEO techniques" />
<link rel="chapter forum" href="mobile-phones-vf16.html" title="موتور جستجو های Google , Yahoo! , MSN" />
<link rel="chapter forum" href="mobile-phones-vf17.html" title="تبادل لینک" />
<link rel="chapter forum" href="mobile-phones-vf18.html" title="دایرکتوری ها - directories" />
<link rel="chapter forum" href="mobile-phones-vf19.html" title="ابزار های سئو برای webmaster ها - SEO tools" />
<link rel="chapter forum" href="mobile-phones-vf29.html" title="گوشی های موبایل - Mobile Phones" />
<link rel="chapter forum" href="mobile-phones-vf30.html" title="نرم افزار های تلفن همراه - Mobile Phone Softwares" />
<link rel="chapter forum" href="mobile-phones-vf31.html" title="بازی های تلفن همراه - Mobile Phone Games" />
<link rel="chapter forum" href="mobile-phones-vf20.html" title="اینترنت و وب - internet & web" />
<link rel="chapter forum" href="mobile-phones-vf35.html" title="معرفی Ebook و کتاب" />
<link rel="chapter forum" href="mobile-phones-vf21.html" title="نرم افزار - Software" />
<link rel="chapter forum" href="mobile-phones-vf22.html" title="گفتگوی آزاد" />
<link rel="chapter forum" href="mobile-phones-vf25.html" title="معرفی Site و Weblog اعضا" />
<link rel="chapter forum" href="mobile-phones-vf28.html" title="معرفی اعضای جدید" />
<link rel="chapter forum" href="mobile-phones-vf23.html" title="بازارچه" />
<link rel="chapter forum" href="mobile-phones-vf24.html" title="موسیقی" />


#
#-----[ OPEN ]------------------------------------------
#
includes/function.php
#
#-----[ FIND ]------------------------------------------
#
$nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),
#
#-----[ REPLACE WITH ]------------------------------------------
#
$nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
//'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),
'url' => append_sid(format_url($forum_rows[$j]['forum_name']) . "-vf" . $forum_rows[$j]['forum_id'] . ".html") ,
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");
//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
'url' => $view_prev_topic_url,
'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
'url' => $view_next_topic_url,
'title' => $lang['View_next_topic']
);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ($userdata['session_logged_in']) {
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");
//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
'url' => $view_prev_topic_url,
'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
'url' => $view_next_topic_url,
'title' => $lang['View_next_topic']
);
}
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM<link rel="chapter forum" href="empty-vf23.html" title="بازارچه" />
<link rel="chapter forum" href="empty-vf24.html" title="موسیقی" /><link rel="chapter forum" href="phpbb-vf25.html" title="معرفی Site و Weblog اعضا" />
<link rel="chapter forum" href="phpbb-vf28.html" title="معرفی اعضای جدید" />

#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
//
// Add an array to $nav_links for the Mozilla navigation bar.
// 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
//
$nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
'title' => $forum_rows[$k]['forum_name']
);
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// Add an array to $nav_links for the Mozilla navigation bar.
// 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
//
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = format_url($forum_rows[$k]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT END
$nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
'title' => $forum_rows[$k]['forum_name']
); // www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = format_url($forum_rows[$j]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT END
$nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']), $nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
//'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),
'url' => append_sid(format_url($forum_rows[$j]['forum_name']) . "-vf" . $forum_rows[$j]['forum_id'] . ".html") ,
// www.phpBB-SEO.com SEO TOOLKIT END 
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
//
// Add an array to $nav_links for the Mozilla navigation bar.
// 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
//
$nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
'title' => $forum_rows[$k]['forum_name']
);
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// Add an array to $nav_links for the Mozilla navigation bar.
// 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
//
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = format_url($forum_rows[$k]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT END
$nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
'title' => $forum_rows[$k]['forum_name']
);// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = format_url($forum_rows[$j]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT END
$nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),

function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
// End Simple Subforums MOD
global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID;function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
// End Simple Subforums MOD
global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID, $seo_forum_name; 
#
#-----[ OPEN ]------------------------------------------
#
includes/function.php
#
#-----[ FIND ]------------------------------------------
#
$nav_links['chapter forum'][$forum_rows[$j]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$j]['forum_id']),
#
#-----[ BEFORE ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = format_url($forum_rows[$j]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ FIND ]------------------------------------------
#
//
// Add an array to $nav_links for the Mozilla navigation bar.
// 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
//
$nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
'title' => $forum_rows[$k]['forum_name']
);
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// Add an array to $nav_links for the Mozilla navigation bar.
// 'chapter' and 'forum' can create multiple items, therefore we are using a nested array.
//
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = format_url($forum_rows[$k]['forum_name']);
// www.phpBB-SEO.com SEO TOOLKIT END
$nav_links['chapter forum'][$forum_rows[$k]['forum_id']] = array (
'url' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_rows[$k]['forum_id']),
'title' => $forum_rows[$k]['forum_name']
);
#
#-----[ FIND ]------------------------------------------
#
function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
// End Simple Subforums MOD
global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID;
#
#-----[ REPLACE WITH ]------------------------------------------
#
function make_jumpbox_ref($action, $match_forum_id, &$forums_list)
{
// End Simple Subforums MOD
global $template, $userdata, $lang, $db, $nav_links, $phpEx, $SID, $seo_forum_name;
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");
//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
'url' => $view_prev_topic_url,
'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
'url' => $view_next_topic_url,
'title' => $lang['View_next_topic']
);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ($userdata['session_logged_in']) {
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");
//
// Mozilla navigation bar
//
$nav_links['prev'] = array(
'url' => $view_prev_topic_url,
'title' => $lang['View_previous_topic']
);
$nav_links['next'] = array(
'url' => $view_next_topic_url,
'title' => $lang['View_next_topic']
);
}
// www.phpBB-SEO.com SEO TOOLKIT END

Users browsing this forum: No registered users and 4 guests