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
  #32  
Old 06-25-2014, 11:06 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work on vb 4.2 (pl2)?
Reply With Quote
  #33  
Old 06-26-2014, 02:50 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
Does it work on vb 4.2 (pl2)?
I can only speculate that it will, I have not installed this mod I only decided to help out nerbert and patch the mod so all of you could download and use it.

You can try the edits but please note: Look at the top of this mod, see all the little flags (checks before them showing what this mods does to your site when installing) especially the one titled "DB Changes" that means it alters your database so when you see that on ANY mod unless you're well versed in vBulletin it's a safe bet to run a quick database backup before installing the actual product file .
Reply With Quote
  #34  
Old 06-26-2014, 04:01 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skedoozy View Post
How does this ignore the thread? It doesn't even hide it from the user?
As written by the author:
This product eliminates ignored threads in the New Posts listings only, they are still listed in Today's Posts and in their forums.

and yes, I do know I am answering an old post. I just thought this was needed in the thread.
Reply With Quote
  #35  
Old 07-06-2014, 03:29 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am using vBulletin 4.2.1.

On my local server, I made the template edits, downloaded and imported the product file and it works flawlessly. I have recommended this to my fellow admins on our live site. :up:
Reply With Quote
  #36  
Old 07-06-2014, 10:18 PM
furnival furnival is offline
 
Join Date: Mar 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ekool View Post
Is there a limit of 28 forums max that can be ignored?
It's true that this modification is designed in a way that could be problematic for anyone with a user who tries to ignore more than a few forums or threads. The DB field the modification references is limited to 100 characters and each forum or thread is a 4 digit string, separated by a comma, so I understand why eKool asked if there was a 28 forum ignore limit. I think this needs to be addressed in any new version.
Reply With Quote
  #37  
Old 07-11-2014, 12:43 AM
Skedoozy's Avatar
Skedoozy Skedoozy is offline
 
Join Date: May 2006
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
As written by the author:
This product eliminates ignored threads in the New Posts listings only, they are still listed in Today's Posts and in their forums.

and yes, I do know I am answering an old post. I just thought this was needed in the thread.
Yeah, I realized that later. :/ I wanted it to hide in forum display, not in new posts. Oh well. Works as labeled though.
Reply With Quote
  #38  
Old 09-19-2014, 05:55 PM
huskermax huskermax is offline
 
Join Date: Mar 2010
Location: Cincinnati
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Skedoozy View Post
Yeah, I realized that later. :/ I wanted it to hide in forum display, not in new posts. Oh well. Works as labeled though.
If you could add hide from forum display this would be very helpful. Even set it up so each ignored thread will expire from the list in settings so that gives the ignored thread time to drop off the new listings and the main page of forum display. Allow admins to set that, so the list of ignored threads do not blow up the database.
Reply With Quote
  #39  
Old 09-23-2014, 08:56 AM
vBStu vBStu is offline
 
Join Date: Aug 2014
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheLastSuperman View Post
I can only speculate that it will, I have not installed this mod I only decided to help out nerbert and patch the mod so all of you could download and use it.

You can try the edits but please note: Look at the top of this mod, see all the little flags (checks before them showing what this mods does to your site when installing) especially the one titled "DB Changes" that means it alters your database so when you see that on ANY mod unless you're well versed in vBulletin it's a safe bet to run a quick database backup before installing the actual product file .
Quote:
The following error occurred when attempting to evaluate this template:
Invalid Tag Nesting
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

causes this error on a thread
Quote:
Parse error: syntax error, unexpected '*', expecting T_VARIABLE or '$' in /home/sites/sc/forum.smartcanucks.ca/includes/class_core.php(4633) : eval()'d code on line 239
Reply With Quote
  #40  
Old 01-17-2015, 08:59 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've overhauled this product so it now works in New Posts, Today's Posts, Forum Display and Forum Home. Users can choose where it is active. See the opening Post for details
Reply With Quote
4 благодарности(ей) от:
Alan_SP, daviet, ozzy47, RichieBoy67
  #41  
Old 05-21-2015, 06:23 PM
blah100 blah100 is offline
 
Join Date: Oct 2014
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance of this causing the forums/threads that have been ignored to also not show up in a activity stream sideblock? I tried it with the sideblock here https://vborg.vbsupport.ru/showthread.php?t=283800 but the posts/threads/forum updates that were ignored still show for members.
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 06:52 AM.


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.11645 seconds
  • Memory Usage 2,347KB
  • 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
  • (8)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
  • (5)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