The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[SOLVED] adding sub/subforum in dropdown [FORUMDISPLAY]
Hello ,
there is way to show subforum on dropdown list in forumhome how i can add sub/subforum in dropdown (in forumdisplay) ? --------------- Added [DATE]1428702127[/DATE] at [TIME]1428702127[/TIME] --------------- The solution Sub-Forum Dropdown Menu : For Forumdisplay Step 1. Open: forumhome_forumbit_level1_nopost forumhome_forumbit_level1_post Find: Code:
<strong>$vbphrase[subforums]</strong>: $forum[subforums] Replace with: Code:
<!-- Subforum pull-down menu ---------------------------------------> <form action="forumdisplay.php" method="get"> <input name="s" value="" type="hidden"> <input name="daysprune" value="-1" type="hidden"> <select name="f" onchange="this.form.submit();"> <option value="$forum[forumid]" selected><strong>Sub Forums</strong></option> $forum[subforums] </select> </form> <!-- Subforum pull-down menu ---------------------------------------> Step 2. Open: forumhome_subforumbit_nopost forumhome_subforumbit_post Replace the templates with: Code:
<!-- Subforum pull-down menu ---------------------------------------> <option value="$forum[forumid]"> <if condition="$forum[depth] == '2'"> </if> <if condition="$forum[depth] == '3'"> </if> <if condition="$forum[statusicon] == 'new'"> + <else /> - </if> $forum[title] </option> <!-- Subforum pull-down menu ---------------------------------------> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|