![]() |
Display Options Above Threads - as seen on vbulletin.org
This template mod 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. (Screenshots of both sections are below.) This modification should work on vB versions 3.6.5 - 3.6.7 PL 1. :) Important: There are two different versions of the instructions: one for a default setup, and one for people using the excellent Thread Prefixes mod by Mystics. Please make sure you choose the correct version for your setup! (Of course, if you've installed or applied other mods that have altered the forumdisplay template, you may need to adjust the instructions accordingly.) Update on May 10, 2008: I'm happy to say that the 3.7.0 version of this mod is now available! Note that there's now only one set of instructions in 3.7.0, since Mystics prefix mod no longer applies. If his mod is ever updated, however, I'll be happy to include a new batch of instructions. Especially 'cause I prefer his prefixes to vB's! :) Update on July 27, 2007: New version fixes issue with AJAX inline editing thread titles. If you've already installed the older version, please use these instructions to correct the problem. Thanks to Skavenger for the heads-up. Live Demo: Working Demo at My Site. (This will show you the Display Options section; I don't use the "Active Users" part of the mod.) This is my first template modification release, and I hope it's helpful. Many thanks to vbulletin.org for the inspiration, not to mention years of providing an amazingly helpful community. |
thank you :up:
|
Kira is the best! I asked many times everywhere and she was the one that actually helped! Thank you so much Kira for being so helpful.
Here is my example: http://www.caraudiojunkyard.com/foru...udio-junkyard/ -Dante |
Thanks, guys! Dante, it looks great, and I'm very glad it worked for you.
|
I was thinking yesterday to request this. Great Work :)
|
thank you, Nice job
Ymy |
Thanks and you're welcome! If anyone has any problems with the instructions, or if the code doesn't work with your setup of vB, please let me know. I've never released anything (aside from a tiny code fix many years ago) and I wasn't certain if the directions were clear enough.
|
This is a much neater look and presentation search threads feature. How can I make the thicker line below the drop down menus the same size as the line oabove the menus?
|
Hi Junkie! That table uses the tborder class, as do the tables surrounding it. This does create a double-thickness line where the tables meet.
Here's a fix for you. 1. In your admin cp choose Style Manager and in your desired style select All Style Options and click the "Go" button. 2. Scroll down to the Additional CSS Definitions section. In the second textbox, add the following: Code:
.displayoptions { 3. Now click Edit Templates and go to your FORUMDISPLAY template. SEARCH FOR: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> Code:
<table class="displayoptions" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> 4. Save the FORUMDISPLAY template. This should remove the top and bottom borders for you. I've attached a screenshot of what this will look like on a default setup. Hope this helps! :) |
Kira, thank you so much for this. See as how you're familiar with the Thread Prefix MOD, could you take a look at a post I made regarding a fix for this modification?
|
You're welcome, Junkie. :) I'm no prefix expert but I've given that a try over there.
|
after installing the mod I can't edit the threads using the ajax feature [with double click]
|
Ouch, you're right! Stupid mistake on my part, and after posting this will update the instructions accordingly. Luckily it's an easy fix if you've already made the above template changes. The problem was that there's a duplicate table ID of "threadslist."
Simply open up FORUMDISPLAY and FIND: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist"> Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> My apologies for the error and inconvenience! Many thanks to Skavenger for pointing this out. |
thank you for the fix!
|
Hello Kira, does this mod generate prefixes? or unless you have the thread prefix hack you wont get a prefix section when the Display Options is moved above a forum's threads?
|
Hi hissatsu! You do need the prefix hack installed in order to use the version specifically for thread prefixes. See the intro here:
Quote:
The version without the prefix mod looks pretty much the same, it just won't have the prefix dropdown. Does this make sense? Hope it helps! :) |
yeah it does help. unfortunately i installed the prefix hack and started experiencing errors on my new forum (using vb 3.67 PL1). And i am not finding anyone who knows coding to help me edit stuff to make the thread prefix work (it is one Hack my Forum definately needs)
I havent received any replies (probably because the prefix hack isnt supported anymore). Will u be able to help? (ie getting thread prefix to work then adding ur mod afterwards) Pretty Pleeese!!!! |
Quote:
|
can you post your button css class ?
thanks |
Sure. It uses a background image, though, which I've attached.
Code:
background-color: #DF501F; |
it is alright now - one coder came to fix it for me.
It works now. So i will try using your hack to display the prefixes on top of my pages. Will let you know what happens. Definately click install if it works. Edit: wow-- kira ur site is beautiful. How did you set that up? damn -- i really need to learn how to code, these things may become easier to understand. |
Wow, thanks so much, hissatsu! I did the graphic designing and template modding myself, but the code modifications can all be found right here (there's some custom work, but not very much). This site's taught me so much. This month we're even up for vB.com's Board of the Month contest along with four other very nice sites. You should check them all out for inspiration -- it's a great way to learn.
Anyway, I hope you have luck installing the template changes. It's pretty simple! If you need any help let me know. |
Quote:
I meant to ask for the css button class of vb.org default, not the one you use (nice). Mine come out flat square. Not like the one in your demo pic or the one here which has rounded corners sorry about it |
Quote:
A look at the quantnet.org style shows that your css for the buttons is: Code:
background: #ffffff; |
thanks Kira.
I had to revert the button css |
Here you can use the TMS-XML for Template Modification System.
It's my first try with this system. I hope that everyting is ok. |
Hi PeteBlume! Thanks for the addition. Can you explain what this does? I'm afraid I'm not very familiar with the TMS.
|
thnx ..:)
|
I was curious if I wanted to display this only for certain user groups?
Would I put something like this below and if so, where? Thanks! Code:
<if condition="$bbuserinfo['usergroupid'] < 10"> |
Hi gobears20. Short answer: yes, that code will work if you want to hide the filtering options part of the forumdisplay. You would place the first line right after:
Code:
<!-- Modified Display Options --> Code:
<!-- End Modified Display Options --> I can try to figure it out for you if you really need this to work that way. I'd need to know what specific usergroups you want to allow access to the new version, and which ones will have the original version. (Oh and also whether you're using the prefix or nonprefix version.) Out of curiosity, why would you only want certain usergroups to have this capability? It's not that nifty, except looks-wise. :) |
It would be nice if you could only have it show it at the top if prefixes were used in that forum otherwise it shows it at the bottom. Would there be a way of doing this?
I really think this should be integrated into the thread prefix mod. |
excellent! thanks
|
Here are the default setting edits in Template Modification System (TMS) XML format, for those that already have TMS installed.
|
Wonderful addon to a great hack!
Thanks for the quick ajax fix also .thumbsup. |
dude,
Just installed it and I have to say...REALLY REALLY GREAT mod m8! Many tnx :) |
Does this work in 3.7.x?
Seems like a great hack to just let wither away on the vine... |
Hi there! I haven't installed 3.7 yet, but I will soon, I promise. So far I don't see any reason it shouldn't, but there have been enough changes to the code that I'm sure the instructions might need some major tweaking.
|
I'll be wainting for the update too, thanks again!
|
Great Mod:up:
|
I am really looking forward to a version for 3.7. Marked as installed and waiting for an update.
|
All times are GMT. The time now is 06:15 PM. |
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:
|