- Code: Select all
ALTER TABLE phpbb_sitemap ADD sm_title_farsi VARCHAR(100) NOT NULL DEFAULT '';
but i get this error message
- Code: Select all
#1146 - Table 'persianm_phpbb.phpbb_sitemap' doesn't exist
i ran db_install.php file again
now it works
Moderator: Moderators
ALTER TABLE phpbb_sitemap ADD sm_title_farsi VARCHAR(100) NOT NULL DEFAULT '';#1146 - Table 'persianm_phpbb.phpbb_sitemap' doesn't exist 


sitemaps.php$sitename = $borad_config['sitename']; $sitename = $board_config['sitename']; 

// mx Sitemaps Module (forum URL injection + pagination)
//"".format_url($seo_forum_name)."-fmp\\1-\\2.html".if_query('\\3')."",
//"".format_url($seo_forum_name)."-fmp\\1.html".if_query('\\2')."", // mx Sitemaps Module (forum URL injection + pagination)
"".format_url($seo_forum_name)."-fmp\\1-\\2.html".if_query('\\3')."",
"".format_url($seo_forum_name)."-fmp\\1.html".if_query('\\2')."",


#########################################################
# MX SITEMAPS REWRITE RULES ADVANCED #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 2006/04/28
########################################################
RewriteRule ^sitemaps([0-9]+)\.html$ /sitemaps.php?c=$1 [QSA,L]
RewriteRule ^sitemaps\.html$ /sitemaps.php [QSA,L]
RewriteRule ^forum-m\ap\.html$ /sitemaps.php?fim [QSA,L]
RewriteRule ^.+-fmp([0-9]+)-([0-9]+)\.html$ /sitemaps.php?fmp=$1&start=$2 [QSA,L]
RewriteRule ^.+-fmp([0-9]+)\.html$ /sitemaps.php?fmp=$1 [QSA,L]
RewriteRule ^.+-sc([0-9]+)\.html$ /sitemaps.php?c=$1 [QSA,L]
#########################################################
# END SITEMAPS REWRITE RULES #
#########################################################dcz wrote:
Actually, you need first to open sessions.php and look for function append_sid().
In it, you'll find some commented lines of code for the mx Sitemaps module
Things like :
- Code: Select all
// mx Sitemaps Module (forum URL injection + pagination)
//"".format_url($seo_forum_name)."-fmp\\1-\\2.html".if_query('\\3')."",
//"".format_url($seo_forum_name)."-fmp\\1.html".if_query('\\2')."",
you need to change to :
- Code: Select all
// mx Sitemaps Module (forum URL injection + pagination)
"".format_url($seo_forum_name)."-fmp\\1-\\2.html".if_query('\\3')."",
"".format_url($seo_forum_name)."-fmp\\1.html".if_query('\\2')."",

// mx Sitemaps Module (forum URL injection + pagination)
"".format_url($seo_forum_name)."-fmp\\1-\\2.html".if_query('\\3')."",
"".format_url($seo_forum_name)."-fmp\\1.html".if_query('\\2')."",Users browsing this forum: No registered users and 1 guest