View Full Version : Disable collapsible sidebar
emp1re
03-05-2010, 09:49 AM
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
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. (http://www.vbulletin.com/forum/showthread.php?298924-I-need-help-to-remove-the-collapse-button&highlight=disable+collapse)
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 1268069674 at 1268069674 ---------------
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
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 1268069674 at 1268069674 ---------------
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.php?p=2033357&postcount=2
Xencored
05-09-2010, 11:06 PM
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.php?p=2033357&postcount=2
Any ideas on making it not collapse up also?
borbole
05-10-2010, 02:08 PM
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
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
borbole
05-12-2010, 06:17 PM
Guess it cant be done hehe
Thanks for the other one anyway
Sorry for the delay but I have been/am very busy. Sure it can be done. As a matter of fact it is very easy but in meanwhile, did you try to search how to do it yourself first?
spacemanspiff79
05-17-2010, 11:04 PM
I am looking for removing the "collapse block" feature as well. I tried looking at the stylevars but had no luck.
borbole
05-18-2010, 02:11 PM
I am looking for removing the "collapse block" feature as well. I tried looking at the stylevars but had no luck.
Go the appropriate block template, find the <a class="collapse" part as in the example below (from the new posts block) and either remove it or comment it out.
<a class="collapse" id="collapse_block_newposts_{vb:raw blockinfo.blockid}" href="{vb:raw relpath}#top"><img alt="" src="{vb:stylevar imgdir_button}/collapse_40b.png" id="collapseimg_newposts_{vb:raw blockinfo.blockid}"/></a>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.