MyBB Community Forums

Full Version: How to resolve this code error in template?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have uploded a theme in which

in post

wen we click on posters username link

it opens our user CP

and the code in template is

{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}

how i modified this so that it opens particular member's profile

[Image: q6mil1139y9f3mvo1rli.png]
?????
It would help if you gave your threads descriptive titles. "joicart admin" is not a descriptive title and reduces your chance of getting a reply because people cannot track which thread is which.
No solution???
^ please clarify - is it a error or you want a modification
error

on clicking on VIPUL99 (username)

his profile should be open

but it opens users own profile

and code is

{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}

in template

so how i rectify so that on clicking on VIPUL99

VIPUL99's profile should be open
{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}
should be
{$mybb->settings['bburl']}/member.php?action=profile&uid={$post['uid']}
Thank you so much