The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
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.
|
#12
|
||||
|
||||
![]() Quote:
Template name: vbcms_widget_static_page_ts Template contents: Code:
<div class="teamspeakwidget"> <div class="cms_widget"> <div class="block"> <div class="cms_widget_header"> <h3><img src="{vb:stylevar imgdir_siteicons}/html.png" alt="" /> {vb:raw widget_title}</h3> </div> <div class="cms_widget_content widget_content"> {vb:raw static_html} </div> </div> </div> </div> Code:
.teampseakwidget { /* Do nothing but retain class */ } 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. |
#13
|
|||
|
|||
![]()
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. |
#14
|
|||
|
|||
![]()
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. |
#15
|
|||
|
|||
![]()
Yep, just one more thing to maintain.
![]() |
#16
|
|||
|
|||
![]()
It's time now to actually start focusing on content and seo. Although that is not a priority for someone like myself that does this as a hobby.
I'll keep the other styles just not viewable by guests. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|