![]() |
How to group custom templates?
I'm not sure if this has been ever posted but how do I group custom templates in vBulletin v3.6.4?
I have like 10 custom templates for the Quiz hack which are using "quiz_" as the prefix. I would like to organize it and have its own group just like the others. Any idea how? |
And old thread but I didn't want to open a new one, can anybody help for this?
|
In the plugin make like this:
Hook Location:template_groups PHP Code:
|
It seems this thread is to be resurrected again :D
I have the exact same problem and with the exact same addon and using vb 3.8.4 the plugin: Code:
$only['quiz'] = 'Quiz' // might wanna use a phrase like $vbphrase['quiz_group']; I have about 40 custom templates added by the Quiz mod so can anyone offer advice on how I can group all of these together - thanks! |
|
Thanks HMBeaty - worked perfectly - I guess for this I will have to make an exception to the rule of not editing any of the source files - darn pain remembering what was changed when time comes to update - thanks again!
|
You forgot a ;.
PHP Code:
|
Quote:
That line is missing a semicolon. (Edit: Damn, vB Style posted it first. Grr, should have noticed it quicker. :)) |
Fantastic...thanks guys!
|
All times are GMT. The time now is 02:34 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:
|