2011-06-13, 08:06 PM
Considering that members need to make a couple clicks to see their own profile and that there is a real easy and obvious way for a quick profile link I'm going to suggest this into MyBB.
One quick line change is all it takes for the Welcome Back text to have it as a profile link.
In global.php.
Change this:
$lang->welcome_back = $lang->sprintf($lang->welcome_back, $mybb->user['username'], $lastvisit);
To this:
$lang->welcome_back = $lang->sprintf($lang->welcome_back, build_profile_link($mybb->user['username'], $mybb->user['uid']), $lastvisit);
That's it. Now the "Welcome Back, labrocca" has my username as a profile link. A very tiny change for a simple effective benefit. Please consider.
One quick line change is all it takes for the Welcome Back text to have it as a profile link.
In global.php.
Change this:
$lang->welcome_back = $lang->sprintf($lang->welcome_back, $mybb->user['username'], $lastvisit);
To this:
$lang->welcome_back = $lang->sprintf($lang->welcome_back, build_profile_link($mybb->user['username'], $mybb->user['uid']), $lastvisit);
That's it. Now the "Welcome Back, labrocca" has my username as a profile link. A very tiny change for a simple effective benefit. Please consider.