Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 problem with online indicator
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 June 2001 :  16:35:05  Show Profile  Visit dayve's Homepage
I have installed the online indicator to the topic.asp and it has been working fine with exception of a mac user that most recently reported this to me. I have the following lines in my topic.asp:


strSql ="SELECT " & strTablePrefix & "ONLINE.UserID "
strSql = strSql & " FROM " & strTablePrefix & "ONLINE "
strSql = strSql & " WHERE " & strTablePrefix & "ONLINE.UserID = '" & rs("M_NAME") & "'"

set rsOnline = Server.CreateObject("ADODB.Recordset")
rsOnline.open strSql, my_Conn, 3


and then this:


<% if rsOnline.EOF or rsOnline.BOF then %>
 <img src="icon_offline.gif" alt="<% =rs("M_NAME") %> is offline" border="0" align="absmiddle" hspace="6">
<% rsOnline.close %>
<% else %>
<% if rsOnline("UserID") = rs("M_NAME") then %>
 <img src="icon_online1.gif" alt="<% =rs("M_NAME") %> is online" border="0" align="absmiddle" hspace="6">
<% else %>
 <img src="icon_offline.gif" alt="<% =rs("M_NAME") %> is offline" border="0" align="absmiddle" hspace="6">
<% end if %>
<% end if %>


this works for everyone but his indicator shows this: instead of

he shows in my buddy list and online users on the main forum page but the indcator shows offline?

helllllp!

Dayve


Edited by - dayve on 24 June 2001 16:36:51

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 24 June 2001 :  18:15:12  Show Profile
I don't have a solution to your problem dayve, but why would you think it would be a code problem? If it works ok for everyone else and not ok for a mac user, why would it be a code problem? I don't know anything about macs though. *shrugs*

Just thinking out loud here. You could probably find another mac user and see if they have the same problem. Or see if any other user has that problem, because your code looks ok.

- David
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07