Version: 1.0.1, by dartho
Developer Last Online: Oct 2023
Category: Forum Display Enhancements -
Version: 3.7.1
Rating:
Released: 06-21-2008
Last Update: 06-23-2008
Installs: 50
Supported Uses Plugins
A simple plugin which will allow you to hide a specified user selectable style from the Quick Style Chooser which appears at the bottom of every page in vBulletin whilst still allowing the style to be used.
Instructions: 0. If you made modifications to your 'options' template as per previous instructions, you will need to revert the template
1. Import attached plugin via "Products and Plugins"," Download/Upload Plugin"
2. Go into the plugin manager and edit the "Hide Style From Style Chooser" plugin
3. Change the 'x' in '$mo37_hidden_styleid = x' to be the StyleID of the style you wish to hide
4. Set the plugin status to be active
5. Save
The style is now hidden, but still usable by you users.
To disable/uninstall, set the plugin status to not be active or delete the plugin.
If you use the add-on that extends my mobile style, you will not need to do this as it is (soon will be) an option as of version 0.0.3.
See this post for a plugin which hides the chooser in usercp options.
All posts in this thread up to post #9 were in reference to the original way I thought of doing this. I have kept the original contents of this template modification below for reference
**** FOLLOWING INFORMATION KEPT FOR REFERENCE ONLY ****
Quote:
Originally Posted by dartho
If you have multiple styles installed but wish to 'hide' some from users while still be able to use them you can use this template modification to hide particular styles form the quick chooser:
Edit your 'options' template - the original should look like this:
Is there anyway so that the style is also hidden from the Forum Skin drop down list in the User CP and not just the Quick Style Chooser?
Made a plugin that does just this. It uses the same variable ($mo37_hidden_styleid) to hide the style, and is inactive by default.
So assuming you're already using dartho's plugin and it is working just upload this one and set it active and the same style will be hidden in the User CP as well.
I just went to -vb options-Style & Language Settings- and unchecked the ability to change styles. In the 2 styles I use I allow user selection. This removes the ability to change styles from the footer and usercp, but it also forces the mobile style with the mobile detection mod.
Made a plugin that does just this. It uses the same variable ($mo37_hidden_styleid) to hide the style, and is inactive by default.
So assuming you're already using dartho's plugin and it is working just upload this one and set it active and the same style will be hidden in the User CP as well.
What about if you used darthos example a few posts above in order to hide more than one?
When I used this plugin it just eliminated the last style.