Index: branches/RC/core/units/users/users_tag_processor.php =================================================================== diff -u -r10156 -r10204 --- branches/RC/core/units/users/users_tag_processor.php (.../users_tag_processor.php) (revision 10156) +++ branches/RC/core/units/users/users_tag_processor.php (.../users_tag_processor.php) (revision 10204) @@ -226,6 +226,24 @@ list ($ret, $tag_processed) = $this->processAggregatedTag('ImageSrc', $params, $this->getPrefixSpecial()); return $tag_processed ? $ret : false; } + + function LoggedIn($params) + { + static $loggedin_status = Array (); + + $object =& $this->getObject($params); + /* @var $object kDBList */ + + if (!isset($loggedin_status[$this->Special])) { + $user_ids = $object->GetCol($object->IDField); + $sql = 'SELECT LastAccessed, '.$object->IDField.' + FROM '.TABLE_PREFIX.'UserSession + WHERE (PortalUserId IN ('.implode(',', $user_ids).'))'; + $loggedin_status[$this->Special] = $this->Conn->GetCol($sql, $object->IDField); + } + + return isset($loggedin_status[$this->Special][$object->GetID()]); + } } ?> \ No newline at end of file Index: branches/RC/themes/default2007/platform/designs/users.tpl =================================================================== diff -u --- branches/RC/themes/default2007/platform/designs/users.tpl (revision 0) +++ branches/RC/themes/default2007/platform/designs/users.tpl (revision 10204) @@ -0,0 +1,35 @@ + + + + + + +
img/s.gif" width="1" height="1" alt="" />
+ + + + + "> + + + + + + + + + + + + + + + +
+ + + + + + + \ No newline at end of file Index: branches/RC/themes/default2007/platform/members_list.tpl =================================================================== diff -u --- branches/RC/themes/default2007/platform/members_list.tpl (revision 0) +++ branches/RC/themes/default2007/platform/members_list.tpl (revision 10204) @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + () + + + + + + + + + + + + + + + +
+
img/s.gif" width="1" height="1" alt="" />
+
+ + +
+ +
+ + \ No newline at end of file