If saryActiveUsers(1, intArrayPass) = 2 Then
intActiveGuests = intActiveGuests + 1
'Else add the name of the members name of the active users to the members online string
Else
If strMembersOnline <> "" Then strMembersOnline = strMembersOnline & ", "
strMembersOnline = strMembersOnline & "<a href=""JavaScript:openWin('pop_up_profile.asp?PF=" & saryActiveUsers(1, intArrayPass) & "','profile','toolbar=0,location=0,status=0,menubar=0,scroll bars=1,resizable=1,width=590,height=425')"" class=""smLink"">"
if intGroup_Type = 1 OR intGroup_Type = 2 then strMembersOnline = strMembersOnline &"<b>"
strMembersOnline = strMembersOnline & saryActiveUsers(2, intArrayPass) & ""
if intGroup_Type = 1 OR intGroup_Type = 2 then strMembersOnline = strMembersOnline &"</b>"
strMembersOnline = strMembersOnline &"</a>"
End If
the code above is the code you just provided with the editing .. the part in bold are the sections ive changed... remember you need to set a query ..to use the ID to check ifg the user is a moderator.