![]() |
Admin CP
what code do i need to use so its liek the admin cp.
I was going to put the link in the left frame and then i wanted the page in the right frame to be protected so that admin must be logged in. Help is appreciated :bunny: |
...Huh?
|
I want to add a file to the admin directory lets just say test.php
Then when you lgointo the admin cp the link on the left will be test and when you click it itll change the right frame to the test.php How do i protect this test.php so that only admins can access it like a normal admin cp page? |
cpheader() function has to be used :)
|
But do i have to include a file or somthing? cause that function wont be coded unless i include somthing or a nother.
|
well, as on every file you want to include with vb, you have to require global.php...
|
All times are GMT. The time now is 10: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:
|