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.

English |
French
