PDA

View Full Version : Make your OWN Admin Controll Pannel


pyro.699
03-05-2006, 01:00 AM
Now, before youthink, i want to add apage to the current admincp directory, i already know how (heres a link ( https://vborg.vbsupport.ru/showthread.php?t=83122)) I want to make an entirely new Controll pannel, with just the links that i need, and would like to manage... so there would be no style editor, no Plugins... just the ones that i want! I don know this ispossible, because my good friend AJ has done it! and it looks awesome! i though, maby i could do it ^^; Thanks alot!
-Cody Woolaver

pyro.699
03-06-2006, 11:59 PM
Any help would be appreacheted..... I need this quite badly [not badly enough to pay though]

Marco van Herwaarden
03-07-2006, 07:00 AM
Hmm maybe ask AJ then. :D

Paul M
03-07-2006, 07:19 AM
You could ;

1. Edit your permissions to only show those you want.

2. Edit cpnav_vbulletin.xml to remove those options you don't want.

pyro.699
03-07-2006, 07:29 PM
i asked aj, he said

Aj: recreate admincp
Aj: thats my tip


aj, likes for me to figure things out on my own... and im quite bad at it... lol

Adrian Schneider
03-10-2006, 04:34 AM
I don't see how figuring it out on your own includes asking someone else. :p

Anyway, I made a new folder for the new CP, and put the admincp global.php and index.php in it. Begin tweaking.

I think I actually hardcoded the XML parser for the navigation to just read one file, or something like that.

The biggest problem was with the logins, you'll have to create a new login method (for lack of a better term), and specify that in your login form. You'll also have to add a new case in one of the login hooks (check login.php). Make sure you do your own security check and set $checkpwd = 1; if they don't meet it.

I'm still not sure if I did the login session stuff correctly (or did at all, I don't remember), but it was definitely something I am still iffy about. Anyway, you'll figure it out, just might take a lot of tweaking.