Back to vBulletin 4.x Add-ons

Cel Forum Sidebar: enable sidebar for IE 6, disable collapsing
Mod Version: 4.0.001, by cellarius

vB Version: 4.0.5 Rating: (1 vote - 5.00 average) Installs: 15
Released: 27 Jul 2010 Last Update: 27 Jul 2010 Downloads: 74
Not Supported Uses Plugins Template Edits Auto-Template Translations  

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?
  • Lets you choose to disable the collapse feature of the Forum Sidebar.
  • Can enable Forum Sidebar for IE 6
How to install it (2 easy steps)?
  • Step 1: Do the template edits given below (if you're using TMS, skip this step!)
  • Step 2: upload product file
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

File Type: %1$s 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

vblts.ru supports vBulletin®, 2022-2024