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
  #2  
Old 05-16-2015, 02:46 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice, thank you.
A question,
Users For Whom Threads Are Marked Unread
If we want a specific usergroup rather than id's of members is no option.
If I got this right
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 05-16-2015, 02:55 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
Very nice, thank you.
A question,
Users For Whom Threads Are Marked Unread
If we want a specific usergroup rather than id's of members is no option.
If I got this right
Yes, I considered using usergroups rather than userids for that option, but I felt there would likely be users in the chosen groups who would rather not be included. So, in the end, I felt it wise to only include users individually rather than by usergroup.

However, since you have expressed interest in this, I will update the product soon to give you the option to either include users by usergroup or individually by userid. :up:
Reply With Quote
  #4  
Old 05-16-2015, 03:20 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works fine in vb 4.2.0 pl4
Forums may have a lot of moderators or stuff or other different basic usergroups, I think if another option to select usergroup without excluding and the id option if some needed working only with id will be much better.

Thank you very much.
Reply With Quote
  #5  
Old 05-17-2015, 03:01 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have made the requested feature update. You can now select users for whom threads will be marked as unread either by usergroup, userid, or both.
Reply With Quote
  #6  
Old 05-17-2015, 06:32 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes Mark very nice. Except Admins - Mods we have PC Advisors, GPS Advisors, Team Support.
That means many users want to know that changes have been made.

After update to vb4.2.0 there is standard "Message Posting Doublepost", this does not make unread post after a double post. You're Mod takes effect there to


:up: Excellent
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 05-17-2015, 12:42 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
...After update to vb4.2.0 there is standard "Message Posting Doublepost", this does not make unread post after a double post. You're Mod takes effect there to ...
I just want to point out for others that if in the "Message Posting Doublepost Options" settings you set the option "Timestamp Update" to "Yes" then even without this add-on a merged double-post will mark a thread as unread.

I appreciate you letting me know that even if that option is set to "No" this add-on will mark a thread as unread for the desired users.
Reply With Quote
  #8  
Old 05-17-2015, 01:03 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't like to be of topic Timestamp Update is checked, only changes is posting time.
Maybe some other interference causing this to me. Any way your mod fixes this situation
Reply With Quote
  #9  
Old 05-17-2015, 01:10 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 don't like to be of topic Timestamp Update is checked, only changes is posting time.
Maybe some other interference causing this to me. Any way your mod fixes this situation
I don't see your posts here as off-topic at all. You are posting helpful, relevant feedback which I truly appreciate. :up:

I only ran a quick test on my dev site with this add-on disabled and "Timestamp Update" set to "Yes" and found that a thread was marked as unread when a double-post was merged. Perhaps another add-on you are running is causing your site to behave differently...but in any case, I am happy to know that my add-on fixes this for you.
Reply With Quote
Благодарность от:
Stratis
  #10  
Old 05-21-2015, 03:09 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
MarkFL
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 05:03 AM.


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.04386 seconds
  • Memory Usage 2,341KB
  • Queries Executed 24 (?)
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
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (2)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_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
  • 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
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete