vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Filter Threads By Post Icon (https://vborg.vbsupport.ru/showthread.php?t=98978)

Wired1 10-21-2005 10:00 PM

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.

Wired1 10-21-2005 10:52 PM

Saving for future stuff.

Wasim 10-22-2005 03:14 AM

Thanks for fulfulling my request. :)

Wasim 10-22-2005 03:24 AM

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

Wired1 10-22-2005 04:24 AM

Remove that one, go 15 lines down, look for:

Code:

<tr>
        <if condition="$show['threadicons']">

That's the right one. Can't find out what executes the first code, but that should do it.

Wasim 10-22-2005 04:47 AM

Quote:

Originally Posted by Wired1
Remove that one, go 15 lines down, look for:

Code:

<tr>
        <if condition="$show['threadicons']">

That's the right one. Can't find out what executes the first code, but that should do it.

thanks!

Wasim 10-22-2005 04:56 AM

Just finished installing. WORKS PERFECTLY!

Wasim 10-22-2005 06:18 AM

nm... :)

Snake 10-22-2005 11:45 AM

Thanks, this is great...

Wired1 10-23-2005 02:32 AM

It worked? Sweet :) Updated instruction file.


All times are GMT. The time now is 02:42 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
  • Page Generation 0.01135 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete