[MMO] Old Thread Warning

[MMO] Old Thread Warning 2.2.1

No permission to download

markus68

Active member
Hi,
what date does the addon use ? The thread creation-date or the date of the last post ?

Thanks,
-Markus
 

Faust

Well-known member
I found an issue, on a thread older than 1 year, is still says 2 years older. Seems the addon is not doing right job.
 

kick

Well-known member
That's no problem at all.
1623786748376.png
Set the appropriate option to determine the date difference by simply removing the rounding
 

Faust

Well-known member
Thanks, I also want to set to non active old threads, I have old threads which are active but I wouldn't like the notification to be shown there.
 

Mr Lucky

Well-known member
Thanks, I also want to set to non active old threads, I have old threads which are active but I wouldn't like the notification to be shown there.
Surely if the criterion date is the last post, then it would not be current anyway???
 

Bulbagarden

Member
I've been getting some errors related to the template from this addon since updating the MMO Core Library.

Code:
TypeError: Template public:motw_notice_warning error: Argument 1 passed to Carbon\CarbonImmutable::singularUnit() must be of the type string, null given, called in [pathremovedforsecurity]/src/addons/MMO/CoreLib/_vendor/nesbot/carbon/src/Carbon/Traits/Rounding.php on line 53 src/addons/MMO/CoreLib/_vendor/nesbot/carbon/src/Carbon/Traits/Date.php:2423
 
Top