MyBB Community Forums

Full Version: function code for these links?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to link users in my header to edit their profile and view their profile.

Example:
<li><a href="{$mybb->settings['bburl']}/member.php?action=profile">View Profile</a></li>
<li><a href="{$mybb->settings['bburl']}/member.php?action={$lang->ucp_nav_edit_profile}">Edit Profile</a></li>

I can't figure out the code. Can anybody help me with this?
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">View Profile</a>
<a href="{$mybb->settings['bburl']}/usercp.php?action=profile">Edit Profile</a>
(2013-07-25, 03:13 AM).m. Wrote: [ -> ]
<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">View Profile</a>
<a href="{$mybb->settings['bburl']}/usercp.php?action=profile">Edit Profile</a>

Thank you very much .m.!

To others,
Sorry about those duplicated posts! Sad