[How To] Create Single Column List Under Subforum: Forumhome / Forumdisplay

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

    [How To] Create Single Column List Under Subforum: Forumhome / Forumdisplay

    Create Single Column List Under Subforum: Forumhome / Forumdisplay

    vBulletin version 3.6.5
    1. Goto AdminCP -> vBulletin Options -> Forum Listings Display Options

      Edit to the following numbers in box provided to the right
      • Depth of Forums - Forum Home [ 2 ] This should be set at value [ 2 ] so that sub-forum will be viewed under Main Forum, decreasing value will place it in Main Catagory Strip and increasing will result in displaying in FourmDisplay page instead Forumhome index.
      • Depth of Forums - Forum Display [ 1 ]
      • 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 and parent forums, for each value above [ 1 ] on Forumhome index page.

    2. Goto AdminCP -> Styles & Templates -> Style Manager -> «Expand Templates» Forum Home Templates -> forumhome_subforumseparator_nopost & forumhome_subforumseparator_post

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

      Delete:
      Code:
      ,

      Replace with:
      Code:
      <br />
      Save in Template History? Check Box - Check
      Comment: [ breakline_subforums ]


      You have two style options
      [ A ] Delete the phrase Sub-Forums:
      Click image for larger version

Name:	edit_2.JPG
Views:	1
Size:	34.5 KB
ID:	3703492
      or

      [ B ] Use a breakline after the phrase Sub-Forums:
      Click image for larger version

Name:	edit_1.JPG
Views:	1
Size:	32.6 KB
ID:	3703491

      [ A ]. To delete phrase ' Sub-Forums: ' as shown in image #2 in attachments
    3. Goto AdminCP -> Styles & Templates -> Style Manager -> «Expand Templates» Forum Home Templates -> forumhome_forumbit_level1_post & forumhome_forumbit_level2_post

      Apply to edits to both forumhome_forumbit_level1_post & forumhome_forumbit_level2_post templates

      Find hilighted in blue and delete:
      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>
      Save in Template History? Check Box - Check
      Comment: [ delete_subforums_phrase ]



      [ B ]. To make column under phrase ' Sub-Forums: ' as shown in image #1 in attachments.

      Find hilighted in blue and add after breakline code in red.

      Code:
      		<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px">[COLOR="Blue"]<strong>$vbphrase[subforums]</strong>:[/COLOR][COLOR="Red"]<br />[/COLOR] $forum[subforums]</div></if>
      Save in Template History? Check Box - Check
      Comment: [ breakline_subforums_phrase ]


    Thanks to cscgal @ www.daniweb.com
    Last edited by Jose Amaral Rego; Sun 29 Apr '07, 12:13pm. Reason: Not 'how to' function
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...