PDA

View Full Version : Admin Panel


Adrian Schneider
05-04-2005, 01:51 AM
Could someone point me in the direction on how to create an admin panel page? Or a short tutorial for a basic one with only 2-3 basic options. I couldn't find any. :(

Zachery
05-04-2005, 02:54 AM
Just add new options to to the vBulletin Options

You can do this in debug mode

Adrian Schneider
05-04-2005, 02:55 AM
How do I get to debug mode?

Paul M
05-04-2005, 03:41 AM
How do I get to debug mode?It's tempting to say RTFM ;)

but ....

add

$debug = 1;

to your config.php

:)

Adrian Schneider
05-04-2005, 03:50 AM
You kinda did though in a way. :)

** Reads his vBulletin for dummies book... (and adds $debug = 1; )

deathemperor
05-04-2005, 04:44 AM
but what is the debug mode used for ?...

Paul M
05-04-2005, 05:00 AM
debugging ?

Dionysis
05-04-2005, 06:56 AM
"but what is the debug mode used for ?..."

pretty much 'debugging' yea. but, it occasionally throws in a few extra queries to tell you what is going on and you can use a dropdown menu to figure out the existing queries on the page, etc. Also, when programming you can throw in your own 'test' stuff in the debug function so you know what's going on in the background, but others won't.

as far as making a new admin page...

what do you want to do exactly? add an option to an existing drodown list on the LHS? hrm, i forget since mine are all hacked ^_^. to create a new admincp page, take a look at some of the existing ones like template.php. pretty much standard stuff, just need the link w/ on the LHS to go to it. do some digging.