2020-08-22, 12:07 PM
Hello everyone!
If you guys are interested to change the standard time date format on your shoutbox to the modern "minutes ago" format, then please check the following steps.
Step1: Go to your Acp- settings- Dvz Shoutbox- Date format.
Change the
with
Save the settings.
Then go to the plugin file, search for
The complete line will be :
Replace the above line with:
Save the plugin file.
Hard refresh your browser and your time format will be changed to "minutes ago" format.
[attachment=43215]
Thanks to my friend @noyle for helping me out.
Enjoy guys.
If you guys are interested to change the standard time date format on your shoutbox to the modern "minutes ago" format, then please check the following steps.
Step1: Go to your Acp- settings- Dvz Shoutbox- Date format.
Change the
M-d, h:i
with
relative
Save the settings.
Then go to the plugin file, search for
my_date(
The complete line will be :
$date = htmlspecialchars_uni(my_date($mybb->settings['dvz_sb_dateformat'], $data['date']));
Replace the above line with:
$date = my_date($mybb->settings['dvz_sb_dateformat'], $data['date']);
Save the plugin file.
Hard refresh your browser and your time format will be changed to "minutes ago" format.
[attachment=43215]
Thanks to my friend @noyle for helping me out.
Enjoy guys.