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 / Classic ASP versions(v3.4.XX)
 where has this code come from?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GarethMoore1979
Junior Member

United Kingdom
220 Posts

Posted - 05 August 2004 :  08:38:13  Show Profile
ActiveTopicCount = -1
if IsEmpty(Session(strCookieURL & "last_here_date")) then
Session(strCookieURL & "last_here_date") = ReadLastHereDate(strDBNTUserName)
end if
if not IsNull(Session(strCookieURL & "last_here_date")) then
if not blnHiddenForums then

'## Forum_SQL - Get ActiveTopicCount from DB
strSql = "SELECT COUNT(" & strTablePrefix & "TOPICS.T_LAST_POST) AS NUM_ACTIVE "
strSql = strSql & "FROM " & strTablePrefix & "TOPICS "
strSql = strSql & "WHERE (((" & strTablePrefix & "TOPICS.T_LAST_POST)>'"& Session(strCookieURL & "last_here_date") & "'))"
strSql = strSql & " AND " & strTablePrefix & "TOPICS.T_STATUS <= 1"

set rs = my_Conn.Execute(strSql)

if not rs.EOF then
ActiveTopicCount = rs("NUM_ACTIVE")
else
ActiveTopicCount = 0
end if
end if
end if




Its in my previous forum of snitz which was modded (in inc_header.asp) but its not in the newest version and I cant see that it has come from any mods either!
so where is it from?

Edited by - GarethMoore1979 on 05 August 2004 12:46:10

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 05 August 2004 :  09:25:18  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
Looks like the active users mod (or some variation thereof)

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 05 August 2004 :  10:28:32  Show Profile  Visit Jezmeister's Homepage
i dont think its active users, looks more like you've put some statistics in your header
Go to Top of Page

GarethMoore1979
Junior Member

United Kingdom
220 Posts

Posted - 05 August 2004 :  10:40:30  Show Profile


yea i know what it is now

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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07