[Board3] Bad link in poll block

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

Moderator: Moderators

[Board3] Bad link in poll block

Postby GlouGlou » Fri Apr 06, 2012 5:59 pm

Hi all,

I've just noticed that the link at the bottom of the poll block (v1.0.6) does not rewrite.
I'm looking for a long time but nothing to fixes this.

Any solution to solve this?
Thanks for your help.
GlouGlou
PR0
PR0
 
Posts: 83
Joined: Mon Mar 01, 2010 2:22 pm

Advertisement

Re: [Board3] Bad link in poll block

Postby GlouGlou » Sun Apr 08, 2012 10:50 am

After many try, I just find how to make this.

OPEN portal/block/poll.php:

Find
Code: Select all
$topic_id = (int) $data['topic_id'];
$forum_id = (int) $data['forum_id'];


After Add
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
         if ($data['topic_type'] == POST_GLOBAL || !empty($phpbb_seo->seo_url['forum'][$data['forum_id']])) {
            $phpbb_seo->prepare_iurl($data, 'topic', $data['topic_type'] == POST_GLOBAL ? $phpbb_seo->seo_static['global_announce'] : $phpbb_seo->seo_url['forum'][$data['forum_id']]);
         }
// www.phpBB-SEO.com SEO TOOLKIT END


Enjoy ;)
GlouGlou
PR0
PR0
 
Posts: 83
Joined: Mon Mar 01, 2010 2:22 pm


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 7 guests