vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Cel Forum Sidebar: enable sidebar for IE 6, disable collapsing (https://vborg.vbsupport.ru/showthread.php?t=247361)

cellarius 07-26-2010 10:00 PM

Cel Forum Sidebar: enable sidebar for IE 6, disable collapsing
 
1 Attachment(s)
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 click install! ###
(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

Quote:

Originally Posted by Floris (Post 2075010)
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

Quote:

Originally Posted by Floris (Post 2075010)
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
PHP Code:

require_once(DIR '/includes/class_block.php'); 

above
PHP Code:

$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.


All times are GMT. The time now is 06:16 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01179 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete