forum block manager - disable hide-buttons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • karlm
    Senior Member
    • Jun 2006
    • 826
    • 5.3.x

    [Forum] forum block manager - disable hide-buttons

    On the forum block manager, I cannot find a method to stop people from hiding the blocks... whereas on other CMPS used in the past, I could.

    Is this a feature not available on the FBM for VB - if not, it really should be as some will be using this as advertising space (such as myself).
    Attached Files
    VB 5.4.1 - PHP 7..2.4 - MySQL 5.5.56
    No Addons - none at all.
  • karlm
    Senior Member
    • Jun 2006
    • 826
    • 5.3.x

    #2
    -bump-
    VB 5.4.1 - PHP 7..2.4 - MySQL 5.5.56
    No Addons - none at all.

    Comment

    • karlm
      Senior Member
      • Jun 2006
      • 826
      • 5.3.x

      #3
      -rebump-
      VB 5.4.1 - PHP 7..2.4 - MySQL 5.5.56
      No Addons - none at all.

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        This has actually been asked about and answered quite a few times already. No, there is no option to hide the button. You need to either remove it from the template (FORUMHOME template) or use css to hide it.

        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

        • borbole
          Senior Member
          • Feb 2010
          • 3074
          • 4.0.0

          #5
          DO you mean that you don''t want your members to disable the blocks? If so, as stated above from Lynne, delete that button from the FORUMHOME template.

          Find there the following code:

          HTML Code:
          <div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
                  <a id="sidebar_button_link" href="#">
                      <vb:if condition="$show['sidebarposition'] == 'left'">
                      <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>
                  <ul id="sidebar">
                      {vb:raw sidebar}
                  </ul>
              </div>
          and replace it with:


          HTML Code:
          <vb:if condition="$show['member']">
          <div id="sidebar_container">
          <a id="sidebar_button_link" href="#"></a>
                  <ul id="sidebar">
                      {vb:raw sidebar}
                  </ul>
              </div>
          <vb:else />
          <div id="sidebar_container"<vb:if condition="$show['sidebarposition'] == 'left'"> class="sidebarleft"</vb:if>>
                  <a id="sidebar_button_link" href="#">
                      <vb:if condition="$show['sidebarposition'] == 'left'">
                      <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>
                  <ul id="sidebar">
                      {vb:raw sidebar}
                  </ul>
              </div>
          </vb:if>
          This will disable it for all the members. If you want to disable it for a certain group/s, have a look at this article and adjust the template conditional accordingly:



          Hope it helps.

          Comment

          • karlm
            Senior Member
            • Jun 2006
            • 826
            • 5.3.x

            #6
            Thanks both
            VB 5.4.1 - PHP 7..2.4 - MySQL 5.5.56
            No Addons - none at all.

            Comment

            • borbole
              Senior Member
              • Feb 2010
              • 3074
              • 4.0.0

              #7
              You are welcome.

              Comment

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