![]() |
Filter Threads By Post Icon
Yep, tested and works w/ 3.6.0, no code changes at all. You can find the 3.6.x thread for this hack here.
This is the 3.5.x version of JMPZ's hack by the same name. (linkage) This hack allows you to click on a post icon, and it will show only the threads with this particular post icon. Once this happens an unfilter button will appear, allowing the user to once again view all threads. As for WHY someone would want this, here's an answer to that question: Some forums use the forum icons to convey if a thread has been sufficiently answered or not, or to convey some other meaning. If a poster wants to look for unanswered threads, they could sort by the icon used for the thread. Think of this as a poor man's thread prefix hack :) # of php page edits: 1 # of template edits: 2 Should take less than 5 min to install. |
Saving for future stuff.
|
Thanks for fulfulling my request. :)
|
hmmm.. .seems like im getting the following error when i edit the last template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/html/forums/includes/adminfunctions_template.php(3519) : eval()'d code on line 69 |
Remove that one, go 15 lines down, look for:
Code:
<tr> |
Quote:
|
Just finished installing. WORKS PERFECTLY!
|
nm... :)
|
Thanks, this is great...
|
It worked? Sweet :) Updated instruction file.
|
I can't seem to find:
Code:
$sorturl = 'forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f=$forumid&daysprune=$daysprune"; EDIT: Even without that last modification, it still seems to work fine. |
Quote:
It's a safety precaution more than anything. |
Hi,
There was a hack for showing first post in all pages . Can it be merged with it so it happens when user choose a special icon ? :) or a new hack though . |
Quote:
|
|
Knew I forgot something :)
can't see how the 2 hacks relate to each other. Do you mean if user selects post icon X, then the other hack is activated? If so, that would be something to ask the creator of that hack, as it has nothing to do with this one. |
I installed this hack and it's working fine for the most part. However, I'm getting some unexpected behavior when filtering certain icons. When I click to filter the blue "?" icon it also includes some polls and some threads that have been moved to another forum.
Click here to see on my forum: http://www.mustangexhaust.com/forums...splay.php?f=19 Also, when I click on the icon that all threads default to (the white page icon), no filtering takes place. Is the hack suppose to behave this way? -Nino |
Sorry about that, didn't get the notification. IIRC, there's no actual icon for default, hence it can't search for anything. As for the ? icon, worked for me.
|
Think there would be anyway to use this on external.php .. I want to allow sorting of posts via the RSS feed as well. Any help would be amazing.
|
Do you mean when someone reads the feed on their end they can sort it? IIRC, those icons donn't come through the feed, and their parser would have to be able to sort them even if they did.
|
Basically, I just wanted a feed I could offer for each picon.
so picon1 had a feed, picon2 had a different feed that showed just threads in one forum with that icon. The application is my news forum uses icons to sort bands - if i had an rss feed for each icon people could subscribe to news for each band. |
Gotcha. That'd be a completely different hack then. Depending on how the news is seen, you could put each type of news in its own sub-forum and then use vB's normal feed / forum to accomplish the same thing.
|
Is there a way with this hack to just put a link the the navbar to display threads with a certain post icon (example, my news items) ?
I don't need all the extra stuff that this has. I would just like my users to be able to get a list of all threads marked as news. Thanks, Joey |
You know this is cool, but here is my question. I have seen some other sites, like http://forums.somethingawful.com/ that have individual post icons per forum.
I'd be very interested in that too. |
Quote:
|
Quote:
It's a different hack entirely, I'd have to look into the code to see how it's done. May want to put a request in the request area, as I wouldn't be surprised if someone could do it quicker than me :) |
The posts are all in different forums and they are marked as news items based on their post icon.
|
hey will this work with 3.6 anyway to do this also without file edits ? plugin ?
|
Tested and works w/ 3.6.0, no code changes at all. You can find the 3.6.x thread for this hack here.
|
Quote:
We use one forum on our site for news with VBA and hence making it have different post icons to our normal forums would be great. |
3.6 ?
|
All times are GMT. The time now is 04:46 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:
|