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
  #2  
Old 10-20-2011, 02:00 PM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!.. seems to be working great so far.

I have another forum-filter mod so I did not perform that template edit, just the thread ignore.
Reply With Quote
  #3  
Old 10-20-2011, 11:38 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only problem with that is the panel in user settings won't work to unignore forums.
Reply With Quote
  #4  
Old 10-22-2011, 11:37 AM
Kyoshokid's Avatar
Kyoshokid Kyoshokid is offline
 
Join Date: Feb 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A small suggestion / request if i may.

I would like to see a feature where i could pick default forums that i would like to ignore for everyone.

Or a stream line mod where it just ignores the forum of my choosing for all my users on the site.

Basically i want to ignore one forum I've made on my site from showing up for my users, its there if they wish to access it but its on the ignore list so it doesn't spam there new posts etx.

Thanks in advance.
Reply With Quote
  #5  
Old 10-23-2011, 01:02 AM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That would be a very difficult feature -- the adminCP setting would be $vbulletin->options['f_default'] but to work it would have to place the forumid string into $vbulletin->userinfo['f_ignore'], which would require an update query for all users every time you change it. In fact it would be difficult to write code that wouldn't do that every time you change any setting.

I doubt many people would get any use out of such a setting anyway.
Reply With Quote
  #6  
Old 11-07-2011, 08:21 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have been waiting for something like this, thanks!
Reply With Quote
  #7  
Old 11-07-2011, 08:36 AM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will I have to do these changes every time I upgrade?
Reply With Quote
  #8  
Old 11-07-2011, 09:58 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sticky View Post
Will I have to do these changes every time I upgrade?
No changes will be needed until vB5 as far as I can predict.
Reply With Quote
  #9  
Old 11-07-2011, 10:12 PM
sticky sticky is offline
 
Join Date: Sep 2003
Posts: 934
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nerbert View Post
No changes will be needed until vB5 as far as I can predict.
But I have to make these changes on every style?
Reply With Quote
  #10  
Old 11-07-2011, 11:51 PM
nerbert nerbert is offline
 
Join Date: May 2008
Posts: 784
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean the template changes? You should have one default style that all other styles are children style of. If you change the templates in Default, all the child styles should inherit it unless their templates have been changed previously.
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:47 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.05082 seconds
  • Memory Usage 2,329KB
  • 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
  • (2)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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