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 SmarterDOS » Mon Jun 08, 2009 10:52 pm

elsinor wrote:
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. All links except my custom block (at the top of http://www.tuningster.ru, based on news code were rewrited.

Oh no, it can't work in my board. http://www.tekno.web.id/ do you have solution for that? Thanks :D
SmarterDOS
 
Posts: 4
Joined: Wed Feb 11, 2009 11:40 am

Advertisement

Re: Board3 Portal again

Postby Maxwell_Smart » Tue Jun 09, 2009 5:14 am

Hi,

you have made not all changes, the earlier in this topic are described

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

Re: Board3 Portal again

Postby dcz » Tue Jun 09, 2009 9:35 am

@ elsinor : nice work !

But you only need :
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$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


The if is not included in the phpbb_seo::prepare_iurl method.

Generally speaking, this code will only work for forum with cached urls or with topic having the topic_url field filled, you would need to call phpbb_seo::set_url to make sure taht forum url would be available in all cases, but this require that the forum_name is known.

Take a look at search.php for the full story :
Code: Select all
         // www.phpBB-SEO.com SEO TOOLKIT BEGIN
         $phpbb_seo->set_url($row['forum_name'], $u_forum_id, $phpbb_seo->seo_static['forum']);
         $phpbb_seo->prepare_iurl($row, 'topic', $row['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$u_forum_id]);
         // www.phpBB-SEO.com SEO TOOLKIT END


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

Re: Board3 Portal again

Postby napus » Tue Jun 09, 2009 1:13 pm

hi Maxwell_Smart will you do the update to phpBB SEO Ultimate SEO URL v060??
Thx
napus
 
Posts: 41
Joined: Tue May 05, 2009 4:40 pm
Location: Poland

Re: Board3 Portal again

Postby Maxwell_Smart » Tue Jun 09, 2009 3:12 pm

Hi napus,

i will take a closer look the next couple days :wink:

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

Re: Board3 Portal again

Postby napus » Tue Jun 09, 2009 3:17 pm

Actually, i removed all the edits from portal files pure cache refresh theme, template and icons and rewriting works without edits :D
napus
 
Posts: 41
Joined: Tue May 05, 2009 4:40 pm
Location: Poland

Re: Board3 Portal again

Postby elsinor » Tue Jun 09, 2009 3:55 pm

napus wrote:Actually, i removed all the edits from portal files pure cache refresh theme, template and icons and rewriting works without edits :D


It works, but in simple mode?
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby napus » Tue Jun 09, 2009 4:06 pm

Advanced.
napus
 
Posts: 41
Joined: Tue May 05, 2009 4:40 pm
Location: Poland

Re: Board3 Portal again

Postby Maxwell_Smart » Tue Jun 09, 2009 4:17 pm

sounds interesting

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

Re: Board3 Portal again

Postby elsinor » Tue Jun 09, 2009 4:46 pm

Im getting only /topicxxx.html URLs
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby napus » Tue Jun 09, 2009 4:56 pm

It's depends on yours SEO settings.
napus
 
Posts: 41
Joined: Tue May 05, 2009 4:40 pm
Location: Poland

Re: Board3 Portal again

Postby elsinor » Tue Jun 09, 2009 5:00 pm

What settings? On my forum they are advanced.
elsinor
 
Posts: 24
Joined: Sun May 10, 2009 2:47 pm

Re: Board3 Portal again

Postby napus » Tue Jun 09, 2009 5:10 pm

phpBB SEO Class settings tab
napus
 
Posts: 41
Joined: Tue May 05, 2009 4:40 pm
Location: Poland

Re: Board3 Portal again

Postby eoinzy » Sun Jun 14, 2009 6:30 am

So is there going to be another walk through for this? Im finding it kinda hard to follow through all the posts here. :oops:
eoinzy
 
Posts: 28
Joined: Thu Jan 22, 2009 2:07 am
Location: Perth, Australia

Re: Board3 Portal again

Postby Maxwell_Smart » Sun Jun 14, 2009 6:37 am

i agree with you, may one of the admins wil split the topic in

advanced rewrite Mod and Ultimate mod

this would be great

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

PreviousNext

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests