[For 1.8] DVZ Shoutbox Timeformat Change
#1
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
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.

   

Thanks to my friend @noyle for helping me out.

Enjoy guys.
Reply


Messages In This Thread
DVZ Shoutbox Timeformat Change - by kbilly - 2020-08-22, 12:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)