Sub-Forum Dropdown Menu (Modification)

jordy-jk

New Member
This serves to put a menu in the subforums
Step 1. Open:

forumhome_forumbit_level2_nopost
forumhome_forumbit_level2_post
Found:

Code:
<strong>$vbphrase[subforums]</strong>: $forum[subforums]
Replace this:
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

Found:

Code:
<strong>$vbphrase[subforums]</strong>: $forum[subforums]
Replace this:
Code:
<!-- Subforum pull-down menu --------------------------------------->
<option value="$forum[forumid]">

<if condition="$forum[statusicon] == 'new'">
+&nbsp;
<else />
-&nbsp;
</if>

$forum[title]

</option>
<!-- Subforum pull-down menu --------------------------------------->
Sample image

[align=center][align=center][align=center]

[/align]

[/align]


[/align]
 
It works in vb 3.7.2
only you needed to edit
only
forumhome_subforumbit_post and forumhome_forumbit_level2_post
my "Depth of Sub-Forums" is set to "1" in vBulletin Options > Forum Listings Display Options
 
ownedboy said:
It works in vb 3.7.2
only you needed to edit
only
forumhome_subforumbit_post and forumhome_forumbit_level2_post
my "Depth of Sub-Forums" is set to "1" in vBulletin Options > Forum Listings Display Options


Thanks you save my life now with your reponse.

Regards
 
Back
Top