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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Offline/online icon for posts (from Dayve)
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

GauravBhabu
Advanced Member

4288 Posts

Posted - 13 July 2001 :  00:39:49  Show Profile
quote:

I don't see the on-line / off-line mod on your forums.

Do you have a test site they are immplemented on?



http://www.ugfl.net/forums




Yes this is under development.

There is only one miracle...That is LIFE!

Edited by - GauravBhabu on 13 July 2001 01:34:59

Edited by - GauravBhabu on 13 July 2001 01:36:02
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 13 July 2001 :  00:54:01  Show Profile
worked fine for me showed me online



http://www.ugfl.net/forums
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 13 July 2001 :  01:00:18  Show Profile
quote:

worked fine for me showed me online



http://www.ugfl.net/forums



The problem seems to be when i am logged in as Admin. I will check the Sql.

gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page

Memorom
Starting Member

24 Posts

Posted - 13 July 2001 :  13:51:40  Show Profile
quote:

worked fine for me showed me online



http://www.ugfl.net/forums


I am not getting any errors but I do not see any images. I have uploaded them to the root with all the asp files and here is my code placed right after the "Reply to topic" code...
src="icon_reply_topic.gif" height=15 width=15 alt="Reply with Quote" border="0" align="absmiddle" hspace="6"></a>
<%end if %>
in the topic.asp file and before the
<%if (strIPLogging = "1") then %>
line...

<%dim strUser
NamestrUserName = rs("M_NAME")
set rsOnline = Server.CreateObject("ADODB.Recordset")
strOnlineSql ="SELECT *"
strOnlineSql = strOnlineSql & " FROM FORUM_ONLINE"
strOnlineSql = strOnlineSql & " WHERE FORUM_ONLINE.UserID = '" & strUserName & "'"

dim rsOnlineMember
set rsOnlineMember = my_Conn.Execute (strOnlineSql)
If rsOnlineMember.EOF or rsOnlineMember.BOF then
%>
<img src="icon_offline.gif" width="42" height="16">
<%
Else
%>
<img src="icon_online.gif" width="42" height="16">
<% end if %>
<% set rsOnlineMember = nothing %>

Here is my site...on the really slow brinkster server...Am I pasting the code in the wrong spot?

http://www13.brinkster.com/memorom/





Edited by - Memorom on 13 July 2001 13:56:36
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 13 July 2001 :  14:14:46  Show Profile
There are 2 places to do that in topic.asp you may have only gotten it for the first post but not all the replys and that's what you are not seeing

http://www.ugfl.net/forums
Go to Top of Page

Memorom
Starting Member

24 Posts

Posted - 13 July 2001 :  14:55:58  Show Profile
Where else do you place it? Is the first place correct?

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 13 July 2001 :  16:24:01  Show Profile
look for the second occurance of

src="icon_reply_topic.gif" height=15 width=15 alt="Reply with Quote" border="0" align="absmiddle" hspace="6"></a>



http://www.ugfl.net/forums
Go to Top of Page

Memorom
Starting Member

24 Posts

Posted - 13 July 2001 :  17:05:40  Show Profile
Okay, I'm really close now. Is there a function that will update the database automatically for me? If not, what do I need to do to the database?

Microsoft JET Database Engine error '80040e37'

The Microsoft Jet database engine cannot find the input table or query 'FORUM_ONLINE'. Make sure it exists and that its name is spelled correctly.

/memorom/topic.asp, line 557


Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 13 July 2001 :  17:31:48  Show Profile
you need to have the Active Users mod installed before using this on/offline addition to it.

Search these forums for the Active Users Mod Updated with IP viewing



http://www.ugfl.net/forums
Go to Top of Page

Memorom
Starting Member

24 Posts

Posted - 13 July 2001 :  17:34:24  Show Profile
That's what I figured. I'm doing that as we speak. There just seems to be so many changes and additions that I don't know where to get the most recent stable version.

Go to Top of Page

Memorom
Starting Member

24 Posts

Posted - 13 July 2001 :  19:04:29  Show Profile
OK Big9erfan...I have the Active Users Mod installed (with IP viewing) and I have made your adjustments from another Topic for the duplicate IP's. This is all working great!

The online/offline is not working properly though. I only have an offline icon showing even when I am logged in as a Member or Admin. Any ideas?

Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 13 July 2001 :  19:16:05  Show Profile
I'll be leaving town this weekend but e-mail me your inc_top.asp and your topic.asp and I'll take a look

big9erfan@ugfl.net



http://www.ugfl.net/forums
Go to Top of Page

swatijain
Starting Member

48 Posts

Posted - 14 July 2001 :  22:54:37  Show Profile
Umm..the link for the Online Image doesn't work.

the correct one seems to be:

http://www.nineinchnailz.com/forum/icon_online1.gif

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 20 July 2001 :  15:28:48  Show Profile
Admin always shows offline.

gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 04 August 2001 :  15:56:32  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
quote:

Admin always shows offline.

gauravbhabu

There is only one miracle...That is LIFE!



sorry for not answering earlier (i was gone for 3 weeks) but, you may have the MOD that Alan (AZNknight) created that gave the Admin invisibility. that could be the problem.

RDoGG™
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07