Helpful Information
 
 
Category: vBulletin 3.0
AdminCp & ModCp Access From Anywhere

Admincp & Modcp Access from Anywhere On Your Site!

This small addon file will allow you access your Admincp and Modcp anywhere on your site by visting the file.

for example i could rename the file access.php and have it at www.mysite.com/portal/access.php , upon visting this it will redirect me to the vB3 admincp if I were and admin, and the Modcp if I was a mod, if not it,ll spit me out to the the Vbulletin index or any other given url :D

[INSTALL------------]

Edit the config options in the file (note the userids given can be changed but this is for folk who know what there doing)

You must use the absolute path and edit the v.important line in the file

save the file

Just upload an visit and your done.

What if you want to add more than 1 mod ID? ;)

something i,ll look into soon :D for now its just a small and handy wee tool :D but thnx for the critque boofo as i say i,ll ask how this can be done as im no coding genius lol

wouldnt this be a slight security risk?

why not just click the mod or admin links at the bottom of the board

/me dont get it ?

Maybe it's for non-vb pages?

Dark Shogun

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. :D

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 :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. :D

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 :D
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.










privacy (GDPR)