![]() |
I need this itsy-bitsy-(not spider), but hack please :D
Ok, its not really even a hack. Its just a code to put on the forum homepage that decides weather your a admin, and if so, give a link to the admin CP. And if your a mod, give a link to the mod CP. I would really appreciate this. Thanx alot.
|
open root/global.php
Find: PHP Code:
PHP Code:
Satan |
You can also add the code there for global.php in the phpinclude template so its not lost during upgrades ;)
|
I was just about to say that - most of the time, if it's for permissions, put the code in the phpinclude template - much easier, and no need to hack.
|
Yeh...
I prefer the global.php way personally;) Satan |
Ok, thaxn for replying so quick.. Thats why I love this board :p
|
Lol...Your welcome:)
You reminded me actually to update my phpinclude template, and put all the extra stuff into global.php:) Satan |
i'd advice you to install logicians dynamic templates hack
with conditional templates those things are much easier |
And when vB3 comes out with conditional templates, all this hacking will be unnecessary! :)
|
I wouldnt say unnecessary;)
@Xenon - After a mishap earlier today with Logician's Advanced Templates Hack, I decided against using it for a while;) Satan |
All times are GMT. The time now is 08:03 AM. |
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:
|