I would like to ask how can this be done?
my forum only shows until 11 o'clock, after that it adds a date, but I would like to show it to 23 o'clock without a date, is there a solution?
can anyone help me with this?
Thx.
so I would like to see it as shown in the picture
Hi,
as
Noyle said, you'll have to edit the inc/functions.php file and change the line:
elseif($ty != 2 && abs(TIME_NOW - $stamp) < 43200)
to:
elseif($ty != 2 && abs(TIME_NOW - $stamp) < 86400)
To have a 24 hour mode.
Remember: on every MyBB's update if the functions.php file is changed, you'll have to edit it again.
Remember 2: if you're going to edit core files, 1st make a backup, 2nd make a backup, 3rd have you made a backup of the file?, and 4th use a program like Notepad++ or similar to edit it.
(2019-12-02, 02:13 PM)NoRules Wrote: [ -> ]Hi,
as Noyle said, you'll have to edit the inc/functions.php file and change the line:
elseif($ty != 2 && abs(TIME_NOW - $stamp) < 43200)
to:
elseif($ty != 2 && abs(TIME_NOW - $stamp) < 86400)
To have a 24 hour mode.
Remember: on every MyBB's update if the functions.php file is changed, you'll have to edit it again.
Remember 2: if you're going to edit core files, 1st make a backup, 2nd make a backup, 3rd have you made a backup of the file?, and 4th use a program like Notepad++ or similar to edit it.
hi @Noyle
super ,and how can i set this up? 1day ago / 2 day ago / 3 day ago / 4 day ago / 5 day ago / 6 day ago / 1 weeks ago / 2 weeks ago / 3 weeks ago / 4 weeks ago ?
can anyone help me with this?