Retell
02-17-2006, 10:00 PM
I myself have to edit users profiles quite often, so I thought why not put it in the users drop down box? This can be done 2 ways, one with its own header, one with out its own header.
With Header:
<---Find In Postbit (Legacy)--->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<---/Find In Postbit (Legacy)--->
<---Add Below--->
<!-- User Setting -->
<if condition="can_moderate()">
<tr><td class="thead">Administrate</td></tr>
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]" target="_blank">Edit <b>$post[username]</b>'s Profile</a></td></tr>
</if>
<!-- /User Setting -->
<---/Add Below--->
Without Header:
<---Find In Postbit (Legacy)--->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<---/Find In Postbit (Legacy)--->
<---Add Below--->
<!-- User Setting -->
<if condition="can_moderate()">
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]" target="_blank">Edit $post[username]'s Profile</a></td></tr>
</if>
<!-- /User Setting -->
<---/Add Below--->
Retell :ninja:
With Header:
<---Find In Postbit (Legacy)--->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<---/Find In Postbit (Legacy)--->
<---Add Below--->
<!-- User Setting -->
<if condition="can_moderate()">
<tr><td class="thead">Administrate</td></tr>
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]" target="_blank">Edit <b>$post[username]</b>'s Profile</a></td></tr>
</if>
<!-- /User Setting -->
<---/Add Below--->
Without Header:
<---Find In Postbit (Legacy)--->
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
<---/Find In Postbit (Legacy)--->
<---Add Below--->
<!-- User Setting -->
<if condition="can_moderate()">
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]" target="_blank">Edit $post[username]'s Profile</a></td></tr>
</if>
<!-- /User Setting -->
<---/Add Below--->
Retell :ninja: