The Arcive of vBulletin Modifications Site. |
|
Create Style Groups for Style Chooser Details »»
|
|||||||||||||||||||||||||||
|
Create Style Groups for Style Chooser
Developer Last Online: Oct 2023
If you have a lot of style groups added, it can be hard to organize them in the quick style chooser located in the footer of each page. I wanted to provide a visual break between style groups so I came up with this mini modification. It requires 2 file edits and two new minor templates and a minor query.
Create the following templates: optiongroup_start: HTML Code:
<optgroup label="$optiontitle">
HTML Code:
</optgroup>
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Code:
ALTER TABLE `style` CHANGE `userselect` `userselect` SMALLINT( 5 ) DEFAULT '1' NOT NULL Feel free to modify this to suit your needs. A demo can be see at www.vbulletinmods.com. Just select the style chooser there. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Might want to see about caching thoose templates. Seeing as thats making 2 extra queries on your vbulletinmods.com site.
|
|
#3
|
||||
|
||||
|
All you need to do is add the cached templates
In global.php find PHP Code:
PHP Code:
that should work
|
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
||||
|
||||
|
Rather much editing...
|
|
#6
|
|||
|
|||
|
Quote:
I currently run: vBadvanced vBulletin 3.0.0 gold i keep getting the error: Code:
Parse error: parse error in /home/lurkcorp/public_html/forum/includes/functions.php on line 1864 Fatal error: Call to undefined function: is_browser() in /home/lurkcorp/public_html/forum/global.php on line 59 |
|
#7
|
|||
|
|||
|
A question or two
...Do the skins need to be reinstalled after implementing this? And in order to have categories, I would change Option Group to dark, light, etc...? Sorry for not understanding completely
|
|
#8
|
|||
|
|||
|
ok I've been playing around with this and am clueless
...When I go to upload a new skin, I do see yes/no/option group. If i choose it to be in option group, I get that name on the chooser, but cant choose it. I'm at a loss, how to set a category and then put the correct skins under it. Any help will be greatly appreciated.
|
|
#9
|
|||
|
|||
|
Is there any ideas out there...just a direction to point me in
....I'm ok once i know what i'm doingThanks to all |
|
#10
|
|||
|
|||
|
any ideas out there
|
![]() |
|
|