If you would like to link to a user's profile, then add the following code.
<a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>.
For the welcome block something like this would be used.
Welcome back, <a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}.
(2011-01-13, 08:47 PM)dK JaSon Wrote: [ -> ]Welcome back, <a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}.
It should be like Welcome back, <a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>.
(2011-02-15, 07:28 AM)digital.medics Wrote: [ -> ] (2011-01-13, 08:47 PM)dK JaSon Wrote: [ -> ]Welcome back, <a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}.
It should be like Welcome back, <a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>.
I noticed that after I posted it. Sorry!
(2011-01-13, 08:47 PM)dK JaSon Wrote: [ -> ]If you would like to link to a user's profile, then add the following code.
<a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>.
For the welcome block something like this would be used.
Welcome back, <a href="http://synthd.com/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}.
It's better using
$profile = $mybb->settings['bburl'].'/'.build_profile_link($mybb->user['uid']);
<a href="{$profile}">{$mybb->user['username']}</a>.
Guys, do you mean editing in the global.lang file?
Quote:$l['welcome_back'] = "<strong>Welcome back, {1}</strong>. You last visited: {2}";
Because by going to the header_welcomeblock_member template, the code there, {$lang->welcome_back}, is what is written in the lang file.
I´m confused where to edit.
Edited: My board is multilanguage.
Wait, it's redirecting to synthd.
(2011-03-09, 11:49 PM)zZJoennZz Wrote: [ -> ]Wait, it's redirecting to synthd.
Because you need to change it to your url or "/" lol.