The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Templating Grouping/Enhanced Management Details »» | |||||||||||||||||||||||||||
Templating Grouping/Enhanced Management
Developer Last Online: Dec 2022
NOTE: This hack involves the modification of your template admin files. You may want to backup any files involved in this hack to guard against any major problems. Alright, on with the hack.
What's it do? Ya know those template groups you see when you're modifying templates? The ones with titles like "Calendar templates" or "Forum Display templates" that reveal the templates they contain when you click on the "[expand]" link next to them? Well, this allows you to create, edit, and delete those easily through your admin CP. In addition, it allows you to switch ANY template from standard (like the way the default templates are displayed) to custom, or custom to standard...which means that you can have it placed as a "normal" template, and not under the "Custom template" heading. I've attached an archive containing the files you'll need, and a text file containing the instructions. No screenshot is necessary, really, as I think the description tells you all you need to know. Some Specifics First off, if you add a new template group, and it doesn't show up, don't worry: that doesn't mean it isn't working. You need to create a standard, matching template before the group shows up. Here's a quick example (using a hack of mine called vBGlossary very shamelessly. ):
One more quick example: vBulletin comes with 3 Avatar-related templates. I believe they are avatar. avatars, and avatarbit. Creating a template group called "Avatars" with a "Group Text" value of "avatar" will place these three templates in their own group. No switching is necessary, because they come standard with vBulletin...which means they're already standard templates. Potential Cause For Confusion It's not really a bug, because I think it's unavoidable: if you have a standard template, and you edit it, thus creating two templates (your current one, and the default template, which you can, of course, revert to or view as needed), switching it to standard will have BOTH templates show up under the custom heading...two, instead of one. This hack has been tested by several others, but due to its specific nature, and the files and such involved, it is HIGHLY recommended that you backup the /admin/template.php file before proceeding with installation. I hope this isn't too confusing. Enough talk: enjoy the hack! Show Your Support
|
Comments |
#22
|
||||
|
||||
Any suggestions as to how to get this working with NanoEntity's Template Mod hack, as that hack changed around a lot of the code this hack needs to edit.
|
#23
|
||||
|
||||
can this hack also group templates that end with a specific word?
Example: test_buddy buddy_test2 is in one group? So it put all templates together which have buddy in its name? |
#24
|
||||
|
||||
The Add category isn't working for me at all. Granted, it does add the category, but it doesn't put any templates matching the text into the category.
Case in point, the glossary templates. I created the vBGlossary category and set the Group Text to glossary, but the glossary templates are still at the top under Custom Templates. Ditto for vBQuiz - created vBQuiz category with quiz as Group Text, but the quiz templates are still at the top. Help!!! |
#25
|
||||
|
||||
This Hack is the bomb!!
Works like a charm on 2.2.9 Thank u so much TWT!! [high]* Kars10 klicks install!![/high] |
#26
|
||||
|
||||
Works
But You need to Create the "group", then the templates will group into their proper group. Also any previous custom templates will need to be "switched" in order to be grouped - this IMHO is VERY time consuming, so how about something which let's you select the templates, then switch them all at once? |
#27
|
||||
|
||||
I'd like to install this hack but not if I'm going to lose my templates the next time I upgrade. Is there an answer to the upgrade issue yet?
|
#28
|
||||
|
||||
well this decided 2 ungroup my templates setup all the categories but they not working very well
|
#29
|
||||
|
||||
ignore fixed need mass switch function or have it when u create template groups it takes templates from custom aswell
|
#30
|
||||
|
||||
Yet another brilliant hack i missed before the beginning of time
- miSt |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|