![]() |
Work in progress
i am currently trying to adapt a mod to vbulletin 4 but i am running into some difficultly, i am getting the most part working but its not showing the options in the drop down menu
<!-- 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 ---------------------------------------> the problems i am having i have highlighted in red, they only seem to be showing that text in the red and not the actual sub sections, the original code if anyone wishes to develop it themeselves is located here https://vborg.vbsupport.ru/showthread.php?t=99821 |
Try this:
Code:
<!-- Subforum pull-down menu ---------------------------------------> |
thats great now i just need get the depth of the forums to work the original line
<if condition="$forum[depth] == '2'"> </if> doesnt work any ideas?? |
not sure if this will help or even what u are looking for
Code:
<!-- Subforum pull-down menu ---------------------------------------> Code:
<!-- Subforum pull-down menu ---------------------------------------> Code:
<!-- Subforum pull-down menu ---------------------------------------> |
still doesnt work, this is getting annoying, any more suggestions will be appericated, the first part works, but for some reason it wont find the 2nd part and continues to use the 2nd level and not the 3rd
|
Maybe this?
Code:
<vb:if condition="$forum[depth] == '2'"> |
All times are GMT. The time now is 01:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|