Quote:
Originally Posted by colicab-d
well we wanted a central login for our staff and admins so we made this, its no security risk. as at no point does it contain info that could be breached it just redirects to the correct area and if youre not in the usergroup of mod or admin then like i say it will redirect you to the url x it does all this in about 2 seconds of hitting the page sp theres no security risk i can think of.
its for non-vb pages but its more intended so as to creat a central login area, for folk who have remove the admin / mod cp links or for people like us who wanted www.site.com/staff as a login, good for the index of a subdomain like staff.site.com 
|
uhm
$admin_location = "http://www.mysite.com/admincp"; //Location of admincp.
$mod_location = "http://www.mysite.com/modcp"; //Location of modcp.
$non_staff_location = "http://www.mysite.com/"; //Location to throw out non admins/mods to.
Isn't it better to properly integrate with vbulletin by using the config.php file and since global.php is include you can use the proper variables too. Saves file edits and makes things easier and integrates like it should :P (well , i think so)
I am glad you got my directions and learned from them and got this hack going the way you wanted to

Good job! You are a quick learner.