PDA

View Full Version : username drop-down to admincp


imported_Keyser S?ze
05-19-2004, 01:27 AM
i think this would just require a template edit im not sure how vb3 works just yet

what i want is u know when u click someones user name and u get a drop down box with a list of choices, i want to have a option to go to the admincp and be in their profile

that would be very convient

imported_Dawson
05-19-2004, 01:50 AM
After this:
<if condition="$post['userid']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]" target="blank"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>

Put this:

<if condition="can_moderate()">
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]" target="blank"><font color="#40FFFF">Edit $post[username]'s Profile</font></a></td></tr>
</if>

imported_Keyser S?ze
05-19-2004, 08:49 PM
where?

imported_Dawson
05-19-2004, 10:39 PM
Sorry, thought you would have known where

postbit_legacy or postbit, whichever one you use