The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Removing VB4 Sidebar's minimize button
Hi,
I want to keep the sidebar on the forum permanent and do not want the users to minimize it. Is there a way to remove that button to do so? Also, how can I make the sidebar to appear on all pages? |
#2
|
|||
|
|||
To remove collapse, remove this from FORUMHOME:
HTML Code:
<a id="sidebar_button_link" href="#"> <vb:if condition="$vboptions['sidebarposition'] == 0"> <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="" /> </vb:if> </a> |
#3
|
|||
|
|||
To show on all the pages,
https://vborg.vbsupport.ru/showthread.php?t=233871 btw your remove sidebar minimize..did work on the forum homepage, but its showing up on all the other pages if you are using the mod above. |
#4
|
|||
|
|||
Dont change any other template...
Just add the following in "headinclude" template Quote:
|
#5
|
|||
|
|||
just remember something if you remove the collapse button...
anyone who had it closed before you removed the button will not be able to reopen the sidebar. the cookie that stores the user's open/closed preference is valid for about one year. the user will have to delete the cookie or you will need to figure out a way to force the sidebar open regardless of the cookie value. |
#6
|
|||
|
|||
Ok, here is the skinny on this, or I am missing something.
When I delete the code as above from ct2k7 then the collapse goes when the block is on general forum view but as soon as you browse another level then it re appears. The other code offered by anupam_luv, I simply cannot make work at all, so maybe I am missing something. Any help would be appreciated. |
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
Quote:
Any clues? |
#9
|
||||
|
||||
Removing that code posted above from the FORUMEHOME template would have hidden the minimize button for the sidebar.
Anyway, try to add the following code to your additional.css template and see if it would help. Code:
#sidebar_button_link { display:none; } |
#10
|
|||
|
|||
That worked for me
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|