How to add your own template group
1 Attachment(s)
If you would like to keep your AdminCp Area nice and clean like i do and are looking for a way to group all those custom templates that say arcade_XXXX all over the place, well lets put them in its own group.
Open includes/adminfunctions_template.php Scroll ALL the way to the bottom and you will see the following: PHP Code:
For instance if you installed the arcade hack all there templates say: arcade_blah arcade_blah arcade_blah arcade_blah Then you would add the following above 'aaa' => 'AAA Old Backup': PHP Code:
Now the 'arcade => part means which templates are we going to put in this group. And only the templates that start with arcade. and the $vbphrase['arcade_hack_templates'] part is the name of the catogory/group your templates will be under. So now you should be able to make your own. Hope this is usefull for new hackers! :) You can download the tutorial in a .txt format below. |
Hum... Live_Wire.. this was released months ago.. ;)
|
Well i did a search in the Modification Hints and Tips forum and couldn't find anything.
|
hum.. ya... i know... someone moved it...
|
That's okay, I saved it Live Wire :)
|
Thanks for posting this up Ken - hopefully it'll help a few people :)
|
Thanks everyone, got a few more usefull ones i'll be posting.
|
Well, it wont ever work ;)
PHP Code:
PHP Code:
Plus, vBulletin automatically suffixes the phrases (be they vb'ed or not) with "Templates", so yours would read "Arcade Hack Templates Templates", if you included "Templates" in the vbphrase you add :) |
ahh small typo with the ' opps. fixed.
|
i cant get this to work for me. For some reason.
|
All times are GMT. The time now is 01:12 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|