PDA

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


Jose Amaral Rego
Mon 2nd Apr '07, 3:26am
Create Single Column List Under Subforum: Forumhome / Forumdisplay

vBulletin version 3.6.5


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.


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:

,



Replace with:

<br />


Save in Template History? Check Box - Check
Comment: [ breakline_subforums ]


You have two style options
[ A ] Delete the phrase Sub-Forums:
22410
or

[ B ] Use a breakline after the phrase Sub-Forums:
22409

[ A ]. To delete phrase ' Sub-Forums: ' as shown in image #2 in attachments

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:

<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $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.


<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:<br /> $forum[subforums]</div></if>


Save in Template History? Check Box - Check
Comment: [ breakline_subforums_phrase ]



Thanks to cscgal @ www.daniweb.com