vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do i disable forum collapse & sidebar collapse features. (https://vborg.vbsupport.ru/showthread.php?t=284522)

Jakub03 06-16-2012 07:04 PM

How do i disable forum collapse & sidebar collapse features.
 
How do i disable the option to collapse the forums & the individual side bar blocks?

http://www.mypokerhub.com/forum.php

kh99 06-17-2012 12:28 AM

Edit the FORUMHOME template. Near the bottom, find this block:


Code:

                <a id="sidebar_button_link" href="#">
                        <vb:if condition="$show['sidebarposition'] == 'left'">
                        <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded-left.png<vb:else />tab-collapsed-left.png</vb:if>" alt="" />
                        <vb:else />
                        <img id="sidebar_button" src="{vb:stylevar imgdir_misc}/<vb:if condition="$close_sidebar">tab-expanded.png<vb:else />tab-collapsed.png</vb:if>" alt="" />
                        </vb:if>
                </a>



and either delete it or surround it with <vb:comment> ... </vb:comment>. This takes away the control, but I think if someone already has the sidebar collapsed it will still be hidden. I'm not sure if that can be fixed by editing a template - you may need a plugin for that.

Jakub03 06-17-2012 01:05 AM

Is this to disable the ability to collapse the forums & the sidebar blocks?

Or just to disable the sidebar button so the whole sidebar can't be collapsed?

I took of the sidebar button by adding
#sidebar_button {display:none;} to additional.css

I need help disabling the option to collapse the forums & individual sidebar blocks

kh99 06-17-2012 01:34 AM

Oops,you're right, I misread your question (and I'm not not sure how since it's clear enough :o)


All times are GMT. The time now is 10:29 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.01142 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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