From 5ce12ebadb16cec51a5b4db4debc108a1a96cdfb Mon Sep 17 00:00:00 2001 From: rica-carv Date: Wed, 7 Dec 2016 17:25:13 +0000 Subject: [PATCH 1/2] Update forum_shortcodes.php --- e107_plugins/forum/shortcodes/batch/forum_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php index d2176836a..ceaabd52d 100644 --- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php +++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php @@ -507,7 +507,7 @@ class forum_shortcodes extends e_shortcode // code to be executed if n is different from all labels; } } - return $relativeDate.'
'.$lastpost_username." ".IMAGE_post2.''; + return $lastpost_username." ".$relativeDate.''; } function sc_startertitle() From b96ce5ee0fb5ced7a23f3b0ebaf5dab0b1411cc7 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Wed, 7 Dec 2016 17:28:40 +0000 Subject: [PATCH 2/2] Update forum_template.php --- e107_plugins/forum/templates/forum_template.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_plugins/forum/templates/forum_template.php b/e107_plugins/forum/templates/forum_template.php index 877873553..33661636f 100644 --- a/e107_plugins/forum/templates/forum_template.php +++ b/e107_plugins/forum/templates/forum_template.php @@ -134,9 +134,11 @@ $FORUM_TEMPLATE['main']['forum'] = " {FORUMNAME}
{FORUMDESCRIPTION}{FORUMSUBFORUMS} {REPLIESX} {THREADSX} - {LASTPOSTUSER} {LASTPOSTDATE} + {LASTPOST:type=username} {LASTPOST:type=datelink} "; +//{LASTPOST:type=username} + {LASTPOST:type=datelink} can also be replaced by the legacy shortcodes {LASTPOST} or {LASTPOSTUSER} + {LASTPOSTDATE} + $FORUM_TEMPLATE['main']['end'] = ""; // $FORUM_WRAPPER['main']['forum']['USERINFOX'] = "{FORUM_BREADCRUMB}(html before){---}(html after)";