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
  #12  
Old 05-14-2008, 03:53 PM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now I'm not sure what version to use. Your first post still says version 1.0, although there is talking about changes afterwards? Is it now an xml-product import, or do I still have to edit templates?
Reply With Quote
  #13  
Old 05-14-2008, 04:08 PM
kira kira is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi TCB. Sorry, the changes mentioned in my OP are comparing this to the original 3.6.x version. This new 3.7.0 version is unchanged and the instructions are in the text file attached to the OP.

This is indeed a Template Modification, so yes, you need to manually edit a template (forumdisplay in this case). The instructions are pretty easy though! Shouldn't take you more than five - ten minutes, tops.

However, if you use the Template Modification System product addon, you can use the xml link up in Mike D's post. Please note that I can't verify that this works because I don't personally have TMS installed. (I'm weird in that I kinda enjoy modifiying the templates myself, since I think it helps me understand what changes are being made to the system.)

Let me know if you have any problems. Thanks and good luck!
Reply With Quote
  #14  
Old 05-14-2008, 05:15 PM
TCB's Avatar
TCB TCB is offline
 
Join Date: Jun 2004
Location: the Netherlands
Posts: 193
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, great.. thanks a lot. The option to put this 'filter' and 'sort' option on top (like yours) or at the bottom of your forum (default) should be standard in vbulletin. In the meantime, me and my members will enjoy this modification
Reply With Quote
  #15  
Old 05-14-2008, 05:37 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing I notied betweenthe before and after was the label "Display Options" Is there a way to slip that back in there?
Reply With Quote
  #16  
Old 05-14-2008, 06:01 PM
kira kira is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks TCB! Glad it's useful, and I agree, this placement seems much more logical than the default -- especially when there are lots of threads within a forum, which means the filtering options are easily missed since they're all the way at the bottom of the screen.

Hostboard: Absolutely! In step #3 of my instructions, you'd just place the following:

PHP Code:
$vbphrase[display_options]: 
Into the code wherever you want. (By default this phrase is "Display Options".)

For example, in the "after" sample image, you can see the area that says "Showing threads 1 of 2." To change this to "Display Options: Showing threads 1 of 2" you'd go to Step #3 of my instructions and look for:

Code:
<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
and change this to:

Code:
<td class="thead">$vbphrase[display_options]: <phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
Does this make sense? Another option might be to place the "Display Options:" text to the left of all the dropdown filter/sort menus. To do this, again using the third step of my instructions (or if you've already installed the template mod you can just search in your edited template):

Search for:

Code:
<table cellpadding="3" cellspacing="0" border="0" align="center">
		<tr>
			<if condition="$prefix_options">
Replace with:

Code:
<table cellpadding="3" cellspacing="0" border="0" align="center">
		<tr>
		<td><strong>$vbphrase[display_options]:</strong></td> 
			<if condition="$prefix_options">
(You might want to surround the display options phrase with <span class="smallfont"> and </span> if the text looks too big.)

Let me know if this works for you, or if I'm not clear enough.
Reply With Quote
  #17  
Old 05-14-2008, 06:54 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tried Mikes pluggin but I get "Invalid File Specified" when I try to upload it.
Reply With Quote
  #18  
Old 05-14-2008, 09:03 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much for this!!! Did I miss the announcebits in the mod template changes because I didn't see that added back with the mod changes.

Also is there a way to search for both date AND poster at the same time with this mod?
Reply With Quote
  #19  
Old 05-15-2008, 03:45 AM
kira kira is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hostboard View Post
Tried Mikes pluggin but I get "Invalid File Specified" when I try to upload it.
Hi Hostboard. The file Mike-D attached isn't a plugin, per se. It works only if you have the Template Modification System addon installed. So if you don't have that installed yet, you should try that first! Or you can just use my instructions to do this manually. I promise it's really really simple!

Quote:
Originally Posted by YLP1 View Post
Thank you so much for this!!! Did I miss the announcebits in the mod template changes because I didn't see that added back with the mod changes.
You're welcome, YLP1! Do you mean in the original instructions attached in my OP? Sure, it's in there -- right at the start of the replacement code in Step #3, in the third line or so. You should see:

Code:
<!-- Modified Thread Search Layout -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
$announcebits
</tbody>
</table>
(That's only the start of the replacement code, not the whole thing. Cut for brevity's sake!)

Quote:
Originally Posted by YLP1 View Post
Also is there a way to search for both date AND poster at the same time with this mod?
Hm, well, except for the prefix filters, these are really just sorting options, not searches exactly. I'm pretty sure you can only sort by one thing at a time.

Basically whatever you can do with the standard vBulletin "Display Options" is available here -- it's just the layout that's changed.
Reply With Quote
  #20  
Old 05-25-2008, 07:22 PM
Ascor's Avatar
Ascor Ascor is offline
 
Join Date: Jul 2006
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thank you
Reply With Quote
  #21  
Old 05-26-2008, 09:58 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for some reasons, after I installed this mod, everytime I start a new thread, the cursor is already in center position and all the texts are also center as I typed. But after hit submit new thread, all the texts are aligned left as normal.

Can someone please help me fix this?
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 10:58 PM.


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.15585 seconds
  • Memory Usage 2,319KB
  • 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
  • (5)bbcode_code
  • (1)bbcode_php
  • (3)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