PDA

View Full Version : link to user?


StuntFactoryX
07-27-2007, 10:41 PM
is there a mod available to do this?

when u click on a user name in posbit there is a drop down to pm user and a few other options and maybee in the users profile too somewhere.

what i would like is a direct link for staff only to go to the users profile in the admin cp. where we can edit options and make changes. would this be hard?

Dominic
07-28-2007, 01:23 AM
Code Provided By: Phantom
---------------------------

Add after this code:


<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
this code (Make sure to edit the YOURSITE url.)


<if condition="is_member_of($bbuserinfo, 6)">
<tr><td class="vbmenu_option">
<a href="http://YOURSITE.com/admincp/user.php?do=edit&u=$post[userid]">Edit this user</a>
</td></tr>
</if>
---------------------------

StuntFactoryX
07-28-2007, 01:36 AM
thank you very much... that worked perfect. :)