View Full Version : Forum Jump Menu
medicalforums
10-07-2009, 03:25 AM
How to play with forum jump menu
like deleting links and add links
ChopSuey
10-07-2009, 04:22 AM
AdminCP >Styles & Templates > Style Manager > Your Style > forumjump
medicalforums
10-07-2009, 05:03 AM
Ok you mean the forumjump template
Ok here's the code
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="daysprune" value="$daysprune" />
<strong>$vbphrase[forum_jump]</strong><br />
<select name="f" onchange="this.form.submit();">
<optgroup label="$vbphrase[site_areas]">
<option value="cp" $frmjmpsel[usercp]>$vbphrase[user_control_panel]</option>
<option value="pm" $frmjmpsel[pm]>$vbphrase[private_messages]</option>
<option value="subs" $frmjmpsel[subs]>$vbphrase[subscriptions]</option>
How do I add a link to a web page here such as /page.php
<option value="search" $frmjmpsel[search]>$vbphrase[search_forums]</option>
<option value="home" $frmjmpsel[home]>$vbphrase[forums_home]</option>
</optgroup>
<if condition="$jumpforumbits">
<optgroup label="$vbphrase[forums]">
$jumpforumbits
</optgroup>
</if>
</select>$gobutton
</form>
</div>
Please help me what to put in the red line
Lynne
10-07-2009, 02:50 PM
You'll have to do more that just add to the template... notice that there is a "value" in the options there and that value is used in the code to send you to the correct page. Takea look around line 70 of forumdisplay.php to see where you would have to add values - I don't think you can do it with a plugin since I don't see a hook there.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.