vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Disable Sidebar Tab (https://vborg.vbsupport.ru/showthread.php?t=327644)

alfuzzy 11-12-2019 09:26 AM

Disable Sidebar Tab
 
With the Forum Blocks Manager in the Admincp you can set up Sidebar blocks on the forum home page.

On the Sidebar there is a tab that allows the user to open/close the sidebar. I would prefer that the sidebar stay visible (not closable). Does anyone know how to disable this sidebar tab so the sidebar remains open?

Thank you.

Seven Skins 11-12-2019 04:15 PM

This should take care of it.

#sidebar_button_link { display: none; }

Please note if someone has the sidebar closed they will have no way to open it.

alfuzzy 11-13-2019 01:27 AM

Quote:

Originally Posted by Seven Skins (Post 2601199)
This should take care of it.

#sidebar_button_link { display: none; }

Please note if someone has the sidebar closed they will have no way to open it.

Ooh darn...I was hoping it would default to open. Anyway to do this first...before disabling the sidebar tab/button?

Thanks very much Seven Skins!:)

p.s. Do you know which template the sidebar button code should go into? Thanks

Seven Skins 11-13-2019 03:02 PM

Code should go into additional.css template

You can log everyone out by changing cookie prefix in config.php and when they log in again they will have the bar open and tab missing. (I think) … add the code before changing cookie prefix.

alfuzzy 11-14-2019 01:45 AM

Thank you sir...will give this a try ASAP.:)


All times are GMT. The time now is 09:01 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.01019 seconds
  • Memory Usage 1,713KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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