Board3 Portal again

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

Moderator: Moderators

Re: Board3 Portal again

Postby Maxwell_Smart » Fri Apr 03, 2009 3:17 pm

Sorry,

i never used simple rewrite, may one of the Admins can say some about this.

Max
Last edited by Maxwell_Smart on Sat Apr 04, 2009 8:32 am, edited 1 time in total.
Maxwell_Smart
 
Posts: 17
Joined: Tue Mar 03, 2009 8:35 am

Advertisement

Re: Board3 Portal again

Postby dcz » Sat Apr 04, 2009 8:28 am

No modding is required for the simple mod (unless you see unrewritten links, but I doubt 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: 21291
Joined: Fri Apr 28, 2006 9:03 pm

Re: Board3 Portal again

Postby eoinzy » Mon Apr 06, 2009 1:45 am

Hi Maxwell_Smart,
Thanks for the code instructions.

It works perfect on my site, only i just noticed 1 thing.

When I do a poll, and it comes up in the recent posts, it reverts back to "viewtopic....".

Is there a .htaccess update to correct this?

Thanks.


ps site is at www.dingostew.com if you need it.
eoinzy
 
Posts: 28
Joined: Thu Jan 22, 2009 2:07 am
Location: Perth, Australia

Re: Board3 Portal again

Postby Maxwell_Smart » Mon Apr 06, 2009 4:44 am

Hi,

open portal/block/poll.php
find:
Code: Select all
         if( $auth->acl_get('f_read', $poll_forum) )
         {

add after:
Code: Select all
    // www.phpBB-SEO.com SEO TOOLKIT BEGIN
    if ( empty($phpbb_seo->seo_url['topic'][$row['topic_id']]) ) {
           $phpbb_seo->seo_url['topic'][$row['topic_id']] = $phpbb_seo->format_url(censor_text($row['topic_title']));
        }
    // www.phpBB-SEO.com SEO TOOLKIT END


this works on my board, i hope it works for you too.

Max
Maxwell_Smart
 
Posts: 17
Joined: Tue Mar 03, 2009 8:35 am

Re: Board3 Portal again

Postby elsinor » Tue Jun 02, 2009 6:41 am

Hi, thanks for improvement, but not all portal URLs are been rewriten. Simple post are the same, but popular ans anounc. are SEF.
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby Maxwell_Smart » Tue Jun 02, 2009 6:49 am

Hi,

where do you mean, at recent topics or latest news?

Max
Maxwell_Smart
 
Posts: 17
Joined: Tue Mar 03, 2009 8:35 am

Re: Board3 Portal again

Postby elsinor » Tue Jun 02, 2009 6:57 am

Both
Take a look at http://www.tuningster.ru/
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby Maxwell_Smart » Tue Jun 02, 2009 7:16 am

Hi,

please check your changes at recent.php. you have made it 3 times.

Max
Maxwell_Smart
 
Posts: 17
Joined: Tue Mar 03, 2009 8:35 am

Re: Board3 Portal again

Postby elsinor » Tue Jun 02, 2009 7:28 am

Thx, Max. Now i got it!
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby elsinor » Sun Jun 07, 2009 6:04 am

How about 3.0.5 ? There are some changes and forums in link are dissapear
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby Maxwell_Smart » Sun Jun 07, 2009 6:23 am

Hi,

for Board3 Portal, no changes required

Max
Maxwell_Smart
 
Posts: 17
Joined: Tue Mar 03, 2009 8:35 am

Re: Board3 Portal again

Postby elsinor » Mon Jun 08, 2009 5:25 am

My portal links are
Code: Select all
www.tuningster.ru/hyundai-verna-2010.html

instead
Code: Select all
www.tuningster.ru/tuning-news-f43/hyundai-verna-2010-t123.html

now.
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby elsinor » Mon Jun 08, 2009 10:26 am

I make it work

I replaced
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ( empty($phpbb_seo->seo_url['topic'][$row['topic_id']]) ) {
       if ($row['topic_type'] == POST_GLOBAL) {
          $phpbb_seo->seo_opt['topic_type'][$row['topic_id']] = POST_GLOBAL;
       }
       $phpbb_seo->seo_url['topic'][$row['topic_id']] = $phpbb_seo->format_url(censor_text($row['topic_title']));
    }
// www.phpBB-SEO.com SEO TOOLKIT END


With
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ( empty($phpbb_seo->seo_url['topic'][$row['topic_id']]) ) {
$cur_forum_id = ($row['forum_id']) ? (int) $row['forum_id'] : $forum_id;
$phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$cur_forum_id]);
    }
// www.phpBB-SEO.com SEO TOOLKIT END
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby SmarterDOS » Mon Jun 08, 2009 10:46 am

elsinor wrote:I make it work

I replaced
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ( empty($phpbb_seo->seo_url['topic'][$row['topic_id']]) ) {
       if ($row['topic_type'] == POST_GLOBAL) {
          $phpbb_seo->seo_opt['topic_type'][$row['topic_id']] = POST_GLOBAL;
       }
       $phpbb_seo->seo_url['topic'][$row['topic_id']] = $phpbb_seo->format_url(censor_text($row['topic_title']));
    }
// www.phpBB-SEO.com SEO TOOLKIT END


With
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
if ( empty($phpbb_seo->seo_url['topic'][$row['topic_id']]) ) {
$cur_forum_id = ($row['forum_id']) ? (int) $row['forum_id'] : $forum_id;
$phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$cur_forum_id]);
    }
// www.phpBB-SEO.com SEO TOOLKIT END

whoah, nice. how about for the advanced one? do you have solution for that? thanks before.
SmarterDOS
 
Posts: 4
Joined: Wed Feb 11, 2009 11:40 am

Re: Board3 Portal again

Postby elsinor » Mon Jun 08, 2009 11:15 am

SmarterDOS wrote:whoah, nice. how about for the advanced one? do you have solution for that? thanks before.


This is it, im using advanced mode.
Last edited by elsinor on Tue Jun 09, 2009 5:07 am, edited 1 time in total.
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

PreviousNext

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests