Author |
Topic  |
|
klub
Starting Member
USA
37 Posts |
Posted - 11 May 2006 : 15:16:10
|
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 |
|
klub
Starting Member
USA
37 Posts |
Posted - 11 May 2006 : 18:38:46
|
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" |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 12 May 2006 : 01:35:33
|
I'll post my code tonight for you  |
 |
|
klub
Starting Member
USA
37 Posts |
Posted - 12 May 2006 : 11:26:12
|
sweet, thanks buddy. |
"Kids, you tried your best and you failed miserably. The lesson is, never try" |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 12 May 2006 : 20:50:50
|
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. |
 |
|
klub
Starting Member
USA
37 Posts |
Posted - 15 May 2006 : 11:27:57
|
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" |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 15 May 2006 : 17:48:01
|
Sorry, it must have been more that I added to active.asp   |
 |
|
klub
Starting Member
USA
37 Posts |
Posted - 18 May 2006 : 11:58:48
|
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" |
 |
|
|
Topic  |
|