View Full Version : What is the code for Sub-Forums? ($foruminfo[title] for Forum!)
StormBreaker
11-06-2008, 04:35 PM
Hi,
What is the code for Sub-Forums to show them like this...
http://img232.imageshack.us/img232/7486/sfnu9.jpg
Thanks :)
Lynne
11-06-2008, 05:06 PM
That is under vboptions > forum listing display options > depth of sub-forums
StormBreaker
11-06-2008, 05:33 PM
Ooops, thats not what i mean :D
http://img511.imageshack.us/img511/7938/gdsip6.jpg
I mean the code so i can put it in newthread template. like ($foruminfo[title] and $foruminfo[description])
Lynne
11-06-2008, 05:42 PM
This is what is in the forumhome_forumbit_level1_nopost template:
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
StormBreaker
11-06-2008, 07:15 PM
It`s not working, the sub-forums shows blank!
ex: http://img208.imageshack.us/img208/3033/kftyikfuub7.jpg
This code may help you figure it out :D
<tr>
<td class="smallfont" colspan="3"><fieldset class="fieldset" style="width:630px;"><legend>New Thread In <strong>$foruminfo[title]</strong></legend><div style="padding:3px"><strong>Description</strong>: $foruminfo[description].<br /><br /><label for="cb_confirm_forum"><input type="checkbox" name="confirm_forum" id="cb_confirm_forum" value="1" onclick="double_check();"/>I believe <strong>$foruminfo[title]</strong> is the BEST section for this topic</label></div></fieldset><br /><br /></td>
</tr>
Arigatu! :)
Lynne
11-06-2008, 07:50 PM
Did you try using $foruminfo instead of $forum?
StormBreaker
11-06-2008, 08:24 PM
Did you try using $foruminfo instead of $forum?
yaya!, i tryed this to when you give me the code.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.