Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Display Options Above Threads - as seen on vbulletin.org Details »»
Display Options Above Threads - as seen on vbulletin.org
Version: 1.00, by kira kira is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.0 Rating:
Released: 05-09-2008 Last Update: Never Installs: 199
Template Edits
Translations  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 03-17-2009, 08:59 PM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Raptor View Post
Works great for vb 3.8.1
Are you still able to edit thread titles just by double clicking to the right of them?
Reply With Quote
  #53  
Old 03-18-2009, 02:37 AM
Tourmeister Tourmeister is offline
 
Join Date: Nov 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tourmeister View Post
Are you still able to edit thread titles just by double clicking to the right of them?
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!
Reply With Quote
  #54  
Old 03-21-2009, 10:05 PM
Arkham's Avatar
Arkham Arkham is offline
 
Join Date: Nov 2001
Location: Toronto, Ontario
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #55  
Old 05-05-2009, 03:56 PM
doa24uk doa24uk is offline
 
Join Date: Feb 2008
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
  #56  
Old 05-06-2009, 07:50 PM
Milez Milez is offline
 
Join Date: Jan 2002
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #57  
Old 05-06-2009, 08:48 PM
Milez Milez is offline
 
Join Date: Jan 2002
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried it with this but it breaks the table:

Code:
<if condition="$forum[forumid] != X">
...
</if>
Can anyone help please?
Reply With Quote
  #58  
Old 05-14-2009, 11:47 PM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #59  
Old 05-22-2009, 11:32 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is brilliant, makes logical sense for the display options to be up there!

Installed, thanks.
Reply With Quote
  #60  
Old 07-17-2009, 03:06 PM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
  #61  
Old 10-01-2009, 11:13 AM
Wird0 Wird0 is offline
 
Join Date: Aug 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on vBulletin Version 3.8.4 with prefix on?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04838 seconds
  • Memory Usage 2,334KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete