Announcement

Collapse
No announcement yet.

Can Forum Blocks be Disabled in a Style?

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

  • civilwartalk
    replied
    Originally posted by Ferrari27 View Post
    Your last posts are not showing in forumhome, maybe intentional just FYI
    Yes, that is intentional, thanks!

    Leave a comment:


  • Ferrari27
    replied
    Your last posts are not showing in forumhome, maybe intentional just FYI

    Leave a comment:


  • civilwartalk
    replied
    Ah, I got it, just set Forum Sidebar Width to 0, and I also had to replace this

    Code:
      <vb:if condition="$show['sidebar']">
            </div>
        </div>
    
        <div id="sidebar_container"<vb:if condition="$vboptions['sidebarposition'] == 0"> class="sidebarleft"</vb:if>>
            <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>
            <ul id="sidebar">
                {vb:raw sidebar}
            </ul>
        </div>
        </vb:if>
    With This:

    Code:
            </div>
        </div>
    It looks good, did I forget anything?

    Here it is in action: http://civilwartalk.com/forums/forum.php

    Leave a comment:


  • civilwartalk
    replied
    I see that if I remove this from FORUMHOME that I can get rid of it, but the forum is still compressing as if it was still there.

    Code:
      <vb:if condition="$show['sidebar']">
            </div>
        </div>
    
        <div id="sidebar_container"<vb:if condition="$vboptions['sidebarposition'] == 0"> class="sidebarleft"</vb:if>>
            <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>
            <ul id="sidebar">
                {vb:raw sidebar}
            </ul>
        </div>
        </vb:if>
    What else do I edit?

    Leave a comment:


  • civilwartalk
    started a topic [Forum] Can Forum Blocks be Disabled in a Style?

    Can Forum Blocks be Disabled in a Style?

    I've created two styles for my new vB4 installation, the default is 1000px wide, and a second 800px option for users with older systems.

    Can I disable the forum blocks in the 800px style without affecting the 1000px style?

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