View Full Version : Sort thread by Post Icon
Michael Morris
04-09-2004, 12:34 AM
Is there a hack that will add "post icons" to the list of criteria you can sort threads by. (Currently threads can be sorted by title, last post date, etc).
noonespecial
04-10-2004, 07:40 AM
Is there a hack that will add "post icons" to the list of criteria you can sort threads by. (Currently threads can be sorted by title, last post date, etc).
I REALLY need this.
Michael Morris
04-14-2004, 07:31 AM
So do I ***bbbump***
Zachery
04-14-2004, 07:41 AM
You would need to assign the posticons some sort of numeric or alphbetical value that would determin the stort.
noonespecial
04-14-2004, 09:22 AM
You would need to assign the posticons some sort of numeric or alphbetical value that would determin the stort.
tried that .. couldnt get it working.
noonespecial
04-29-2004, 03:12 PM
tried that .. couldnt get it working.
...?
Michael Morris
05-03-2004, 02:29 PM
You would need to assign the posticons some sort of numeric or alphbetical value that would determin the stort.
They have one - display order. that still doesn't answer my question though - how to sort the threads by the display order of the post icons?
noonespecial
05-07-2004, 09:53 PM
They have one - display order. that still doesn't answer my question though - how to sort the threads by the display order of the post icons?
heeelp with this!!!!!!!
noonespecial
05-21-2004, 06:31 AM
heeelp with this!!!!!!!
i guess this will never happen. a shame, this would be so huge for my news page.
Taco John
05-21-2004, 08:10 AM
I've always wanted something like this.
msimplay
05-21-2004, 08:28 AM
well i use my post icons as thread descriptions on what they contain
ie an 18 icon for posts that contain adult language / material
so some kind of hack to allow searching by post icon would be great
not sure about this one but i think post icons do have ids in the database maybe they can be used to create a hack of some sort
noonespecial
06-03-2004, 06:41 AM
well i use my post icons as thread descriptions on what they contain
ie an 18 icon for posts that contain adult language / material
so some kind of hack to allow searching by post icon would be great
not sure about this one but i think post icons do have ids in the database maybe they can be used to create a hack of some sort
i keep trying to get it to work, so far, nothing.
noonespecial
07-28-2004, 05:17 AM
i keep trying to get it to work, so far, nothing.
anyone??? this needs to be revived. especially for vbadvanced./vbindex users.
spence2
08-14-2004, 06:49 AM
While this may not be exactly what you need ... I used this hack (https://vborg.vbsupport.ru/showthread.php?t=63230) to add transparent gifs to my posts ... you may want to use "regular" images.
On a per forum basis you assign images to category names.
like...
clear1.gif
Chapter 1
clear2.gif
Chapter 2
etc.
When you enter a thread you can select a category for it. Because I use transparent gifs, nothing shows on the thread ... no clutter.
But on the forum display there is select box with:
Chapter 1
Chapter 2
etc.
If I select Chapter 1, only the threads assigned to Chapter 1 appear.
This doesn't help with search, but it helps to sort your threads.
Your categories could be
Adult Language
Mature Content
etc.
I know it's not the solution you need, but it might get you closer than you are now. Cheers.
CarCdr
08-14-2004, 10:59 AM
They have one - display order. that still doesn't answer my question though - how to sort the threads by the display order of the post icons?
We added a few extra sorts for users to categorize threads, so I've had to do this sort of thing a couple of times. Hacing said that, I did not make an exhaustive check before posting this, nor did i test it.
If what you want to is to sort a list of threads by icon, you'll have to make a mod to a script and and a template.
1. In forumdisplay.php, find switch ($sortfield)
{
case 'title':
BEFORE the case 'title': add: case 'iconid':
$sqlsortfield = 'thread.iconid';
break;
2. In FORUMDISPLAY template
Find this line:
<option value="title" $sort[title]>$vbphrase[thread_title]</option>
BEFORE or AFTER this line, or anywhere in that group of options, put this line:
<option value="iconid" $sort[iconid]>$vbphrase[post_icons]</option>
This adds "Post Icons" to the list of sort options in the "Display Options" form at the bottom of the page.
I do not know what your sort order will be, as all this is supposed to do is use the internal iconid number to sort on.
What I have not addressed, is the code to add a column heding that one could click to sort on that column. If you need that, we can talk about it after you try this much. Cheers
Michael Morris
08-15-2004, 02:05 PM
Well, my server's in the middle of Florida, and Charlie has just left town. I hear power will be out for a few days so I can't play with it just now.
msimplay
02-27-2006, 08:36 AM
Any chance for this now ?
Joey805
05-15-2006, 10:14 PM
I"m looking for this too. Can any coders please help?
Marco van Herwaarden
05-16-2006, 08:35 AM
Are you looking for a vB3 or vB3.5 solution?
I think there is already a 3.5 version for this, not sure of there is also a vB3 version.
Joey805
05-16-2006, 02:25 PM
I'm looking for a 3.5 solution. Ideally, I would just like to place a link in my navbar that when clicked will display all threads with a certain post icon. (example, my news items)
Is this possible?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.