diff --git a/e107_plugins/newforumposts_main/newforumposts_main.php b/e107_plugins/newforumposts_main/newforumposts_main.php index c63d58e97..e1b753fe6 100644 --- a/e107_plugins/newforumposts_main/newforumposts_main.php +++ b/e107_plugins/newforumposts_main/newforumposts_main.php @@ -199,7 +199,10 @@ foreach ($forumArray as $forumInfo) $tmp = explode(".", $x[0], 2); if($user_name) { - $POSTER = "$user_name"; + //$POSTER = "$user_name"; + $uparams = array('id' => $tmp[0], 'name' => $user_name]); + $link = e107::getUrl()->create('user/profile/view', $uparams); + $POSTER = "".$user_name.""; } else { diff --git a/online.php b/online.php index 68595a362..29a582fde 100644 --- a/online.php +++ b/online.php @@ -273,7 +273,10 @@ Think these are no longer used $ONLINE_TABLE_ICON = (vartrue($pref['plug_installed']['pm']) && $oid != USERID ? $tp->parseTemplate("{SENDPM={$oid}}", 'sendpm.sc') : ""); - $ONLINE_TABLE_USERNAME = "{$oname}"; + //$ONLINE_TABLE_USERNAME = "{$oname}"; + $uparams = array('id' => $oid, 'name' => $oname); + $link = e107::getUrl()->create('user/profile/view', $uparams); + $ONLINE_TABLE_USERNAME = "".$oname.""; $ONLINE_TABLE_LOCATION = ($class_check ? "{$online_location_page}" : $online_location_page); $textstring .= preg_replace("/\{(.*?)\}/e", '$\1', $ONLINE_TABLE);