Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread & Forum Ignore System Details »»
Thread & Forum Ignore System
Version: 2.0, by nerbert nerbert is offline
Developer Last Online: Aug 2017 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.2 Rating:
Released: 10-19-2011 Last Update: 01-17-2015 Installs: 79
DB Changes Uses Plugins
Re-useable Code Translations  
No support by the author.

New Version 2.0

I've completely overhauled this product. The earlier version cheated by marking ignored threads and forums as read before executing the get new query, so it worked only for New Posts set to get new. The way the new version works is still not elegant owing to lack of hook locations available but it gets the job done for New Posts, Today's Posts and in the Forum Home Page and Forum Display.

Other New Features:
  • Users can set where the Ignore System is enabled in their User Settings. It can be enabled for New Posts, Today's posts and Forum Home & Forum Display.

  • Ignored threads used to be listed in the User Settings by threadid, or the order in which the threads were first posted. All new additions to the ignore lists will show at the end of the list.

  • No template edits in this version. If you have already edited SHOWTHREAD and FORUMDISPLAY you can just leave the changes in place, JavaScript will set them to display:none.

  • When I developed the older version I had the database fields set with a character limit that limited how many threads could be ignored. In this version the number is unlimited.

  • This version has its own setting group and doesn't require any restrictions on Thread/Forum Read Marking Type.

Using the Ignore System

You can set a thread to ignored in the Thread Tools menu and unignore it there later if you can navigate back to it. Similarly you can ignore forums in Forum Tools menu. Thread and forum ignore lists can be edited in UserSettings.


Installation:

Upload the product XML file in Product Manager. If you have the old version, set to overwrite existing files. No edits or files to upload.

Download Now

File Type: xml product-thread_forum_ignore.xml (28.8 KB, 147 views)

Screenshots

File Type: png tfis_usercp.png (20.8 KB, 0 views)
File Type: png tfis_admincp.png (109.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Duke49th

Comments
  #22  
Old 02-07-2013, 07:36 AM
Expat Expat is offline
 
Join Date: Jun 2006
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, and am getting the following error when users select threads from the forum:



Parse error: syntax error, unexpected '*', expecting T_VARIABLE or '$' in /home/expatko/public_html/bbs/includes/class_core.php(4627) : eval()'d code on line 299


Edit: I repaired the issue by restoring the default template
Reply With Quote
  #23  
Old 02-13-2013, 03:43 AM
Phaedrus Phaedrus is offline
 
Join Date: Jul 2006
Location: Colorado
Posts: 617
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do they see the ignored thread at all? Basically, if they ignore a thread will it show up in the forum as ignored like the post of somebody they ignored?

Can you make it so that it automatically ignores the threads started by somebody you've ignored?
Reply With Quote
  #24  
Old 03-13-2013, 04:01 PM
attroll's Avatar
attroll attroll is offline
 
Join Date: Jan 2003
Location: Litchfield, Me
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is sort of what I have been looking for. If you could just get it to do a true Ignore Thread so it does not show up for the user at all then this would be an ideal addon. Otherwise is is really almost useless.
Reply With Quote
  #25  
Old 05-20-2013, 04:38 PM
huskermax huskermax is offline
 
Join Date: Mar 2010
Location: Cincinnati
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you set this up by user group? It sounds like it but not sure. Have a paid board so I would only want my paid user group to use this.
Reply With Quote
  #26  
Old 06-11-2013, 02:44 PM
huskermax huskermax is offline
 
Join Date: Mar 2010
Location: Cincinnati
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed and it is not working in Version 4.2.0

I see the link to ignore the thread or forum in thread tools but when I ignore something it still shows up on the board.

I even see the thread I selected in my settings menu.
Reply With Quote
  #27  
Old 10-05-2013, 10:36 AM
kvv-dvk kvv-dvk is offline
 
Join Date: Sep 2013
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Expat View Post
Installed, and am getting the following error when users select threads from the forum:



Parse error: syntax error, unexpected '*', expecting T_VARIABLE or '$' in /home/expatko/public_html/bbs/includes/class_core.php(4627) : eval()'d code on line 299


Edit: I repaired the issue by restoring the default template
Is this the only way? I get this message and also to restore the whole thing quite well again I is not waiting.
Reply With Quote
  #28  
Old 12-06-2013, 06:31 PM
dougdirac's Avatar
dougdirac dougdirac is offline
 
Join Date: Nov 2011
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know if this works on vB 4.2.2 using php 5.5?
Reply With Quote
  #29  
Old 02-22-2014, 01:57 AM
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: May 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does this ignore the thread? It doesn't even hide it from the user? Pretty worthless without this feature. Sad. :/
Reply With Quote
  #30  
Old 04-03-2014, 06:20 PM
Chippiewall Chippiewall is offline
 
Join Date: Apr 2014
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just like to point out there is a serious SQL injection vulnerability with this plugin. I'm currently reviewing the code to find a fix.

Edit: Code removed by Staff, code would hint at exploit vector although I noted the issue in the quarantine thread .
Reply With Quote
Благодарность от:
furnival
  #31  
Old 06-24-2014, 04:36 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm assuming nerbert is just busy therefor I've made a change to the product thereby fixing the exploit noted by Chippiewall. Please download and install (select to overwrite) the new version attached. The file name remains product-thread_forum_ignore.xml however it is the new, patched file that is now available for download as of 1:35pm GMT-5 today.
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 03:25 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.06203 seconds
  • Memory Usage 2,339KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete