The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm sorry if this has been asked but how do we group template with the same prefix in vbulletin 3.5 ?
I just don't want to edit adminfuctions_template.php anymore. thanks in advance |
#2
|
||||
|
||||
![]()
template_groups
Code:
$only['prefix'] = 'Prefix'; |
#3
|
||||
|
||||
![]()
Thanks Kirby ! you are really helpful.
|
#4
|
|||
|
|||
![]()
What does that mean actually ? I have heard about grouping before but still have no clue what it means .. Does it mean you have one big table rather than 20 or something ?
|
#5
|
||||
|
||||
![]()
this does nothing with the database, it only group templates with the same prefix to one group when editing templates
|
#6
|
||||
|
||||
![]() Quote:
Click on "Add new plugin", choose "template_groups" as hook location and enter Code:
$only['xxxxx_'] = 'YYY'; This will collect all templates which titles start with "xxxxx_" in one group called "YYY" in the template manager. Important: I typed small x's, because you MUST use small letters, AFAIR, even if the prefix contains capital letters! |
#7
|
|||
|
|||
![]()
I'm following the instructions but my templates aren't being grouped under a collapsable group. Any suggestions?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|