The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
AdminCP Access Details »» | |||||||||||||||||||||||||||
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.
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']){ $valid_ips = explode("|", $vbulletin->options['allowedips']); if (!in_array($_SERVER['REMOTE_ADDR'],$valid_ips)) { header('Location: ../index.php'); //change according to your site setup exit(); } } //allowed usergroups if ($vbulletin->options['allowgroups_enabled']){ $valid_ids = explode("|", $vbulletin->options['allowedgroups']); if (!in_array($vbulletin->userinfo['usergroupid'], $valid_ids)) { header('Location: ../index.php'); //change according to your site setup exit(); } } //allowed user ids if ($vbulletin->options['allowids_enabled']){ $valid_ids = explode("|", $vbulletin->options['allowedids']); if (!in_array($vbulletin->userinfo['userid'], $valid_ids)) { header('Location: ../index.php'); //change according to your site setup exit(); } } 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. 3.0 - Made some minor changes to code. 4.0 - Now supports 3.8.x. 4.1 - Fixed a small coding issue. Download Now
Show Your Support
|
Comments |
#32
|
|||
|
|||
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. |
#33
|
|||
|
|||
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 |
#34
|
|||
|
|||
Quote:
header('Location: ../index.php'); Is the redirection location which would have nothing to do with the configuration of the IP. |
#35
|
|||
|
|||
wow thanks! i will test this out next week
|
#36
|
|||
|
|||
Let me know how it goes.
|
#37
|
||||
|
||||
Or if your IP has changed and you not know it, like a Modem reboot. I am sure this Mod does what it says, but at times you can be 100% locked out and have a hard way to fix it.
|
#38
|
|||
|
|||
No... If you locked yourself out read the readme on how to unlock.
|
#39
|
||||
|
||||
*If you end up locking youself out use the "Locked Out" package found in the attachments.
What attachments? |
#40
|
|||
|
|||
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 |
#41
|
|||
|
|||
The file is in the zip. My fault.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|