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)
 Statistics in Active Topics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

klub
Starting Member

USA
37 Posts

Posted - 11 May 2006 :  15:16:10  Show Profile
Many of my users including myself are avid Active user fans. We use that more tan any other feature in the forum.

I would like to be able to put the Statistics that are on the main forum in my active topics page under the active users table.

is this even possible and how?

thanks

"Kids, you tried your best and you failed miserably. The lesson is, never try"

laser
Advanced Member

Australia
3859 Posts

Posted - 11 May 2006 :  18:08:21  Show Profile
Anything is possible

Do you mean the full Active User details, or just something like :

http://www.v8central.com/snitz3403/active.asp

(check the bottom of the page)
Go to Top of Page

klub
Starting Member

USA
37 Posts

Posted - 11 May 2006 :  18:38:46  Show Profile
just the standard statistics that come with the snitz forum exactly how you have it.

i noticed that you don't have this line in your statistics:

There are currently 653 topics and 6 active topics since you last visited.

i like that since that line isn't really that usefull.

can i get some help doing this laser?

thanks

"Kids, you tried your best and you failed miserably. The lesson is, never try"
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 12 May 2006 :  01:35:33  Show Profile
I'll post my code tonight for you
Go to Top of Page

klub
Starting Member

USA
37 Posts

Posted - 12 May 2006 :  11:26:12  Show Profile
sweet, thanks buddy.

"Kids, you tried your best and you failed miserably. The lesson is, never try"
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 12 May 2006 :  20:50:50  Show Profile
This should give you enough, in active.asp I added the red code :


<!--#include file="inc_activeusers.asp"-->
<%
if strShowStatistics = "1" then
	WriteStatistics


Those last 2 lines are fairly unique. You might need to add <% or %> as appropriate to get the include being outside the normal ASP code.
Go to Top of Page

klub
Starting Member

USA
37 Posts

Posted - 15 May 2006 :  11:27:57  Show Profile
i've already added the inc_activeusers.asp to my atcive.asp page but that doesn't give me the statiscits. But where i added it it doesn't have:

if strShowStatistics = "1" then
WriteStatistics

beneath it.

in fact, when i do a search for "if strShowStatistics = "1" then" in my active.asp it doesn't exist.

"Kids, you tried your best and you failed miserably. The lesson is, never try"
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 15 May 2006 :  17:48:01  Show Profile
Sorry, it must have been more that I added to active.asp
Go to Top of Page

klub
Starting Member

USA
37 Posts

Posted - 18 May 2006 :  11:58:48  Show Profile
i'm assuming that the statistics arn't in a file of their own like the activeuser.asp file so its not something i can just "include."

"Kids, you tried your best and you failed miserably. The lesson is, never try"
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07