![]() |
|
Mod Options |
![]() |
|||||||||||
AdminCp & ModCp Access From Anywhere
![]() Developer Last Online: Oct 2007 ![]() ![]() ![]() This modification is in the archives.
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 ![]() [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. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
What if you want to add more than 1 mod ID?
![]() No members have liked this post.
|
#3
|
||||
|
||||
something i,ll look into soon
![]() ![]() No members have liked this post.
|
#4
|
|||
|
|||
wouldnt this be a slight security risk?
No members have liked this post.
|
#5
|
|||
|
|||
why not just click the mod or admin links at the bottom of the board
/me dont get it ? No members have liked this post.
|
#6
|
|||
|
|||
Maybe it's for non-vb pages?
Dark Shogun No members have liked this post.
|
#7
|
||||
|
||||
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 ![]() No members have liked this post.
|
#8
|
|||
|
|||
Originally Posted by colicab-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 ![]()
__________________
My community; http://wetalknation.net No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:27.