The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hide Child/Parent Style Relationship in Style Quick Chooser?
On my forum I have a few styles that are child styles of others. Is there a way to make it so that the parent/child hierarchy doesn't show up in the quick style chooser? I want all styles to show up flat without any hierarchy at all.
Currently: -Default ---Default Red ---Default Green -Widescreen ---Widescreen Green What I'd like: -Default -Default Red -Default Green -Widescreen -Widescreen Green Thank you! |
#2
|
|||
|
|||
You could try creating a plugin using hook parse_templates and code like this, :
Code:
But this won't change the list of styles that the user sees when they choose a default in the profile (and it might not work for mobile devices). To change it everywhere, you would need to modify the code. |
Благодарность от: | ||
RedTurtle |
#3
|
||||
|
||||
Quote:
Thank you! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|