Index: branches/RC/admin/install/inportal_data.sql
===================================================================
diff -u -r10206 -r10209
--- branches/RC/admin/install/inportal_data.sql	(.../inportal_data.sql)	(revision 10206)
+++ branches/RC/admin/install/inportal_data.sql	(.../inportal_data.sql)	(revision 10209)
@@ -234,5 +234,7 @@
 INSERT INTO Stylesheets VALUES (8, 'Default', 'In-Portal Default Theme', '', 1124952555, 1);
 
 INSERT INTO Counters VALUES (DEFAULT, 'members_count', 'SELECT COUNT(*) FROM <%PREFIX%>PortalUser WHERE Status = 1', NULL , NULL , '3600', '0', '|PortalUser|');
+INSERT INTO Counters VALUES (DEFAULT, 'members_online', 'SELECT COUNT(*) FROM <%PREFIX%>UserSession WHERE PortalUserId > 0', NULL , NULL , '3600', '0', '|UserSession|');
+INSERT INTO Counters VALUES (DEFAULT, 'guests_online', 'SELECT COUNT(*) FROM <%PREFIX%>UserSession WHERE PortalUserId <= 0', NULL , NULL , '3600', '0', '|UserSession|');
 
 INSERT INTO Modules VALUES ('In-Portal', 'kernel/', 'm', '4.3.0', 1, 0, '', 0, '1054738405');
