PDA

View Full Version : Restrict Admin Control Panel Access V1.0


csidlernet
05-02-2003, 10:00 PM
I dunno really what to say for support thread so urm.
yeah i provide support via this thread! any questions etc, post them here..
----------------------------------------------------------------
Restrict Admin Control Panel Access version 1.0
---
cpRestrict v1 allows you to restrict access to certaint administrator functions, this is good if you have more then 1administrator (apart from yourself) and you may have like jr admins or something.
-----------------
Templates to add: 0
templates to edit: 0
File Modifications: 1file edit per each file to be restricted!
-----------------------------------------------------------------------------
Future verisons released, will allow you that when you restrictaccess, you can then give certaint people access!!!
---------------------------------------------------------------
Currently works with:
2.2.7
2.2.8
2.2.9
it should work with 2.3

Boofo
05-02-2003, 11:21 PM
For mutiples, use this:

if (in_array($bbuserinfo['userid'], array(1, 2, 3)))

csidlernet
05-02-2003, 11:26 PM
okay. and people just edit 1 2 3 etc with the people you wanan give access user id.

Boofo
05-02-2003, 11:34 PM
Eaxatly. You can do the same thing for usergroupids, too.

Dean C
05-03-2003, 12:42 PM
Such hacks have been released several times. Please search the hacks db in future :)

- miSt

FFArmageddon
05-03-2003, 04:15 PM
so this will not work on 2.2.6?

csidlernet
05-04-2003, 07:11 AM
IT should. just becareful you dont go back further then 2.2.1 . page coding may differ going that far or further back.

Snapperhaed
05-04-2003, 05:43 PM
You can also create a .htaccess file in the admin directory, and create accounts for those who you want to have access.

csidlernet
05-24-2003, 01:55 AM
yeah but then still you want to restrict certaint page access. instead of going into .htaccess for certaint pages. better using something that is intergated into vbulletin. i'm now working on a version that adds a feature to the admin control panel where you can control the user acccesses etc!