The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Disable Sidebar for different styles
For example I have a mobile style for my forum. Can I disable the sidebar for that particular style?
Thank you |
#2
|
||||
|
||||
You can write a plugin to disable the sidebar only in that style. I think there is a mod that has the plugin already written, you just need to know the variable to set to false to turn off the sidebar (find the name in the vboptions page where you turn it on/off).
|
#3
|
|||
|
|||
Did you fix this as it would be very handy.....
Cheers Danny |
#4
|
|||
|
|||
Some coder has write the plugin like lynne suggest? I have need to disable the sidebar just for a fixed style.....
|
#5
|
|||
|
|||
You can create a plugin using hook forumhome_start and code like this:
Code:
if (in_array(STYLEID, array(1, 2, 3))) $vbulletin->options['enablesidebar'] = 0; and of course change 1, 2, 3 to whatever list of styles you want to have the sidebar disabled. |
2 благодарности(ей) от: | ||
Lynne, Seven Skins |
#6
|
|||
|
|||
@kh99 i'm triyn now thanks
--------------- Added [DATE]1322821065[/DATE] at [TIME]1322821065[/TIME] --------------- It works like a charm is all that i have searched thanks again |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|