diff --git a/e107_plugins/forum/newforumposts_menu.php b/e107_plugins/forum/newforumposts_menu.php index c5f27d746..e2b8a0405 100755 --- a/e107_plugins/forum/newforumposts_menu.php +++ b/e107_plugins/forum/newforumposts_menu.php @@ -45,7 +45,7 @@ class forum_newforumposts_menu // plugin folder + menu name (without the .php) $qry = " SELECT p.post_user, p.post_id, p.post_datestamp, p.post_user_anon, p.post_entry, - t.thread_id, t.thread_datestamp, t.thread_name, u.user_name, f.forum_sef + t.thread_id, t.thread_datestamp, t.thread_name, u.user_id, u.user_name, u.user_image, u.user_currentvisit, f.forum_sef FROM `#forum_post` as p LEFT JOIN `#forum_thread` AS t ON t.thread_id = p.post_thread @@ -67,14 +67,19 @@ class forum_newforumposts_menu // plugin folder + menu name (without the .php) $pref = e107::getPref(); $qry = $this->getQuery(); + $ns = e107::getRender(); + $list = null; + $text = null; + if($results = $sql->gen($qry)) { - $text = "
"; + + $text = $list; } else { @@ -150,7 +165,7 @@ class forum_newforumposts_menu // plugin folder + menu name (without the .php) // e107::debug('menuPref', $this->menuPref); - e107::getRender()->tablerender($caption, $text, 'nfp_menu'); + $ns->tablerender($caption, $text, 'nfp_menu'); } diff --git a/e107_web/css/backcompat.css b/e107_web/css/backcompat.css index fe5624497..0492148e9 100644 --- a/e107_web/css/backcompat.css +++ b/e107_web/css/backcompat.css @@ -40,3 +40,16 @@ ul.breadcrumb li span.divider { padding-left:5px; } .img-responsive { max-width:100%; } + +.media-list { + padding-left: 0; + list-style: none; +} + +.media-body, .media-left, .media-right { + display: table-cell; + vertical-align: top; +} +.media-left, .media > .pull-left { + padding-right: 10px; +} \ No newline at end of file