Announcement

Collapse
No announcement yet.

turn off sidebar switch?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] turn off sidebar switch?

    Is there a way to keep users from closing the sidebar? I would like to use it to run some advertisers but it's useless if the members or guests can close it at their own will.


  • #2
    No. I suppose you can edit the template.
    ...steven
    www.318ti.org (vB3.8) | www.nccbmwcca.org (vB4.2)
    bmwcca.org/forum | m135i.net
    "I tried to clean this up but this thread is beyond redemption." - Steve Machol

    Comment


    • #3
      As Steven said, you can probably just edit the template to take out the button.

      Please don't PM or VM me for support - I only help out in the threads.
      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
      Want help modifying your vbulletin forum? Head on over to vbulletin.org
      If I post CSS and you don't know where it goes, throw it into the additional.css template.

      W3Schools <- awesome site for html/css help

      Comment


      • #4
        Originally posted by steven s View Post
        No. I suppose you can edit the template.
        Well I guess that's one more reason I can wait on vB Advanced.

        Comment


        • #5
          one thing I did in one of the RC's was created a blank 1px by 1px image and saved it over the button image, that way it is nearly impossible to click on the button.

          Comment


          • #6
            The sidebar not being closable is really making it not a sidebar per-se, and just a right column. You can either do this yourself, or remove the close button in the template. It isn't a 'no' to your question, it's just the way to do it.

            Comment


            • #7
              in order to remove the button, you can simply add this CSS code to your style sheet (to vbulletin.css file)
              Code:
              #sidebar_button_link {display:none;}

              Comment


              • #8
                in order to remove the collapse button, you can simply add this CSS code to your style sheet (to vbulletin.css file)

                Code:
                #collapse_block_html_3 {display:none;}
                thanks to Winstone for the idea

                Comment


                • #9
                  Originally posted by Winstone View Post
                  in order to remove the button, you can simply add this CSS code to your style sheet (to vbulletin.css file)
                  Code:
                  #sidebar_button_link {display:none;}
                  this is a clean fix to hide the button, but creates one problem... if a user had the sidebar collapsed before you hide the button, they cannot reopen the sidebar and are left with a blank column. how do we force the sidebar to reopen (be open) for all users?

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...
                  X