Not Solved [How To?] I would like to see it for 24 hours
#4
Not Solved
(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 ?
Reply


Messages In This Thread
RE: I would like to see it for 24 hours - by MyBBEinstein - 2019-12-02, 02:33 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)