turn off sidebar switch?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RaceJunkie
    Senior Member
    • Jun 2005
    • 292
    • 3.8.x

    [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.

  • steven s
    Senior Member
    • Jul 2004
    • 3722
    • 3.8.x

    #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

    • Lynne
      Former vBulletin Support
      • Oct 2004
      • 26255

      #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

      • RaceJunkie
        Senior Member
        • Jun 2005
        • 292
        • 3.8.x

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

        Comment

        • jberetta
          Member
          • Oct 2009
          • 73

          #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

          • user02934123123
            Senior Member
            • Apr 2006
            • 306
            • 4.1.x

            #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

            • Winstone
              Member
              • Dec 2006
              • 63
              • 3.8.x

              #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

              • thinkfast
                New Member
                • Feb 2010
                • 14
                • 4.0.0

                #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

                • Taurus MFF
                  New Member
                  • Feb 2010
                  • 20
                  • 4.0.0

                  #9
                  Originally posted by Winstone
                  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...