[Archive] mx Sitemaps 0.0.1

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

Moderator: Moderators


[Archive] mx Sitemaps 0.0.1

Postby dcz » Tue May 02, 2006 12:47 am

WARNING
    0.2.0 is out : To update please read this thread.

    What follows is kept for archive.

    0.0.2 support will continue for some time for 0.0.2 user, until they update.

    Do not use this version if you are first installing this mod.

---------------------------------------------------------------------------------------

mx Sitemaps [html]<hr>[/html]
    Module name : mx Sitemaps

    Module author : dcz / [html]<a href="http://www.phpbb-seo.com/" class="postlink" title="phpBB SEO">www.phpBB-SEO.com</a>[/html]

    MOD Description : This mod creates sitemaps for phpBB and mxBB Portal (if used).
    You will be able to add link in ACP, last active topics lists, mod Rewrite ...

    Module version : v0.1

    Installation Level: Easy for the Basics, Advanced if setting up mod_Rewrite.

    Installation Time : 5 Minutes for the Basis, a bit more if setting up mod_Rewrite.

Author's Notes :[html]<hr>[/html]
    Search Engine Optimized (SEO) And User-Friendly Sitemap Solution for phpBB and mxBB Portal.

    It will create a Site Map Index, a paginated mxBB Portal Page's list (if installed), a Forum Map listing forums (Linked through their description) and One Paginated Map per forum (Linked in the Forum Map), listing Topics.

    Sitemap Mod Integration (S2B ~ http://www.s2b-project.de)
    Allow to add as many links as you want on the Site Map Index Page directly from ACP.
    This functionality makes the use of the db_install.php necessary because the sitemap index tables will be created individually for all installed languages.
    If you want to add a new language to your board, you have to add the language manually by executing this query (be careful about which table prefix you are using) :

    For phpBB :
    Code: Select all
    ALTER TABLE phpbb_sitemap ADD sm_title_<new language> VARCHAR(100) NOT NULL DEFAULT '';

    For mxBB :
    Code: Select all
    ALTER TABLE mx_sitemap ADD sm_title_<new language> VARCHAR(100) NOT NULL DEFAULT '';


    Where "<new language>" has to be replaced with the name of the language (e.g. German, English).

    Many powerful SEO feature such as the possibility to list last active topics on each type of Maps and Pagination Handling as well as User-friendly interface, allowing to output marked topics like in phpBB and new post since last visit.

    Everything is ACP configurable, allowing fine tuning of the hole system and to exactly decide what to output on each type of pages : Last Active Topics, Viewonline and Log in.

    All content is outputted following the phpBB AUTH settings, meaning everybody is going to see the links he should.

    All of this without changing a single phpBB line!

    The forum's sitemaps pagination will output no duplicates and will be fully applied if you install one of the phpBB SEO mod Rewrites.
    Also, Title injection for those only available with the phpBB SEO mod rewrites.
    This because of how pagination is handled in phpBB. Eventual custom fix may apply.

    If you specific Rewrited url standard is currently not supported by the phpBB SEO mod Rewrites, please post a request for it in the [html]<a href="http://boards.phpbb-seo.com/mod-rewrite-phpbb-vf33/" title="phpBB SEO mod rewrite" class="nav">phpBB mod rewrite Forum</a> [/html]and the Team will provide premodded files.
[html]<hr>[/html]

Supported Languages :
    English, French.

Demo :
Note This mxBB demo is a bit different on this site. The phpBB SEO multiforum set up was here added in the module. The standard version will of course only list one forum.

Download File :


Current Features :
    One Site Map Index :
    :arrow: Site Map Index is configurable, you can create categories and add local or external links in ACP.
    Last Active Topic can also be set up to be shown here.

    Paginated mxBB Page listing :
    :arrow: mxBB Pages Paginated List.
    Last Active Topic can also be set up to be shown here.

    Running mxBB gives you an extra option in ACP, the Standalone Mode.
    You can use this site map like any mxbb module or choose to run it outside of the portal. It's one or the other, going for Standalone will allow you to activate mod Rewrite for Sitemaps in ACP and will save some server ressources.

    You will also be able to add the who is online stats on maps, the login box will auto show up the same way it does on the forum index.

    To enable the Standalone Mode, you must 1) move the sitemaps.php file from modules/mx_sitemaps/
    to your portal's root and 2) Enable the option in ACP.

    One Forum Map :
    :arrow: Listing all forums the current user has the right to view and read.
    The list provides links to each of the forum Maps as well as to each forum, using the forum description as the text link.
    Last Active Topic can also be set up to be shown here.

    One Map per Forum :
    :arrow: Paginated Listing of each forum's topics. The pagination limit is configurable in ACP.
    Last Active Topic can also be set up to be shown here.

Planned features :
    Style :
    :idea: Plan to add more style support and to finalize current subSilver templates.

    Other Mods support :
    :idea: Plan to add KB support at first, will see if other mods would benefit such a listing.

    Other mod_Rewrite support :
    :idea: Will add premoded files in the package for any unsupported URL standard upon request.

Contrib :
    Pre modded files for several mod rewrite included.
    If apply, just ovewrite the standard files with the right contrib files.
    Supported url standars : Webmedic's rewrite mod, able2know rewrite mod, GoogleBB Links ...

Support :
    English Support On this Thread. If you need some specific adaptation, please start a new thread in this Forum.
    [html]<a href="http://www.phpbb-seo.com/forums/mods-phpbb-seo/mx-sitemap-module-vt14.html" class="postlink" title="Support Francophone">Support Francophone</a>[/html]
Last edited by dcz on Wed Jan 24, 2007 12:36 pm, edited 1 time in total.
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby hedgehog » Wed May 03, 2006 4:42 am

Hi dcz, one minor thing I found
Code: Select all

copy   root/includes/includes/Sitemaps_Common_Admin.php


to?
Code: Select all
copy   root/includes/Sitemaps_Common_Admin.php


includes maybe INCLUDED to many times ;)
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Postby hedgehog » Wed May 03, 2006 5:12 am

Hi DCZ,

When I install this mod I get this as my confirmation????


Code: Select all
Module Installation Information
Installation mx Google Sitemaps : Default Param.

Building required dB tables

[Added/Updated] line: 1 , DROP TABLE IF EXISTS phpbb_ggsitemap_config

and the list cont


I made sure that the db_install.php was the not the google Sitemap mod. I will contact my server, I think they started some wierd cache thing....

Can I do db_install by hand?
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Postby dcz » Wed May 03, 2006 8:48 am

Well,

I love it when things begin to start ;)

So For the Google message and table, I really think you are not using the right db_install.php

There is no "Google" [NC] in this mod's lang files nor in the intall files.

Then, for the path thing, sorry, double paste ;)

Zip updated for the path ;)

++
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby dcz » Wed May 03, 2006 1:04 pm

There was some issues with the paths in the admin files of this release, so I updated the package.

Please, re DL the package and ovewrite admin_mx_sitemaps.php, admin_mx_sitemapIndex.php (module's admin folder) Sitemaps_Common_Admin.php, and Sitemaps_Functions.php (module's include folder).

Got tricked by Firefox which was accepting paths which IE would not.

Everything should be all right now ;)

++
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby hedgehog » Wed May 03, 2006 2:49 pm

"So For the Google message and table, I really think you are not using the right db_install.php "

I know, the stupid server still has the other one in its cache or something like that. Talking to the hosting service...

Good job on the mod!
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Postby dcz » Wed May 03, 2006 3:03 pm

Thanks a lot ;)

Tell me if you use mod rewrite for sitemaps, I still need to post some code in order to have the pagination working rewrited and without duplicates.

Will basically be on or two line of the soon come phpBB SEO mor rewrites, I am currently finishing.

++
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby hedgehog » Wed May 03, 2006 8:56 pm

Hi,

yes it works, took about 3min to install with the rewrite ;)

http://www.pathway2curis.com/sitemaps.php

One thing I noticed is that I use a mod so I can put BBCode in the topics or forums, and notice that function is lost... No biggie
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Postby dcz » Wed May 03, 2006 9:20 pm

Nice ;)

I'll provide code to enable the rewrited pagination a bit later, so don't turn the mod rewrite on already.

I'll do it later today or tomorrow, and then you'll be able to use on of the sitemap auto link add on too.

And how do you like it ?

Also, sorry, I just noticed a small typo in the webmedic Sitemaps_Functions.php contrib file, so please re DL the pack and overwrite this file.


Could you tell me more about the bbcode thing, I did not get it.

++
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby hedgehog » Wed May 03, 2006 9:31 pm

LOL I already turned it on! Well it works, when you get a better one i can change it...

on the forum map, there is bbcode that appears only in the site map.
pathway2curis.com/forum-map.html

for example
:members:

Should code for a picture which shows up on the index.php but shows up as :members: which is the code not the picture.

So I guess the html works in the site forum map but not bbcode?

Not hard to change, as my forum is new ;)

It is not your mod that is causing it more like a small conflict with bbcode...
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Postby dcz » Wed May 03, 2006 9:49 pm

For bb code a simple fix would be to use the forum name instead of their description, but you loose an occasion to add all those words linked to the forum, tell me what you decide, I'll give you the code.

And for mod rewrite I'll post the fix later tonight, it will only afect pagination so you can still use it on to test the rewriterules (located in the contrib folder), the only thing that will not work is pagination of the forum maps.

And I see the rewriterules aren't properly set up ;)

++
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby hedgehog » Wed May 03, 2006 10:04 pm

And I see the rewriterules aren't properly set up

alright you got me

Code: Select all
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 ^forum-m\ap-([0-9]+)-([0-9]+)\.html$ sitemaps.php?fmp=$1&start=$2 [QSA,L]
RewriteRule ^forum-m\ap-([0-9]+)\.html$ sitemaps.php?fmp=$1 [QSA,L]


this works
Code: Select all
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]


this doesn't (i think) non of the forum-map#.html work

Code: Select all
RewriteRule ^forum-m\ap-([0-9]+)-([0-9]+)\.html$ sitemaps.php?fmp=$1&start=$2 [QSA,L]
RewriteRule ^forum-m\ap-([0-9]+)\.html$ sitemaps.php?fmp=$1


"And for mod rewrite I'll post the fix later tonight, it will only afect pagination so you can still use it on to test the rewriterules (located in the contrib folder), the only thing that will not work is pagination of the forum maps. "


Not sure what pagination means does this have to do with the forum-map#.html? or do you mean just make pages?


Fixed thanks

Code: Select all
RewriteRule ^forum-m\ap([0-9]+)-([0-9]+)\.html$ sitemaps.php?fmp=$1&start=$2 [QSA,L]
RewriteRule ^forum-m\ap([0-9]+)\.html$ sitemaps.php?fmp=$1 [QSA,L]
Last edited by hedgehog on Wed May 03, 2006 10:11 pm, edited 1 time in total.
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Postby dcz » Wed May 03, 2006 10:09 pm

Yep, I replyed you in the other post, the rewriterules weren't ok.

The pagination will show up in forum with more than one page, in the sitemap side.

So It's no big deal for now, I'll be done with putting the fix together before you'll need it ;) Just need to write down installs and such, but the code is ready ;)


++
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: 19930
Joined: Fri Apr 28, 2006 9:03 pm

Postby hedgehog » Thu May 04, 2006 5:33 am

dcz wrote:For bb code a simple fix would be to use the forum name instead of their description, but you loose an occasion to add all those words linked to the forum, tell me what you decide, I'll give you the code.


I'll fix it in a few days, with html or something... Thanks again
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Postby hedgehog » Mon May 08, 2006 9:49 pm

Hi DCZ,

I was wondering if there is anyway to select specific forums for the "Last 10 Active Topics" ?

I have RSS feeds into the my site, but they really don't need to show up as the 10 last active topics. Also, after I added a few pics to the Sitemap Index, it broke the level of "Last 10 Active Topics" and "Sitemap Index"

Is this because the size of the image?

Thank you :)
hedgehog
 
Posts: 15
Joined: Sat Apr 29, 2006 10:12 pm

Next

Return to phpBB2 SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest


 
cron