Quote:
Originally Posted by dacho
10x man but i ask : If i want to reject the other admin's (that i give them the permissions to log in as user) but i don't want them to get in to my user (in to the owner user) ?
If ther is a possibility to do that ?
only to reject to get in to user id-1
|
Just repace the code in the
admin_log_in_as_user_member_info_link_vb37 template with this:
Code:
<li class="thead"><if condition="$userinfo['userid'] == '1'">You Cannot Login As This User<else /><a href="$vboptions[forumhome].php?$session[sessionurl]u=$userinfo[userid]&admin_log_in_as_user=$userinfo[userid]">$vbphrase[log_in_as_user]</a></if></li>
It just adds a simple <if> conditional