vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Mark Thread Unread On Edit (https://vborg.vbsupport.ru/showthread.php?t=318686)

MarkFL 02-14-2017 04:18 PM

Quote:

Originally Posted by elsa23 (Post 2582326)
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 :(...

Yes, that's because there is nothing in the db (forumread and threadread tables) for a thread older than your marking limit, so the product cannot have any effect on it. :)

elsa23 02-14-2017 04:43 PM

Quote:

Originally Posted by elsa23 (Post 2582326)
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

The only solution : I change the date of the post to today for exemple, and edit it, it will mark as unread

It's not logique because a lot of members had liked the post in the past (the post with the new date of today) but I can not do otherwise :(

I want to keep the likes, that's why.

MarkFL 02-14-2017 04:53 PM

Marking a thread as unread (given that database marking is being used) depends on a thread being within the limit. Otherwise, you need to bump the thread with a new post. :)

bazookajoe 02-16-2017 01:38 PM

Like this hack :D

MarkFL 03-13-2017 01:28 AM

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

elsa23 03-13-2017 06:08 AM

Hi, I had updated it on local, but when I quick edit a post, it turn without sending, I reload the page, the post is edited but not show as unread
when I return to prévious version, it works again

MarkFL 03-13-2017 06:27 AM

Quote:

Originally Posted by elsa23 (Post 2583796)
Hi, I had updated it on local, but when I quick edit a post, it turn without sending, I reload the page, the post is edited but not show as unread
when I return to pr?vious version, it works again

Thanks for letting me know...it's been one of those days. :)

Update - Version 2.2.2:
  • Fixed plugin typo.

Snowhog 03-13-2017 05:54 PM

Quote:

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.
I'm a tad confused by this. By default, other than Administrators, aren't OPs (Original Posters) the only ones who can edit their (OP) posts? Why would you want to exclude any usergroup from seeing an edited post/thread as unread? I know that I overthink things at times; okay, a lot; but as stated, this has me confused. :confused:

MarkFL 03-13-2017 06:02 PM

Quote:

Originally Posted by Snowhog (Post 2583812)
I'm a tad confused by this. By default, other than Administrators, aren't OPs (Original Posters) the only ones who can edit their (OP) posts? Why would you want to exclude any usergroup from seeing an edited post/thread as unread? I know that I overthink things at times; okay, a lot; but as stated, this has me confused. :confused:

Moderators can also edit posts, as well as any usergroups you have given this permission.

Some of your staff members may not want to be "bothered" by having threads marked as unread when a post has simply been edited, so you have the option to control who (by usergroup and by username) for whom this happens. :)

Snowhog 03-13-2017 06:09 PM

Quote:

Some of your staff members may not want to be "bothered"
Ah, now that helps put this MOD in context (for me). Thank you.


All times are GMT. The time now is 06:14 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.01262 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete