Author |
Topic |
|
mykel_suthertun
Junior Member
USA
227 Posts |
Posted - 17 April 2003 : 14:44:26
|
I would like to add statistics to another page on my site. Right now I just have<%
Response.Write "There are " & Posts & " Posts in " & Topics & " Topics and " & Users & " Users" & vbNewline
%> What else do I need to add to get it to say that on my page? |
Mike Southerton Webmaster | Don'tSayDie.com | DriveThe.com |
Edited by - mykel_suthertun on 27 April 2003 13:13:11 |
|
puzo
Junior Member
Israel
417 Posts |
Posted - 23 April 2003 : 08:23:12
|
stop bumping this topic |
|
|
|
mykel_suthertun
Junior Member
USA
227 Posts |
Posted - 23 April 2003 : 09:10:25
|
Sorry, but I can't seem to find any help anywhere else and my search for an answer only resulted in a huge number of unrelated queries. I'm sure this has been answered before, so if anyone has a link to a topic or something I'd appreciate it. |
Mike Southerton Webmaster | Don'tSayDie.com | DriveThe.com |
|
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 23 April 2003 : 09:17:19
|
In default.asp there is a sub called WriteStatistics(), you could copy that sub into the file you wish the statistics to show up, then where ever you want them to show use this code...
<%
Call WriteStatistics()
%>
|
|
|
mykel_suthertun
Junior Member
USA
227 Posts |
|
Kat
Advanced Member
United Kingdom
3065 Posts |
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
Posted - 23 April 2003 : 12:20:08
|
TopSQL is another function, you will need to copy it into your new file along with the WriteStatistics() sub, however I can't seem to find it yet, so I can't tell you where to copy it from. |
|
|
mykel_suthertun
Junior Member
USA
227 Posts |
|
mykel_suthertun
Junior Member
USA
227 Posts |
Posted - 23 April 2003 : 14:23:41
|
hmmm.... well, i found it in inc_func_common.asp, but after i added it i got another error:ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/Sp03SouthertonFinal/welcome.asp, line 42 any idea what's causing this? |
Mike Southerton Webmaster | Don'tSayDie.com | DriveThe.com |
|
|
mykel_suthertun
Junior Member
USA
227 Posts |
Posted - 23 April 2003 : 15:29:28
|
I just realized that I have Show Detailed Statistics set to off on my forum. Is this what's giving me the error? |
Mike Southerton Webmaster | Don'tSayDie.com | DriveThe.com |
|
|
|
Topic |
|