There was a tutorial at LearnMyBB regarding this, but again, it closed.
So what I want is a piece of code that leads to the user's profile.
Sorry, faviouz, I don't think there's a variable to do that. I think you could modify global.php to create a new one but I'm not sure.
Try this:
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>
(2010-06-12, 11:10 PM)x-Treme Wrote: [ -> ]Try this:
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>
Huh. I didn't know it could work like that
I was absolutely sure there was something for this, because I saw this once on LearnMyBB before it closed.
And thanks x-Treme!
(2010-06-12, 11:21 PM)computergeek67 Wrote: [ -> ] (2010-06-12, 11:10 PM)x-Treme Wrote: [ -> ]Try this:
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$mybb->user['username']}</a>
Huh. I didn't know it could work like that
We all learn something new every day =].