![]() |
AdminCP Access
A friend of mine requested this so I made it. By default the plugin is disabled, otherwise you would not be able to access the AdminCP. :cool:
If someone tries to access your AdminCP and they are not the IP, User Group, or User ID that you defined, they will automatically be forwarded to the forum home. If you wanted to you could enable the IP, User Group, and User ID at once. Enable as many of the features as you feel a need for. Features:
You MUST uninstall the old product after that just follow the directions of the New Installation. File Edits: In admincp/index.php find: Code:
require_once('./global.php'); Add after: Code:
if ($vbulletin->options['allowip_enabled']){ New Installation: 1.) Perform the file edits 2.) Go to AdminCP-> Plugins & Products-> Manage Products-> Import the product-admincpaccess. 3.) Go to AdminCP-> VBulletin Options-> VBulletin Options-> AdminCP Access. 4.) Under AdminCP Allowed IPs put your IP and then enable the hack and save. For multiple IPs just follow this example: 1.1.1.1|2.2.2.2|3.3.3.3| Optional: 1.) Under AdminCP Allowed User Groups put the User Groups you wish to allow access and then enable the hack and save. For multiple User Groups just follow this example: 6|7 2.) Under AdminCP Allowed User IDs put the User IDs you wish to allow access and then enable the hack and save. For multiple User IDs just follow this example: 1|2|3 Screenshots: Of what? If you are not the defined IP, User Group, or User ID you will be redirected to the forum home. *If you locked yourself out just reupload your original admincp/index.php file to you admincp root. Go into your AdminCP-> VBulletin Options-> VBulletin Options-> AdminCP Access and fix what ever caused you to get locked out. Once you fix it just reupload the edited admincp/index.php file. Changelog: 1.0 - Initial release with just IP Access 2.0 - Now you can allow access to the Admin CP by IP Addresses, User Groups, and User IDs. 2.1 - Added instructions to edit the file as VBulletin Staff don't like for VBulletin files to be edited for you. :( Other than that nothing has changed, so if you have version 2.0 there's no need to update. :D Notice: A 3.8.x version can be found HERE. |
Does it have to be full IP address ?
|
Quote:
|
I had the same idea before ... and about 8 mounths ago I created the similar system!
But know I'm very encoraged to know the person who requested the hack. ! Anyway I believe it it is an important hack.https://vborg.vbsupport.ru/member.php?u=212384 |
So what happens when your IP changes. How can you make sure you can still get into your Admin CP when your IP changes. My internet provider always changes IP's, and I do not have the same IP. So what about users like me. We simply can not use a hack like this.
|
Quote:
So does your IP change complete numbers like XX.XX.XX.XX or would it change like one area like 22.22.22.XX? If it's the second option I can add in a way for partial IP Address, but otherwise I would not see that feature as to any use. |
How can I set it in a way that just a particular country can login all other countries cant
also not proxies |
this sound kool, let me try install now, thanks
|
Why not setup an .htaccess file?
|
looks very helpful,but the same question regarding IP changes.these days most service providers often change IPs.if you can resolve this issue,i am up for it.cause in days like these we do need something like this.thanks
by the way if i disable all hacks via server.will it then allow me to loginto admin panel?thnx |
Quote:
|
Quote:
Quote:
Another reason is that not all servers support the .htaccess IP denying. I know my old server use to not allow me. I had to call them up to actually get them to allow an IP. Quote:
As far as a regular way to do it without uploading anything, would partial IPs work for people who's IP changes? If so I could add an option for this. |
thnx for the fast respond,and for the change i will try it now.and please add that option for ip change cause my ip changes alot.do i have to install both.one thing more.the index.php is for 3.7.2 pl1 and i am running pl2.does it matter? thnx
|
Quote:
As far as you having multiple IPs, the script I use to block IPs is not complex enough to detect partial IPs. So what I am going to do is do what VBulletin should have done. 2.0- Now you can allow access to the Admin CP by IP Addresses, User Groups, and User IDs. |
thnx man working great and i will nominate this one.i think this should be an standard in VB.and strict banning rules.good work thnx
|
Quote:
|
i checked it today with proxy and its fine.and u were right about by adding usergroup or user id options it will make it uselessfor it to do what it suppose to do.
one suggestion though, two rather if it is possible 1. if you can add an option that if someone tries to access the admin cp it will put that user into a certain usergroup of our choice like ban users or in active so the board owner can track it down with their ip.cause no one wants that user on the board. 2. an extra option to enable the supermod access only with their ip.cause after admin s.mod is the only one with alot of power. i know its too much to ask,but it will be appreciated if u can make it happen.thnx |
Quote:
2.) Super Mods are not suppose to access the AdminCP, theres a separate folder for moderators called ModCP. |
i think that will work if their info show .thnx man
|
Quote:
|
kool no problem
|
Notice that u include your licence number in the comment of the index.php of the file
thanks for this hacks. unfortunately its not working with latest version. |
Attachments removed.
Please upload a modified version of your modification without including (modified) default vB files. If needed provide instrutions to modifiy the file. |
awwwwww
|
Quote:
|
I have a dynamic IP that changes everyday, so that would not work to well. Nice mod though.
|
Quote:
|
Mod supported again and updated to meet VBulletin Staff specifications.
|
please can this be made compatible with version 3.8.3. this is exactly what i need for my site. i tried installing but get an error message saying the version is not compatible with 3.8.3. this is the best mod i have seen so far and really should be a part of the core vb product IMO
|
oops never mind. found it
|
Quote:
https://vborg.vbsupport.ru/showthrea...36#post1841136 |
All times are GMT. The time now is 05:19 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|