Quote:
Originally Posted by kh99
You could do it in the php or the template. If that's the only thing on the page, you could protect the whole page with:
PHP Code:
if (!is_member_of($vbulletin->userinfo, 5, 6, 7)) { print_no_permission(); }
(of course you can list whichever user groups you want to have access to the page). If you'd rather leave the page accessible to everyone but just hide something in the template, you could use:
Code:
<vb:if condition="is_member_of($bbuserinfo, 5, 6, 7)">
Secret stuff
</vb:if>
|
The template conditional did not work, that is why I inquired about using PHP conditional. Thanks again for all the help.
Edit: I do find it odd that on the custom page, despite already being logged in vB, it shows the login box for user name and password rather than seeing the typical settings , logout etc that you would if being logged in.