![]() |
AdminCP Access
1 Attachment(s)
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 3.0 - Made some minor changes to code. 4.0 - Now supports 3.8.x. 4.1 - Fixed a small coding issue. |
[high]* TheLastSuperman tags, will check out later tonight ;)[/high]
|
[high]
Quote:
Hope you enjoy it. I would have had this out sooner, but I forgot I never fixed it for 3.7. Finally had time to and figured I'd make it work on 3.8 too. |
Very nice :) thanks
|
Quote:
|
Very interesting. Tagged for future use. :)
|
How safe is this to use.
|
In fact i suggest to NOT USE it.
.htaccess is more and enough secure and i do not see any Reason for a Solution like this. |
hello, this is a great mod and should be part of the core product IMO. i really want to use this but i just tried installing this and i get this error
XML Error: > required at Line 33 i'd mark it "installed" but its technically not installed yet |
Quote:
Quote:
Quote:
|
excellent, working now!
Installed |
Quote:
and what gives you the right to suggest NOT to use it, that is up to the members. |
Just a note: if you get locked out of your admin CP because you have not put any allowed IP addresses, you're screwed.
|
Quote:
*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. |
Great mod ... and a great job perfecting it. :up:
Not installed yet but trying to make up my mind on it. Are there any unforeseen conflicts with this mod https://vborg.vbsupport.ru/showthread.php?t=199683 |
Quote:
|
Quote:
|
i tested this IP block feature for this and works flawlessly! great work and nominated for FOTM
|
Quote:
|
Question: Can, this be used even if you've set a .htpassword on your admincp directory?
So, if I define an IP that can only access the admincp and then I try to logon from another computer, will I be denied access after I successfully input the login details for the .htpassword or before? |
Hello
First of all...great Mod.....congrat. I have a question Is it possible to have this Mod not only with IP grant, but all so with others......like Dyn-dns or NO-IP or something like that? No every Internet User (Admin of a Board ) has a Static IP...........but many work with one of this free tools. Thanks in advance N |
Quote:
|
Quote:
|
When i install these, i have the right side off the acp in there, but the rest is away.
What can i do? |
great work,thanks
|
I have installed this and I can vouch for it working flawlessly! Great Mod! Keep up the great work!:up:
kapii |
what about dynamic IPs? some of my staff are being locked out cause there ISP is changing there IP periodically. how about adding a IP range option?
|
Quote:
Quote:
|
very nice
|
Quote:
many ISPs assign dynamic IPs. so the IP is different every time you access the net. so one day this mod works for someone, and the next it dont. if you have a range feature, this would make this feature so much better. the way this mod is designed right now, will only work if you have a static IP. if you add a range feature for example... 123.456.78.x or 123.456.xx.x that would be so much more useful |
1 Attachment(s)
Quote:
Since I do not have a dynamic IP address you will have to test this out for me. I believe all is in working order. |
Sorry but i couldn't change this
header('Location: ../index.php'); //change according to your site setup how can i set it ot just leave it ? because when i put my ip i got an error |
Quote:
header('Location: ../index.php'); Is the redirection location which would have nothing to do with the configuration of the IP. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
*If you end up locking youself out use the "Locked Out" package found in the attachments.
What attachments? |
You can rename the ACP Folder into what ever you like, without braking the functions.
After that protect your renamed ACP Folder with htaccess. Finally use the kx_renameconfig hack you can find here on vB.org as well and your ACP is much more safer then before :) |
Quote:
|
All times are GMT. The time now is 04:53 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:
|