Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Adding Newpoints into user pruning task
Not Solved
(01-12-2019, 07:24 PM)Omar G. Wrote: Add a new settings (MyBB has this feature by default), then change the following:
$yesterday = TIME_NOW-86400;

$yesterday = TIME_NOW-(86400*(int)$mybb->settings['YOUR_IDENTIFIER']);

[Image: JsNSnvh.jpg]

I would create a custom group for custom settings myself.

So the time would be added in like days? for example, last month would be "30" in numeric field?
Not Solved
With the example code I have been providing you with, yes, it would be in days.
Jump to the post that solved this thread.

Forum Jump:

Users browsing this thread: 1 Guest(s)