MyBB Community Forums

Full Version: Quick question: {\$mybb->user[\'uid\']}
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I make the code pick the UID?
Basically, this doesn't work:
<li><a href="{$mybb->settings['bburl']}/search.php?action=finduserthreads&uid={\$mybb->user[\'uid\']}">My Threads</a> </li>
<li><a href="{$mybb->settings['bburl']}/search.php?action=finduser&uid={\$mybb->user[\'uid\']}">My Posts</a></li>
Where is that code from? If it's directly from a template, use {$mybb->user['uid']}.
(2014-02-01, 11:23 PM)Nathan Malcolm Wrote: [ -> ]Where is that code from? If it's directly from a template, use {$mybb->user['uid']}.

Thank you very much!