The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Additional admin files
Hi, i was just wondering if anybody knows how to make another page, that uses the admin protection (so you have to log in via the admin cp to access the files)?
This is because i want to add a couple of files to the admin directory, but obviously they'll need protecting... (if that makes sense?!) Thanks in advance to anybody that does help! |
#2
|
||||
|
||||
If i understand you correctly. Then add this at the top below
<?php of the file you want protected. PHP Code:
|
#3
|
||||
|
||||
yeah, that works! thanks!!!
|
#4
|
||||
|
||||
YW.. Glad i could help.
|
#5
|
||||
|
||||
you should also use cpheader and cpfooter functions and the adminlog function
just to make em fit into the acp correctly |
#6
|
||||
|
||||
Yes. Thanks xenon.. I forgot about that.
|
#7
|
||||
|
||||
Quote:
Thanks in advance if you help... |
#8
|
||||
|
||||
just add adminlog(); below cpheader is enough normally
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|