How To Make Single Column Subforums, List Under Sub-Forum: Forum Display

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    How To Make Single Column Subforums, List Under Sub-Forum: Forum Display

    How To Make Single Column Subforums, List Under Sub-Forum: Phrase

    The following will work for ForumDisplay page

    The out come of this will make it look like the image #2 in attachments
    1. Goto AdminCP -> vBulletin Options -> Forum Listings Display Options
    2. Edit to the following numbers in box provided to the right
      A. Depth of Forums - Forum Home ---3 This should be set at value [ 3 ] so that sub-forum will be viewed under ForumDisplay page, decreasing value will place it in Forumhome index and decreasing it further will result in displaying in Main Catagory Strip instead Forumdisplay page.
      B. Depth of Forums - Forum Display ---1
      C. Depth of Sub-Forums --------------1 The Depth Of the Sub-Forums should be set at value [ 1 ] to keep child forums seperate from the list of parent sub-forums. Increasing this value to greater than [ 1 ] will show child forums, child's child forums to parent forums, for each value above [ 1 ] on Forumdisplay page.
    3. Goto AdminCP ->Styles & Templates -> Style Manager -> Expand «» Forum Home Templates -> forumhome_subforumseparator_nopost & forumhome_subforumseparator_post

      You will find the following in the template--> [ , ] <--without the brackets around it.

      Comment out the comma and add break line Tag:
      Code:
      ,
      and replace it with:
      Code:
      <!-- , --><br />
    Next you can either in step [ A ] remove the phrase Sub-Forums: or in step [ B ] place a space by using a break after the phrase Sub-Forums: .
    1. To make subforums list in under phrase ' Sub-Forum: ' in a single column


      The #2 image in attachments in the end result of edits.


      Goto AdminCP -> Styles & Templates -> Style Manager -> Expand «» Forum Home Templates -> forumhome_forumbit_level1_post & forumhome_forumbit_level2_post

    2. The changes to forumhome_forumbit_level1_post also apply to forumhome_forumbit_level2_post
      Find:
      Code:
          <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
      Add after blue highlighted code this code highlighted in green:
      Code:
          <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">[COLOR=blue]<strong>$vbphrase[subforums]</strong>:[/COLOR][COLOR=#000000][COLOR=seagreen]<br />[/COLOR] $forum[subforums]</div></if> [/COLOR]
      The finish code will look like this:
      Code:
          <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">[COLOR=blue]<strong>$vbphrase[subforums]</strong>:[COLOR=seagreen]<br />[/COLOR] $forum[subforums]</div></if>
      [/COLOR]


    3. To Comment Out phrase ' Sub-Forums: ' from single column

      The #3 image in attachments is the end result.




    Follow steps from 1 to 3 from above, then go on to next step here.

    Goto AdminCP -> Styles & Templates -> Style Manager -> Expand «» Forum Home Templates -> forumhome_forumbit_level1_post & forumhome_forumbit_level2_post

    The changes to forumhome_forumbit_level1_post also apply to forumhome_forumbit_level2_post
    Find:
    Code:
     
       <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    Edit the following code highlighted in blue by commenting out:
    Code:
     
       <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">[COLOR=blue]<strong>$vbphrase[subforums]</strong>:[/COLOR] $forum[subforums]</div></if>
    Add code in green before and after to blue code:
    Code:
     
       <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px[COLOR=green][COLOR=black]">[/COLOR]<!-- <[/COLOR][COLOR=#0000ff]strong>$vbphrase[subforums]</strong>: [/COLOR][COLOR=green]-->[/COLOR] $forum[subforums]</div></if>
    Default Look
    Image #1

    Single Column
    Image #2

    Sub-Forums: phrase removed
    Image #3

    Thanks to the following ppl for help guilding me in this tutorial.
    sensimilla for telling me of a simular way
    cscgal @ http://www.daniweb.com/ for showing me to make a subforum list
    Attached Files
    Last edited by Boxy; Mon 24 Oct '05, 1:16am. Reason: formatting
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...