sunilvarma
08-26-2007, 10:00 PM
This modification allows Moderators/Administrators to see a link to the "User Options" in the postbit/postbit_legacy. This link is visible in the username drop down menu.
With this installed, you can directly edit the user options by clicking the link in the postbit. (See screenshot).
INSTALLATION
In your postbit / postbit_legacy template:
FIND:
<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>
AFTER, ADD:
<if condition="can_moderate()">
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]">User Options</a></td></tr>
</if>
With this installed, you can directly edit the user options by clicking the link in the postbit. (See screenshot).
INSTALLATION
In your postbit / postbit_legacy template:
FIND:
<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>
AFTER, ADD:
<if condition="can_moderate()">
<tr><td class="vbmenu_option"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$post[userid]">User Options</a></td></tr>
</if>