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
Mark Thread Unread On Edit Details »»
Mark Thread Unread On Edit
Version: 2.2.2, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 05-15-2015 Last Update: 03-12-2017 Installs: 22
Uses Plugins
Translations  
No support by the author.

Overview:

This simple product will mark a thread as unread when a post is edited, and the content of the post actually changes.

The site I help administrate is a math help forum, and sometimes users will post an incomplete question for which no help can effectively be given, and then they will later edit their post to provide relevant information, and it is nice for that thread to then be returned to unread status.

In the settings for this product, you choose which users (by usergroup and/or username) who will see the thread with the edited post as unread and which usergroup(s) making such edits will cause the thread to be marked as unread.

Note: Upon installation of version 2.0 or higher, the setting "Thread/Forum Read Marking Type" is auto-set to "Database (automatic forum marking)" in order to make certain this setting is fully compatible with this product.

Updates:

Version 1.1:
  • Allows you to choose users for whom threads will be marked as unread by usergroup, userid, or both.

Version 2.0:
  • A complete overhaul, easier to use and more efficient code logic.

Version 2.1:
  • Fixed issue where other threads not actually read, yet marked as read using the "Mark Forums As Read" links, will stay marked as read when a post is edited.
  • Product is now triggered by the usergroup membership of the post author, not on who actually edits the post.

Version 2.2:
  • Fixed issue where edited posts were marked as unread for the person making the edit.

Version 2.2.1:
  • Disabled on CMS and Blog scripts to avoid potential db errors.

Version 2.2.2:
  • Fixed plugin typo.

Backup/Warning:

This product does not alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Mark Threads Unread On Edit v2.2.2.zip (4.3 KB, 27 views)

Screenshots

File Type: png markfl_mtuoe_acp.png (60.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 05-21-2015, 04:41 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
I had a situation with my server, so now I came back

Α suggestion, if you can make this mod to auto exclude the member that edits his post?
If member usergroup in both options is checked than the same member that makes the edit he will see unread his own post to.
I don't get that behavior...when I set myself in both groups, and then edit a post, once I am shown the thread with the edited post, I no longer see that thread as unread when I return to the forum listing.

Are you using the Quick Edit or Advanced Edit? If you are using the Quick Edit, then you will have to refresh the page I suspect.
Reply With Quote
  #13  
Old 05-21-2015, 05:05 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep edited with Quick Edit, still unread after refresh,
Sorry, I think maybe my problem again, because some issues with read - unread posts I have any way with other mods to (if you remember)
Reply With Quote
  #14  
Old 04-20-2016, 03:42 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 2.0:
  • A complete overhaul, easier to use and more efficient code logic.
Reply With Quote
  #15  
Old 04-22-2016, 01:17 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 2.1:
  • Fixed issue where other threads not actually read, yet marked as read using the "Mark Forums As Read" links, will stay marked as read when a post is edited.
  • Product is now triggered by the usergroup membership of the post author, not on who actually edits the post.
Reply With Quote
  #16  
Old 09-10-2016, 03:13 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 2.2:
  • Fixed issue where edited posts were marked as unread for the person making the edit.
Reply With Quote
  #17  
Old 09-12-2016, 07:29 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
Yep edited with Quick Edit, still unread after refresh,
Sorry, I think maybe my problem again, because some issues with read - unread posts I have any way with other mods to (if you remember)
Thanks for the update, hope it will work for me now... i had this uninstalled, i will test it tomorrow and come back with feedback.
Reply With Quote
  #18  
Old 09-12-2016, 04:03 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, when I edit a post of the thread, (this particular thread has 12,000 posts, I get that I have 197 unread post, for me as admin and for all other members that before had none unread. Probably some conflict with mine other modifications or else.

Thank you very much any way...
Reply With Quote
  #19  
Old 02-14-2017, 06:07 AM
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, when i change the date of a post with this mod :
https://vborg.vbsupport.ru/showthread.php?t=245183

and, when i edit that post , it not mark as unread
have you a solution for that please
thanks
Reply With Quote
  #20  
Old 02-14-2017, 06:58 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elsa23 View Post
Hi, when i change the date of a post with this mod :
https://vborg.vbsupport.ru/showthread.php?t=245183

and, when i edit that post , it not mark as unread
have you a solution for that please
thanks
If you are changing the date to an older one, then it is likely interfering with the database marking.

edit: Also, if you are making the edit yourself, the thread is not going to be marked as unread for you.
Reply With Quote
  #21  
Old 02-14-2017, 03:56 PM
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I use two comptes for tests
I made some test and finally, it's not a conflit with the hack that change the date of post but :
for exemple, if "Database Read Marking Limit" is 30 days, only edited posts that are published between today and 30 days ago are marked as unread
a post maked 31 day ago and edited, is not marked as unread

I have a post made in 2015 (events of an artist) that I update with new element and I want to mark it unread after edit
so I can't do that with your hack and i can't bump it with this hack because :
https://vborg.vbsupport.ru/showpost....3&postcount=82

Thanks Mark
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:45 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.15252 seconds
  • Memory Usage 2,337KB
  • 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
  • (3)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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