Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years ago Quick question: {\$mybb->user[\'uid\']}
#1
Solved: 11 Years ago
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>

#2
Solved: 11 Years ago
Where is that code from? If it's directly from a template, use {$mybb->user['uid']}.
No longer involved in the MyBB project.
#3
Solved: 11 Years ago
(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!

Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)