Quote:
Originally Posted by Alan_SP
It's easy. Find plugin "Add Spy Link To Navigation" where you call link to it and use this condition around calling spy.php:
<vb:if condition="is_member_of($bbuserinfo,5,6,7)">
Now plugin should look like:
$template_hook['navbar_community_menu_end'] .= '<vb:if condition="is_member_of($bbuserinfo,5,6,7)"><li><a href="spy.php' . $session['sessionurl_q'] . '" target="_blank">' . $vbphrase['spy'] . '</a></li></vb:if>';
Of course, 5,6,7 are usergroups you want to allow access.
|
Yeah I couldn't get that to work, Also would that just hide the link rather than not allowing access to spy.php?
So if they just typed the URL they would find it?