The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Template Help - Subforums in Forumdisplay?
Hi there,
I was working to customize ElForro's iPhone Skin, and realized it was designed only for forums that have a single tier forum structure. I wanted simple links to sub-forums to appear in any forumdisplay template -- is there an easy/quick way to call up a list of links of subforums? I tried copying/pasting the relevant parts from the standard vBulletin forumdisplay template into the iPhone/Minimalist forumdisplay template, but it basically did nothing. Any help you can offer would be greatly appreciated. Thanks! --------------- Added [DATE]1213367417[/DATE] at [TIME]1213367417[/TIME] --------------- Let me be a bit more specific. When I insert the following into the minimalist template forumdisplay: Code:
<if condition="$show['forumslist']"> <!-- sub-forum list --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> <tr> <td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td> <if condition="$show['forumsearch']"> <td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td> </if> </tr> </table> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </td> <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> <td class="thead">$vbphrase[last_post]</td> <td class="thead">$vbphrase[threads]</td> <td class="thead">$vbphrase[posts]</td> <if condition="$vboptions[showmoderatorcolumn]"> <td class="thead">$vbphrase[moderator]</td> </if> </tr> </thead> $forumbits </table> <br /> <!-- / sub-forum list --> </if> |
#2
|
||||
|
||||
not clear but I'll give it a go
compare custom templates with default forumhome_forumbit_levelXXX (look for $forum[subforums]) you can modify forumhome_subforumbit_XXX templates to suit your needs |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|