The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#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. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|