2011-06-21, 02:52 AM
2011-06-21, 02:55 AM
To make it "Welcome Back, <Username with link> go to your theme's template>Welcome Block>Welcome_Block_Member.
find this code
find this code
{$lang->welcome_back}
and change it to this.<b>Welcome Back, <a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a></b><br />
2011-06-21, 02:57 AM
Edit : not seen above response
____________________________
Welcome Back text to have it as a profile link
____________________________
Welcome Back text to have it as a profile link
Quote: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);
2011-06-21, 03:00 AM
(2011-06-21, 02:57 AM)ranjani Wrote: [ -> ]Edit : not seen above responseCore edit's area really not needed, my solution is super easy and easy to fix if a mistake is made.
____________________________
Welcome Back text to have it as a profile link
Quote: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);
2011-06-21, 03:10 AM
Thanks to both of you