View Full Version : How to group custom templates?
Snake
12-21-2006, 09:32 PM
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?
WhaLberg
06-27-2007, 06:51 PM
And old thread but I didn't want to open a new one, can anybody help for this?
Michael Biddle
06-27-2007, 06:54 PM
In the plugin make like this:
Hook Location:template_groups
$only['quiz'] = 'Quiz' // might wanna use a phrase like $vbphrase['quiz_group'];That should do what you want.
Wilfred1
10-06-2009, 01:21 AM
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:
$only['quiz'] = 'Quiz' // might wanna use a phrase like $vbphrase['quiz_group'];
doesn't work - in fact it expands all template groups and they can't be collapsed.
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!
HMBeaty
10-06-2009, 01:25 AM
You could also try this
https://vborg.vbsupport.ru/showthread.php?t=70165&highlight=group
Wilfred1
10-06-2009, 01:49 AM
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!
ForumsMods
10-06-2009, 01:55 AM
You forgot a ;.
$only['quiz'] = 'Quiz';
Link14716
10-06-2009, 02:00 AM
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:
$only['quiz'] = 'Quiz' // might wanna use a phrase like $vbphrase['quiz_group'];
doesn't work - in fact it expands all template groups and they can't be collapsed.
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!
It's always the simplest errors that are the hardest to spot.
That line is missing a semicolon. (Edit: Damn, vB Style posted it first. Grr, should have noticed it quicker. :))
Wilfred1
10-07-2009, 01:07 AM
Fantastic...thanks guys!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.