Cel Forum Sidebar: enable sidebar for IE 6, disable collapsing
You may not even have noticed, but the forum sidebar does not work for IE6 at all in vB4.0.x. This, obviously, is bad for ad revenue, or if you offer important or convenient information there. Second, if you show ads on a per view basis, you may get problems if you allow collapsing: The ad is actually fully loaded, but then hidden from the view of the user.
What does this mod do?
Code:
Template edits: Template FORUMHOME, search for -------------------------------------------------------------------------------- <vb:if condition="$show['sidebar']"> <script type="text/javascript" src="{vb:stylevar yuipath}/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script> -------------------------------------------------------------------------------- replace with -------------------------------------------------------------------------------- <vb:if condition="$show['sidebar'] AND $show['cel_sidebar']"> <script type="text/javascript" src="{vb:stylevar yuipath}/animation/animation-min.js?v={vb:raw vboptions.simpleversion}"></script> -------------------------------------------------------------------------------- Template FORUMHOME, search for -------------------------------------------------------------------------------- <a id="sidebar_button_link" href="#"> <vb:if condition="$show['sidebarposition'] == 'left'"> <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" /> <vb:else /> <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" /> </vb:if> </a> -------------------------------------------------------------------------------- replace with -------------------------------------------------------------------------------- <vb:if condition="$show['cel_sidebar']"> <a id="sidebar_button_link" href="#"> <vb:if condition="$show['sidebarposition'] == 'left'"> <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed-left.png" alt="" /> <vb:else /> <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/tab-collapsed.png" alt="" /> </vb:if> </a> </vb:if> -------------------------------------------------------------------------------- Configuration The two settings for this mod can be found at: AdminCP->Settings->Options->Forum Sidebar and Block Options Enable for IE6: yes/no Allow collapsing: yes/no Please note: I do not support any styling or functionality issues the sidebar may have or cause in IE6. ### Don't forget to ! ### (No support if you don't) Download
cel_sidebar_mod_4-0-001.zip (1.7 KB, 84 downloads) |
Similar Mods
Miscellaneous Hacks Cel Forum Leaders - show only primary usergroups on showgroups.php | vBulletin 4.x Add-ons |