Subforum Drop-down Menu
This modification is in the archives.
Description. This is a Mod to make sub-forums appear in a drop-down menu fashion.
Screenshot. Stealed image from the great http://www.stunner-entertainment.com/forum/index.php forum, hope you don't mind!! :nervous: Step 1. Open: forumhome_forumbit_level1_nopost forumhome_forumbit_level1_post forumhome_forumbit_level2_nopost forumhome_forumbit_level2_post Find: Code:
<strong>$vbphrase[subforums]</strong>: $forum[subforums] 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();"> <if condition="$forum[statusicon] == 'new'"> <option value="$forum[forumid]" style="font-weight:bold;">$forum[title]</option> <else /> <option value="$forum[forumid]">$forum[title]</option> </if> $forum[subforums] </select> <input class="button" value="$vbphrase[go]" type="submit"> </form> <!-- Subforum pull-down menu ---------------------------------------> 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 ---------------------------------------> Download No files for download. Screenshots
|