PDA

View Full Version : Moderators Functions - "User Options" Link In Postbit


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&amp;u=$post[userid]">User Options</a></td></tr>
</if>

DieselMinded
08-27-2007, 01:16 PM
Thanks For the Mod you Made For Me
WORKS GREAT MAKES MY LIFE EASIER

periphrastic
09-22-2007, 04:19 AM
installed & thank you

is this only admin accessible? thanks

muratksk
09-22-2007, 04:33 PM
install, thanks :)

DieselMinded
01-25-2008, 12:22 AM
I use this mod all the time thanks again

SEOvB
02-01-2008, 03:17 AM
This adds a query to the showthread page though :(