[Archive] mx Sitemaps 0.0.1

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

Moderator: Moderators


Postby HB. » Sat Nov 25, 2006 4:23 pm

ok thank you, I guess I should delete it? I think everything else was working fine, I was just wondering about if this mod should have provided a link in the footer like this forum. It appears only main conflict was the category not displaying the correct link. Does your other sitemap mod work with CH, and does it do just about the same as this one?

thank you
HB.
PR0
PR0
 
Posts: 62
Joined: Thu Oct 26, 2006 1:26 am

Advertisement

Postby dcz » Sat Nov 25, 2006 4:35 pm

mx Google sitemaps does work with CH, without mod rewrite or with the phpBB SEO simple mod rewrite (only supporting 2.14d so far).

I plan to provide better SEO solutions for CH in the near future, but I need time.

The link in the footer is build up using some extra code changes, but this is as well very likely to be different with CH.

Be patient, the Google sitemaps update will be CH compatible, and from there, I'll work on updating the phpBB SEO mods and have them work with CH 2.16 ;)

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby HB. » Sat Nov 25, 2006 4:39 pm

Thank you very much dcz. Looks like I'm shot for now as I do have mod-rewrite, but I using the simple. I'm wondering for now, could I just take out the category link in the sitemap index so that it will show the topics instead.? The topic links work just fine.

edit: oops I meant to say take out the forum instead of the category :oops:
HB.
PR0
PR0
 
Posts: 62
Joined: Thu Oct 26, 2006 1:26 am

Postby dcz » Sat Nov 25, 2006 4:51 pm

You mean you would like to use mx sitemaps only for it's index ? and the last active topic list ?

Actually, looking at the code, it should work with the simple mod rewrite if you open :

Code: Select all
includes/Sitemaps_Functions.php


find :

Code: Select all
               $forum_url_tmp = $phpbb_url . 'viewforum.'.$phpEx.'?'.POST_FORUM_URL.'='.$row[$i]['forum_id'];


Replace with :

Code: Select all
               $forum_url_tmp = $phpbb_url . 'index.'.$phpEx.'?'.POST_FORUM_URL.'='.$row[$i]['forum_id'];


I do not have much time to test this, but, it should be the same for all other forum links, just replace "viewforum" with "index" in all the includes/ sitemaps files.

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby HB. » Sat Nov 25, 2006 4:54 pm

I'll test it for you, and see how it works. Least I hope we are on the same page :)

I meant the forum link would show the old viewforum instead of .html like the topic links. That's why the forum link would lead to an invalid page. I'll make those code changes and let you know how it works. BTW just for reference, I'm using a older version of CH not 2.1.6 if it matters.
HB.
PR0
PR0
 
Posts: 62
Joined: Thu Oct 26, 2006 1:26 am

Postby HB. » Sat Nov 25, 2006 5:01 pm

Hey dcz, it worked!! Thanks a lot :)
HB.
PR0
PR0
 
Posts: 62
Joined: Thu Oct 26, 2006 1:26 am

Postby dcz » Sat Nov 25, 2006 5:02 pm

I knew about the version, because, it would not work with 2.16 yet.

So cool if you're willing to test up a bit, will be faster to find tweaks.

I suggest you start a new thread in this forum so we can be helpful to others at the same time.

There should not be any problem with the auto link add-on (the footers links to html sitemaps).

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby HB. » Sat Nov 25, 2006 5:05 pm

ok will do. I'll test that out in a few minutes. :)
HB.
PR0
PR0
 
Posts: 62
Joined: Thu Oct 26, 2006 1:26 am

append SID function w/static URLs

Postby sssseo » Fri Dec 08, 2006 11:38 pm

I'm using your static URLs MOD (w/mixed mod_rewrite) with the sitemap MOD and I don't understand the following lines you say to edit in includes/sessions.php:

Code: Select all
if ( $seo_forum_name ) {
   $urlin = array( ...
   // mx Sitemaps Module (forum URL injection + pagination)
   //"'(?)forum-map([0-9]+)\.html".$amp."start=([0-9]+)(".$amp."){0,1}'",
   //"'(?)forum-map([0-9]+)\.html(".$amp."){0,1}'",
   );
   $urlout = array( ...
   // 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')."",
   );
   $url = preg_replace($urlin, $urlout, $url);
}

Where does the sitemap script even do append_sid() ?
sssseo
 
Posts: 11
Joined: Wed Nov 22, 2006 10:41 pm

Postby dcz » Sat Dec 09, 2006 10:25 am

Actually, this is needed to allow a nice pagination and to inject titles in forum maps URLs.

All you need to do is to uncomment the lines mentioning mx Sitemaps Module in includes/sessions.php

EG :

Replace :

Code: Select all
   // mx Sitemaps Module (forum URL injection + pagination)
   //"'(?)forum-map([0-9]+)\.html".$amp."start=([0-9]+)(".$amp."){0,1}'",
   //"'(?)forum-map([0-9]+)\.html(".$amp."){0,1}'",


with

Code: Select all
   // mx Sitemaps Module (forum URL injection + pagination)
   "'(?)forum-map([0-9]+)\.html".$amp."start=([0-9]+)(".$amp."){0,1}'",
   "'(?)forum-map([0-9]+)\.html(".$amp."){0,1}'",


Replace :

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


with :

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


for the mixed mod rewrite.

Once done, you'll need these rewriterules : http://www.phpbb-seo.com/boards/phpbb-s ... 5.html#317

instead for the mx sitemaps module.

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby sssseo » Sat Dec 09, 2006 4:43 pm

Okay, thanks...I wasn't aware of the auto-link add-on. You might consider adding a reference to it in the Static URL's MOD instructions, where includes/sessions.php is edited; you already link to the Sitemap MOD, a link to the Auto-Link MOD would help too. In the Mixed mod_rewrite version, you have:

Code: Select all
# In the following code changes, please look at the comments, they concern the
# mx Sitemaps Module ( http://boards.phpbb-seo.com/phpbb-seo-mods/mx-site-map-module-vt4.html )
# and mxBB Portal. Just uncomment, to activate, or delete, if unused, the required lines of code upon your needs


You can add it there.

P.S. Thanks for all these MODs, they work perfectly (even with some personal changes to the mod_rewite format), and I look forward to submitting to Google and seeing the results.
sssseo
 
Posts: 11
Joined: Wed Nov 22, 2006 10:41 pm

Postby dcz » Sat Dec 09, 2006 5:59 pm

Yes, the mx sitemaps module is the one harder to deal with upon install, even though it works like a charm.

I am currently updating a lot of things in the phpBB SEO mods, should end up being a lot easier to install.

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Sat Dec 16, 2006 8:26 am

So I guess lot of testing has gone into this now. When are you planning to finaly release this ?
Audio Ads - Earn from every visitor to your site
Buy Latest mobiles *** SEO India
nims
phpBB SEO Team
phpBB SEO Team
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Sat Dec 16, 2006 11:45 am

nims wrote:So I guess lot of testing has gone into this now. When are you planning to finaly release this ?


This mod you are talking about here, is working, now if you are talking about the updates, well, team testing just started, release is close, but, recruitings and team organization are important for the future too.

Anyway, Santa Klaus should bring some this year ;)

++
dcz
Administrateur - Site Admin
Administrateur - Site Admin
 
Posts: 17678
Joined: Fri Apr 28, 2006 9:03 pm

Postby annamon » Tue Dec 26, 2006 7:01 pm

Hello,

Today after update my phpbb from 2.0.21 to 2.0.22, the forum don't work.

I think the error was produced by the 'mx Sitemaps Module', becouse the error ocurres on the line 655 on sessions.php:
655 $urlout = array( "post\\1.html".if_query('\\2')."",


This is my url for see the error on sessions.php
http://suplementos.monsegur.net/

How i can solves it?

PD: Excuse for my english ;) and thanks for your great's mods.
annamon
 
Posts: 4
Joined: Tue Dec 26, 2006 6:54 pm

PreviousNext

Return to phpBB2 SEO MODS




Who is online

Users browsing this forum: No registered users and 2 guests