board3-portal and mod/rewrite

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators


board3-portal and mod/rewrite

Postby empty » Wed Oct 22, 2008 5:50 pm

Hi.

We are using "Advanced SEO URL" (0.4.4) and i like it very much.

With our board http://www.kreta-forum.eu/index.php all works fine, but we also use the last (1.0.2) version of board3-Portal as landing page (http://www.kreta-forum.eu), where the rewriting of URLs of the recent and new posts (news / recent block) doesn't work.

Is there anything to patch/configure for a seamless integration into board3-portal?

Regards and many thanks for the good work

Mario
empty
 
Posts: 2
Joined: Wed Oct 22, 2008 5:44 pm

Advertisement

Postby dcz » Sun Oct 26, 2008 11:57 am

You should find some more patches for the bb3portal with a quick search, but here are some threads that should interest you :
http://www.phpbb-seo.com/boards/advance ... t2488.html
http://www.phpbb-seo.com/boards/phpbb3- ... t2715.html

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

Postby empty » Mon Oct 27, 2008 6:40 am

Thanks a lot, that helped me much.

Only in the patch found in http://www.phpbb-seo.com/boards/phpbb3- ... t2662.html i had to modify the following code:

Code: Select all
if ( empty($phpbb_seo->seo_url['topic'][$fetch_news[$i]['topic_id']]) ) {
   if ($fetch_news[$i]['topic_type'] == POST_GLOBAL) {
      $phpbb_seo->seo_opt['topic_type'][$fetch_news[$i]['topic_id']] = POST_GLOBAL;
   }
   $phpbb_seo->seo_url['topic'][$row['topic_id']] = $phpbb_seo->format_url(censor_text($fetch_news[$i]['topic_title']));
}


I replaced it with:

Code: Select all
if ( empty($phpbb_seo->seo_url['topic'][$fetch_news[$i]['topic_id']]) ) {
   if ($fetch_news[$i]['topic_type'] == POST_GLOBAL) {
      $phpbb_seo->seo_opt['topic_type'][$fetch_news[$i]['topic_id']] = POST_GLOBAL;
   }
   $phpbb_seo->seo_url['topic'][$fetch_news[$i]['topic_id']] = $phpbb_seo->format_url(censor_text($fetch_news[$i]['topic_title']));
}


Now everything works wunderful.

ciao,

Mario
empty
 
Posts: 2
Joined: Wed Oct 22, 2008 5:44 pm

Postby dcz » Sun Nov 02, 2008 10:53 am

Thanks for the fix, I edited my post ;)

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

Postby CharlieM » Sun Nov 30, 2008 8:17 am

This Modifikation made by empty is the final Solution.

Please change the Code to help another User for the right Solution.

THX.
CharlieM
 
Posts: 11
Joined: Sun Nov 16, 2008 9:49 pm

Postby SeO » Sun Nov 30, 2008 11:17 am

But it was updated wasn't it ?
SeO
Admin
Admin
 
Posts: 5969
Joined: Wed Mar 15, 2006 9:41 pm

Postby CharlieM » Sun Nov 30, 2008 2:03 pm

No, it wasn't.
So i've to search for the right Solution, after i've examined my Installation :?

:wink:
CharlieM
 
Posts: 11
Joined: Sun Nov 16, 2008 9:49 pm

Postby SeO » Mon Dec 01, 2008 8:58 am

To me the typo was to use $row instead of $fetch_news, I can't find $row in the post you linked, so unless I'm blinded, the code indeed seems to have been edited.
SeO
Admin
Admin
 
Posts: 5969
Joined: Wed Mar 15, 2006 9:41 pm

Postby CharlieM » Mon Dec 01, 2008 9:10 am

You're right...:oops:

First I changed the Code- it doesn't work...then I replaced...maybe I was wrong :?
CharlieM
 
Posts: 11
Joined: Sun Nov 16, 2008 9:49 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Google [Bot], Hexcode, saach and 5 guests