Quote:
Originally Posted by markuswarren
I did manage to work out how to do the addition to the user pop-up menu, and I've been rather lax in posting what I did, so I'll rectify that now:
Upon editing postbit_legacy look for:
$template_hook[postbit_user_popup]
then after copy and paste the following:
Code:
<if condition="is_member_of($vbulletin->userinfo, array( 6))">
<tr><td class="vbmenu_option"><a href="member.php?do=cyb_loginasuser&u=$post[userid]">Log In As User</td></tr>
</if>
The conditional checks to see if the user is in the admin group and thus only presents the option to admin users.
I've been using this for a little while and it works like a charm.
|
Hm, for some reason this doesn't seem to work at my board. Doesn't add anything to the pop up menu.
Still, thanks for sharing.