[Archive] mx Sitemaps 0.0.1

Support for the phpBB2 SEO mods released in the phpBB2 SEO Toolikt forum.

Moderator: Moderators

Postby AmirAbbas » Thu Jun 22, 2006 2:05 pm

i used this query

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 :D
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Advertisement

Postby dcz » Thu Jun 22, 2006 3:57 pm

Great :D
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby dcz » Fri Jun 23, 2006 3:28 pm

and another small bug, thanks to philippe :

open :

Code: Select all
sitemaps.php


find :

Code: Select all
$sitename = $borad_config['sitename'];


Replace with :

Code: Select all
$sitename = $board_config['sitename'];


and one more for the 0.0.2 ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby ico » Sat Jul 15, 2006 9:28 pm

I have a few questions.

1. Why does this mod overwrite confirm_body.tpl ?
2. Is it safe to overwrite confirm_body.tpl for all my styles ?
3. Why does this mod overwrite spacer.gif and whosonline.gif ?

I see no reason as to why any of those three files should be included. I don't think it is a good idea to overwrite existing images. Perhaps rewrite the mod so that it looks for spacer_seo.gif and whosonline_seo.gif would be safer.
ico
 
Posts: 1
Joined: Sat Jul 15, 2006 8:54 pm

Postby dcz » Sat Jul 15, 2006 10:09 pm

And welcome ;)

You are totally right here :D

But it's no big deal, the files are the same (and up to date, this I make sure ;) ) and you could even not upload them, it would work the same with phpBB.

Actually, this is only my fault, as mxBB needs those to run, I forgot to get rid of them while I released the mod.

My plan for 0.0.2 are to only use custom images and not recycle like here, it's just that I wanted some feedback on code and style before going further.

This is dev 0.0.1, but stable, for sure next versions will be enhanced, and easier to install fully.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby legal » Tue Jul 25, 2006 9:16 am

Hi there.
Thanks for another great mod that I've just installed. It's working pretty well apart from one thing:

All the links work correctly apart from the forum map links that take you back to my main index page:

http://www.legalitforums.com/forum-map.html

Any ideas please?

Thanks very much.
:D
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby dcz » Tue Jul 25, 2006 9:31 am

Ho I see.

This is because I need to update this mod's install ;)

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')."",


Then, you should install the auto link add on to provide dynamic linking to you site maps and once done don't forget the Title injection patch and rewriterules.

0.0.2 will be more organize and easier to install, but this is fairly simple in the end.

And results as far a PageRank are very good with this mod ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby legal » Tue Jul 25, 2006 10:04 am

Thank you - where's the auto link add on please?
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby dcz » Tue Jul 25, 2006 10:09 am

Sorry I forgot to post it, but it was not far ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby legal » Tue Jul 25, 2006 12:00 pm

Thanks. I've done those two mods but I still have the same problem.
:(
Do I need to do anything else please?
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby dcz » Tue Jul 25, 2006 12:24 pm

You still need to edit sessions.php ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby legal » Tue Jul 25, 2006 2:16 pm

Sorry - still not working.
:(
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby legal » Tue Jul 25, 2006 2:19 pm

I put this in .htaccess - is that wrong:

Code: Select all
#########################################################
# 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            #
#########################################################
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

Postby dcz » Tue Jul 25, 2006 3:54 pm

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')."",



I really think you still need to do these edit.

The .htaccess is right ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby legal » Tue Jul 25, 2006 4:02 pm

I have this in includes\sessions.php:

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')."",
legal
 
Posts: 42
Joined: Wed Jul 05, 2006 3:22 pm

PreviousNext

Return to phpBB2 SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests