vb.org Archive

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

emp1re 03-05-2010 09:49 AM

Disable collapsible sidebar
 
Hello.

Just wondering if its possible to disable the function of collapsible sidebar. ?

I prefer the sidebar always shown and do not give the users the opportunity to collapse it.
Even better would be to set it by usergroups.
i.e Guest or registered users cannot collapse the sidebar but premium members of the forum can collaps it.

Anyone an idea about that ?

Videx 03-05-2010 11:06 PM

I don't know, but I know that when I use a slower connection, I really need to collapse that thing.

emp1re 03-06-2010 03:58 PM

Quote:

Originally Posted by Videx (Post 1998097)
I don't know, but I know that when I use a slower connection, I really need to collapse that thing.

Thats not important right now.. for now i like to know if there is a way to disable it.

Videx 03-06-2010 04:35 PM

Try searching at vb.com, which leads you to a solution here.

emp1re 03-07-2010 04:11 PM

It leads me to another solution.. That topic is how to disable the forums to be collapsible..
I like the sidebar not to be collapsible.

--------------- Added [DATE]1268069674[/DATE] at [TIME]1268069674[/TIME] ---------------

Fixed...

in the forumhome template i removed :

<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="" />

That did the trick....

borbole 05-08-2010 01:38 PM

Quote:

Originally Posted by emp1re (Post 1999203)
It leads me to another solution.. That topic is how to disable the forums to be collapsible..
I like the sidebar not to be collapsible.

--------------- Added [DATE]1268069674[/DATE] at [TIME]1268069674[/TIME] ---------------

Fixed...

in the forumhome template i removed :

<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="" />

That did the trick....


You should remove the entire block of code cos the way you have it now is not right, coding-wise.

How to do that, have a look at my post here:

https://vborg.vbsupport.ru/showpost....57&postcount=2

Xencored 05-09-2010 11:06 PM

Quote:

Originally Posted by borbole (Post 2033747)
You should remove the entire block of code cos the way you have it now is not right, coding-wise.

How to do that, have a look at my post here:

https://vborg.vbsupport.ru/showpost....57&postcount=2

Any ideas on making it not collapse up also?

borbole 05-10-2010 02:08 PM

Quote:

Originally Posted by Animemike (Post 2034323)
Any ideas on making it not collapse up also?

I am sorry I didn''t understand what you meant? Can you please be a bit more specific?

Xencored 05-10-2010 09:20 PM

Quote:

Originally Posted by borbole (Post 2034557)
I am sorry I didn''t understand what you meant? Can you please be a bit more specific?

Thank you for the code that removes the side button that collapses the entire sidebar. What I am looking for now, however, is the code that will remove the button/image that collapses the individual box sections

Thanks

http://www.myanimeisland.com/nonesiteimages/button.png

Xencored 05-12-2010 01:02 PM

Guess it cant be done hehe

Thanks for the other one anyway


All times are GMT. The time now is 10:42 AM.

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.01287 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete