Log in

View Full Version : Forum Home Enhancements - Cel Forum Sidebar: enable sidebar for IE 6, disable collapsing


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)

cellarius
07-26-2010, 11:17 PM
Reserved.

Floris
07-26-2010, 11:33 PM
Good job :D

slinky
07-26-2010, 11:38 PM
Good job :D

I should have known you'd be the first here to bow down in praise. LOL. Just kidding. Nice work and much appreciated.:D

cellarius
07-26-2010, 11:53 PM
Good job :D
Thanks, Floris :)

Sal Collaziano
07-28-2010, 03:09 PM
All we need now is the ability to display the sidebar across all forum pages instead of just forumhome...

Front Range
07-28-2010, 11:45 PM
Very nice, thank you!

One thing I noticed is that there's no config for cndgarage otherwise very useful.

Installed - Rated - Nominated

Sal Collaziano
07-31-2010, 06:42 AM
In regards to disabling collapsing, I find it only works on the forum homepage. When you have the "Everywhere Sidebar" mod installed, this one doesn't cover the collapse button on those pages.. Does anyone have an idea on how to get that working?

cellarius
07-31-2010, 07:26 AM
But enabling for IE6 works? I should be quite surprised, since my mod only is executed on forumhome. Sorry, I have not looked at that other mod, so I don't know how it works and whether it could be made to collaborate with mine.

TheLastSuperman
09-14-2010, 12:27 AM
Simple and effective, thanks :D

derandechser
01-05-2011, 11:08 PM
Hi,

i always get a white page when this mod is enabed and it says:

Fatal error: Class 'vB_BlockManager' not found in...blabla

What could it be?

Greetings and thanks for this helpful mod,
Peter

derandechser
01-07-2011, 08:47 AM
Hi,
anybody a solution for the problem above?

ampersand83
01-27-2012, 03:30 PM
Hey,

just open the plugin declaration in your vBulletin installation and insert require_once(DIR . '/includes/class_block.php'); above $blockmanager = vB_BlockManager::create($vbulletin);. This loads the missing class and everything works fine again.
I don't know what caused the error but somehow this class must have been loaded at someplace else in a former VB version.

Cheers,

Stefan

lillylissy
04-04-2012, 01:13 PM
*post deleted*

sapgaurav
09-13-2012, 06:56 AM
My forum is for HTML Help, many user face isseu in html code and post on my forum but my forum convert all html code to live privew data, how we can display html codes in thread.

also i am using rss aggergate to crawl a technical forum rss feed, we crawl rss feed from thre and then store but all html codes converted into live privew

For example i have following code

<a href="#">This is Test</a>

Now in my site this code convert in This is Test and Link to #

I want to display as its html code

cellarius
09-13-2012, 07:07 AM
Your question has nothing to do with this modification. Please open your own thread in an appropriate forum.

setishock
01-25-2016, 12:45 PM
Will this work in 4.2.3?

cellarius
01-25-2016, 12:57 PM
You'll have to try. Most likely will.