The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
Description. This is a Mod to make sub-forums appear in a drop-down menu fashion.
Screenshot. Stealed image from the great Stunner-Entertainment 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 ---------------------------------------> Show Your Support
|
Comments |
#32
|
|||
|
|||
![]()
Hello
in the (forumhome_forumbit_level1_nopost) i dont have the Code:
<strong>$vbphrase[subforums]</strong>: $forum[subforums] Code:
<table style="border-collapse: collapse"> <tr> <td align="left" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_top_l.gif" alt="" /></td> <td style="background-image: url($stylevar[imgdir_misc]/cat_top_bg.gif); width: 100%; padding-top: 5px" class="cat"><div style="float: right"><a href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a> </div><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a><if condition="$show['forumdescription']"><span class="smallfont"> - $forum[description]</span></if></td> <td align="right" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_top_r.gif" alt="" /></td> </tr> </table> <if condition="$childforumbits"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}"> <tr align="center"> <td class="thead"> </td> <td class="thead" width="60%" 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> $childforumbits </tbody> </table> </if> <table style="border-collapse: collapse"> <tr> <td align="left" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_bottom_l.gif" alt="" /></td> <td style="background-image: url($stylevar[imgdir_misc]/cat_bottom_bg.gif);width: 100%"></td> <td align="right" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_bottom_r.gif" alt="" /></td> </tr> </table> <br /> thanks |
#33
|
|||
|
|||
![]()
Can some one please help
What was in these 2 templates please forumhome_subforumbit_nopost forumhome_subforumbit_post I am trying to uninstall and i cant remember |
#34
|
|||
|
|||
![]()
Revert the template
![]() In 3.5.4 its just showing me the name (and link) of the main forum and not the subs in the drop down....good idea, but its not working for me ![]() |
#35
|
|||
|
|||
![]()
beautiful hack... nicely done...
|
#36
|
|||
|
|||
![]()
Doesn't work for me. I have the mouseover effects, but I removed the code as instructed. The forums still don't show up as a drop down.
|
#37
|
|||
|
|||
![]()
Can someone explain how this works? I only want the drop down box to show up for forums that have subforums (not for all forums).
I can't seem to figure out how this is checking for this before displaying. Thanks! |
#38
|
|||
|
|||
![]()
hey is there anyway to change the colors of it? and anyway to change it to say instead of the main forum name like a name of our choice or just "sub forums"?
|
#39
|
|||
|
|||
![]() Quote:
|
#40
|
|||
|
|||
![]()
thanks, works great
|
#41
|
||||
|
||||
![]()
Looking for a safe way to change colors of the background inside, text and go button. Any ideas?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|