View Full Version : How do i disable forum collapse & sidebar collapse features.
Jakub03
06-16-2012, 07:04 PM
How do i disable the option to collapse the forums & the individual side bar blocks?
http://www.mypokerhub.com/forum.php
Edit the FORUMHOME template. Near the bottom, find this block:
<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
Oops,you're right, I misread your question (and I'm not not sure how since it's clear enough :o)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.