| :: |
| Author |
Message |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Thu May 04, 2006 4:13 pm Post subject: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
PHPBB Mixed Mod Rewrite Forum Title Able2know Addon
Hi Now what I would be interested in is the mixed mod rewrite for phpbb, add ons to compliment the existing able2know hack (which looks like it is not going to be no longer developed)
I also have the simple sub forums and currently no conflicts. |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Thu May 04, 2006 5:57 pm Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
So for the sub forum mod, if it is the simple sub forum mod originaly developped by cyber alien, then try this :
| Code: | #
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
// Append new entry
$data[] = array(
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = $forum_data['forum_name'];
// phpBB-SEO.com SEO TOOLKIT END
#
#-----[ OPEN ]------------------------------------------
#
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
if( $all_forums[$i]['forum_id'] == $parent_id )
{
#
#-----[ AFTER, ADD ]------------------------------------------
#
// phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = $all_forums[$i]['forum_name'];
// phpBB-SEO.com SEO TOOLKIT END
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM |
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Fri May 05, 2006 10:23 am Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
I am still working through tests locally.
A few problems and wonders
I had loaded up the the simple sub forums mod as made by phpbb styles
the structure as you look at it on viewforum is not like your beta test at pixelistes
the sub forums layout I have is as phpbbstyles
When you Click the primary forum on index, The sub forums are present in a seperate container to the primary posts which are underneath (or this can be over if you change it in the template but still seperate) in a seperate layout contained
And the problem seems to be using the simple sub forums of phpbb styles, is- the titles of the sub forums are not working well with this mod as now.
example of problem
on the index page the sub forum might be called sub forum a of primary. all good the url forum title works on index
but if you click the primary
the sub forum becomes primary2
Double url same content??
I await your thoughts |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Fri May 05, 2006 10:29 am Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
So, The code changes I proposed her are for the phpbbstyle sub forum, last version.
I know pixeliste is using the pesudo sub forum instead and it works nicelly.
Should not be that much of a big deal to have it work for you.
The phpBBstyles sub forum is the one being used here.
Then, with this mod there are some issues if forums are empty.
Please try to give me more precises example, I think you mean the sub forum listing does not work in the viewforum ?
Please check if your forums aren't empty and tell me more.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Fri May 05, 2006 10:39 am Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
Good Morning
empty forums aha there are no posts so let me look at that and report back. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Fri May 05, 2006 11:28 am Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
Still the problem
I think it may be because on index the forums are showing as
title-vf1.html
yours here are showing
title/ |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4006
|
Posted: Fri May 05, 2006 11:52 am Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
Do you confirm it's ok for the viewforum view ?
Then for the index, please try this instead of the pervious :
Find :
| Code: | for( $i = 0; $i < count($subforums_list); $i++ )
{
$forum_data = $subforums_list[$i]['forum_data'];
$parent_id = $forum_data['forum_parent']; |
After Add :
| Code: | // phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = $forum_data['forum_name'];
// phpBB-SEO.com SEO TOOLKIT END |
And don't worry, it's going to work, we just need to figure out where is the proper place to catch the proper forum title.
++ |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Fri May 05, 2006 12:11 pm Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
The problem is on Viewforum
But maybe index as well
Your forums here are showing on the index as
title/
but the rules above are making my forums on index title-vf1.html |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Fri May 05, 2006 12:20 pm Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
Please on thing at a time,
yes this site does not use this mod, it is true, you did not noticed ?
This site's code has been massively rewrited, a lot more than just the forum url will be different from any other.
This is experimental, and is not really releasable, way to many code changes.
The phpBB SEO mod tend to be an easy to use and install working solution for all, it's doing just slightly differents things.
If you want to really compare things, http://phpbb2.phpbb-seo.net/ is actually using the same exact code as you will in a very short while, as soon as we'll have discover what is wrong with the subforum mod.
It's a pity you cannot post links for me to actually see what's happening cause I am still not sure I understood well what is wrong (you did not make it more clear sorry).
So can you tel me precisely on which page what is and is not working as links : 1) does the links appears rewrited in the code's page + example and 2) are they usable.
Don't worry we'll find this patch.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Fri May 05, 2006 1:12 pm Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
OK I will try
On index all is good!
it is on viewforum where the title of the sub forum changes to the parent |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Fri May 05, 2006 2:39 pm Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
| No it is not empty it has a post in it, it is the only subforum and is still showing on viewforum as the title of the parent which also has a post in?? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
sceltic PR0

Joined: 04 May 2006 Posts: 55
|
Posted: Fri May 05, 2006 4:10 pm Post subject: Re: PHPBB Mixed Mod Rewrite Forum Title Able2know Addon |
|
|
Yes it certainly does. thank you
I am now going to find more questions  |
|
|
| Back to top |
|
 |
|
|