cellarius
07-26-2010, 10:00 PM
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 6How 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
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 click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=247361)! ###
(No support if you don't)
What does this mod do?
Lets you choose to disable the collapse feature of the Forum Sidebar.
Can enable Forum Sidebar for IE 6How 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
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 click install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=247361)! ###
(No support if you don't)