2019-01-12, 09:04 PM
(2019-01-12, 07:24 PM)OmarĀ G. Wrote: [ -> ]Add a new settings (MyBB has this feature by default), then change the following:
$yesterday = TIME_NOW-86400;
To:
$yesterday = TIME_NOW-(86400*(int)$mybb->settings['YOUR_IDENTIFIER']);
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?