![]() |
Just assign a class to it, in the dark styles, have the class be a dark background, in the light styles, a light background, this is html/css 100.
|
Quote:
Template name: vbcms_widget_static_page_ts Template contents: Code:
<div class="teamspeakwidget"> Code:
.teampseakwidget { Now create a new plugin: AdminCP > Plugins & Products > Add New Plugin Product: vBulletin Hook location: parse_templates Title: Hide Teamspeak Widget per style Execution Order: 5 PHP Code:
Now go back to the widgets in admincp, on your teamspeak widget change the template name being used to vbcms_widget_static_page_ts and save, now the widget should use this template and it will show in all styles except the one you excluded within the plugin. |
Thanks for all this ....
I did this 3 times and double checked your instructions. This removes the Teamspeak widget in all styles. I made sure to change the 99 to the style id I did NOT want this widget to show on. I'm in no hurry whatsoever so don't sweat it. It all looks as if it should work, but it just don't :( BTW, I gave your status back in case you want to check it out for yourself. The info is in that pm I sent you the other day. |
UPDATE:
I've come up with a happy median for both light and dark styles. --------------------------------------------------------------- Been sitting here having a cup of coffee and thinking about ..................... I'm done with having multiple styles. I'm going with the Avenger style. |
Yep, just one more thing to maintain. :)
|
Quote:
I'll keep the other styles just not viewable by guests. |
All times are GMT. The time now is 04:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|