The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Display Options Above Threads - as seen on vbulletin.org Details »» | |||||||||||||||||||||||||||
Display Options Above Threads - as seen on vbulletin.org
Developer Last Online: Nov 2023
This template mod, updated from my 3.6.x version, will streamline and relocate the "Display Options" dropdown menus to the top of your threads list on forumdisplay, as seen here at vbulletn.org in the modification areas.
As part of this move, we'll also change the look of the "Active Users"/Moderators panel remaining at the bottom of the page. ('Before' and 'after' screenshots are below.) Note: In the 3.6.x version, there were two different versions of this mod -- the extra one being for those forums using the excellent Thread Prefixes mod by Mystics. Now that vB 3.7.0 has prefixes on its own, those extra set of instructions are no longer necessary. Important: If you've installed or applied other mods that have altered the forumdisplay template, you may need to adjust the instructions accordingly. I hope this mod is helpful! As always, many thanks to vbulletin.org for the inspiration, not to mention years of providing an amazingly helpful community. Show Your Support
|
Comments |
#52
|
|||
|
|||
Are you still able to edit thread titles just by double clicking to the right of them?
|
#53
|
|||
|
|||
Nevermind... I found the bit in one of the posts about the ID=Threadlist. I had done this mod by myself without realizing someone else had already figured it out. However, I missed that bit about the threadlist thing and my inline editing wasn't working. Works perfect now!
|
#54
|
||||
|
||||
Thanks so much. After discovering that you had updated the last one (the hard way, oops), this is working perfectly. It's a mod that's saved me a lot of time as what you've done here I was trying to do on my own, minus the prefix drop down.
Marked enthusiastically as installed, and nominated. Dude, thanks. |
#55
|
|||
|
|||
Here's how to make the box collapsible.
Instead of point 3 in the instructions - use this code instead Code:
<!-- Modified Thread Search Layout --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tbody> $announcebits </tbody> </table> <form action="forumdisplay.php" method="get"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="f" value="$forumid" /> <input type="hidden" name="page" value="$pagenumber" /> <input type="hidden" name="pp" value="$perpage" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('filter')"><img id="collapseimg_filter" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td> </tr> <tbody id="collapseobj_filter" style="$vbcollapse[collapseobj_filter]"> <tr valign="top"> <td class="alt1"> <table cellpadding="3" cellspacing="0" border="0" align="center"> <tr> <if condition="$prefix_options"> <td><select name="prefixid" id="sel_prefixid"> <option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option> <option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option> $prefix_options </select></td> </if> <td><select name="sort" id="sel_sort"> <option value="title" $sort[title]>$vbphrase[thread_title]</option> <option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option> <option value="dateline" $sort[dateline]>$vbphrase[thread_start_time]</option> <option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option> <option value="views" $sort[views]>$vbphrase[number_of_views]</option> <option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option> <if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if> </select></td> <td><select name="order" id="sel_order"> <option value="asc" $order[asc]>$vbphrase[ascending]</option> <option value="desc" $order[desc]>$vbphrase[descending]</option> </select></td> <td><select name="daysprune" id="sel_daysprune"> <option value="1" $daysprunesel[1]>$vbphrase[last_day]</option> <option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option> <option value="7" $daysprunesel[7]>$vbphrase[last_week]</option> <option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option> <option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option> <option value="30" $daysprunesel[30]>$vbphrase[last_month]</option> <option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option> <option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option> <option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option> <option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option> <option value="365" $daysprunesel[365]>$vbphrase[last_year]</option> <option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option> </select></td> <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px"> <input type="submit" class="button" value="$vbphrase[show_threads]" /> </td> </tr> </table> </td> </tr> </table> </form> <form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform"> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="forumid" value="$forumid" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist"> <tbody> <!-- / Modified Thread Search Layout --> |
#56
|
|||
|
|||
I love this hack but am desperate to get it to work for just one of my forums rather than all of them. Could anyone lend some insight into how to do this with an if forum ='x' if statement?
|
#57
|
|||
|
|||
I tried it with this but it breaks the table:
Code:
<if condition="$forum[forumid] != X"> ... </if> |
#58
|
||||
|
||||
marked installed!
thanks! I'd like to make this just like here, where you can't see what the prefixes are for the threads, but you can sort by them. what do I need to remove from which template? |
#59
|
||||
|
||||
This is brilliant, makes logical sense for the display options to be up there!
Installed, thanks. |
#60
|
||||
|
||||
The code in step No. 3 did not validate against xhtml for me. Instead I used the following:
Code:
<!-- Modified Thread Search Layout --> <form action="forumdisplay.php" method="get"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="f" value="$forumid" /> <input type="hidden" name="page" value="$pagenumber" /> <input type="hidden" name="pp" value="$perpage" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td> </tr> <tr valign="top"> <td class="alt1"> <table cellpadding="3" cellspacing="0" border="0" align="center"> <tr> <if condition="$prefix_options"> <td><select name="prefixid" id="sel_prefixid"> <option value=""$prefix_selected[any]>$vbphrase[any_prefix_meta]</option> <option value="-1"$prefix_selected[none]>$vbphrase[no_prefix_meta]</option> $prefix_options </select></td> </if> <td><select name="sort" id="sel_sort"> <option value="title" $sort[title]>$vbphrase[thread_title]</option> <option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option> <option value="dateline" $sort[dateline]>$vbphrase[thread_start_time]</option> <option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option> <option value="views" $sort[views]>$vbphrase[number_of_views]</option> <option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option> <if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if> </select></td> <td><select name="order" id="sel_order"> <option value="asc" $order[asc]>$vbphrase[ascending]</option> <option value="desc" $order[desc]>$vbphrase[descending]</option> </select></td> <td><select name="daysprune" id="sel_daysprune"> <option value="1" $daysprunesel[1]>$vbphrase[last_day]</option> <option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option> <option value="7" $daysprunesel[7]>$vbphrase[last_week]</option> <option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option> <option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option> <option value="30" $daysprunesel[30]>$vbphrase[last_month]</option> <option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option> <option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option> <option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option> <option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option> <option value="365" $daysprunesel[365]>$vbphrase[last_year]</option> <option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option> </select></td> <td class="smallfont" align="$stylevar[right]" style="padding-top:$stylevar[cellpadding]px"> <input type="submit" class="button" value="$vbphrase[show_threads]" /> </td> </tr> </table> </td> </tr> </table> </form> <form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform"> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="forumid" value="$forumid" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist"> <tbody> $announcebits <!-- / Modified Thread Search Layout --> |
#61
|
|||
|
|||
Does this work on vBulletin Version 3.8.4 with prefix on?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|