Quote:
Originally Posted by iamspookysdaddy
Excellent Mod....Thanks for the great work!
Any way to make it so that a tab is only visible to non-logged in users? I am going to be using my forum integrated with another program where the login takes place. I am going to turn off registrations and remove the code for the login from vbulletin. I would like to have two tabs for login and register which will be used to direct to the other programs register and login pages. Once a user is logged in I would not want them to see the tabs:erm:
Thanks
|
You would need to add in an if statment. Something like this
PHP Code:
if (is_member_of($vbulletin->userinfo, 5, 6, 7))
{ some code in here
}