Can I change the watch decrement points from 24 hourly to weekly?

Started by Jade Elizabeth, August 01, 2015, 01:50:06 AM

Previous topic - Next topic

Jade Elizabeth

I want the watch decrement points setting to be weekly, not 24 hourly... how do I do that?
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

margarett

Didn't actually test it but I assume you just need to change the time limit in ScheduledTasks.php
if ($row['last_warning'] <= time() - 86400)
86400 is the number of seconds in 24h, multiply it by 7 and you have a week.

Looking at the function code it should work fine like this (even if still called every day)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Jade Elizabeth

Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Jade Elizabeth

I ended up changing it to 3 days in the end. 10 weeks is a bit much for 10 points but 30 days is just right ;).
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: