phpbb 3.0.4 to 3.0.5 profile links not working

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

Moderator: Moderators

phpbb 3.0.4 to 3.0.5 profile links not working

Postby allingeneral » Sat Feb 02, 2013 1:59 am

I've chased this down as far as I can figure and could use a hand if anyone knows the answer.

I just upgraded my board from 3.0.4 to 3.0.5

Now when I visit memberlist.php - the only profile links that are written correctly are those that use a color (administrator, moderators, etc). All normal users profiles use the old phpbb link. This happens everywhere profile links are used (viewtopic.php, memberlist.php, etc)

Color username link:
domain/username-u2.html
Regular username link:
domain/memberlist.php?mode=viewprofile&u=4

It seems like PROFILE_URL is being set incorrectly for non-color usernames in .../includes/functions_content.php

I must be missing something.

Code: Select all
                $_profile_cache['tpl_profile'] = '<a href="{PROFILE_URL}">{USERNAME}</a>';
                $_profile_cache['tpl_profile_colour'] = '<a href="{PROFILE_URL}" style="color: {USERNAME_COLOUR};" class="username-coloured">{USERNAME}</a>';


Code: Select all
        return str_replace(array('{PROFILE_URL}', '{USERNAME_COLOUR}', '{USERNAME}'), array($profile_url, $username_colour, $username), (!$username_colour) ? $_profile_cache['tpl_profile'] : $_profile_cache['tpl_profile_colour']);


This is driving me nuts. Any help would be greatly appreciated.
allingeneral
 
Posts: 16
Joined: Tue May 01, 2007 12:30 pm

Advertisement

Re: phpbb 3.0.4 to 3.0.5 profile links not working

Postby HB » Tue Feb 05, 2013 3:38 pm

Without looking into the problem you describe, I have to ask: Why not upgrade to the latest version? phpBB 3.0.5 dates back to 2009 (http://www.phpbb.com/community/viewtopic.php?t=1625005) and there has undoubtedly been many security fixes since then.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1509
Joined: Mon Oct 16, 2006 2:25 am


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests