MyBB Support

[Help] Date On Forumdisplay

Submitted by Kreon, , Thread ID: 47368

Thread Closed

RE: [Help] Date On Forumdisplay

OP
#3
21-09-2017, 12:21 PM
TuttiFrutti Wrote:
Open your forumdisplay.php
search for
Code:
eval("\$threads .= \"".$templates->get("forumdisplay_thread")."\";");

add above
Code:
$threaddate = my_date($mybb->settings['dateformat'], $thread['dateline']);
    $threadtime = my_date($mybb->settings['timeformat'], $thread['dateline']);

Go into your Template "forumdisplay_thread", search for
Code:
{$thread['profilelink']}

then it's up to you how you add these codes..
Code:
{$threaddate} {$threadtime}

if as you say i can do it, i want format 1 year, 1 mont, yesterday, and today. like the one in screenshoot, apologize in advance because my question is less detail.

Users browsing this thread: 1 Guest(s)