Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Statistics
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Statistics

 Post Reply Post Reply
Author
yandr View Drop Down
Groupie
Groupie


Joined: 10 March 2009
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote yandr Quote  Post ReplyReply Direct Link To This Post Topic: Statistics
    Posted: 04 November 2010 at 1:06pm
I have posted this before, as a MOD requirement.

However it is better to post it here as a suggestion.

The statistics provided are really week.

It would be great if you could add a public or admin-only page with complete statistics such as:
  • No of messages
  • No of topics
  • No of users
  • messages/day
  • topics/day
  • new users/day
  • messages/topic
  • popular topics by views
  • popular topics by replies
  • a break down of the number of messages and views each month
  • top posters
  • user registrations per month
  • etc


 
Back to Top
dld-nordic View Drop Down
Groupie
Groupie


Joined: 24 October 2008
Status: Offline
Points: 99
Post Options Post Options   Thanks (0) Thanks(0)   Quote dld-nordic Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2010 at 6:54pm
You could integrate this ASP stats page into the forum....
 
 
I have done it on www.vagbiler.dk and it works very well. It doesnt do the stats you want, but is more like AWstats in the way it works. Though not so advanced..... but very simple to setup and use.
Back to Top
yandr View Drop Down
Groupie
Groupie


Joined: 10 March 2009
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote yandr Quote  Post ReplyReply Direct Link To This Post Posted: 09 December 2010 at 1:59pm
Originally posted by dld-nordic dld-nordic wrote:

It doesnt do the stats you want
Exactly. I am using Google Analytics for the stats you posted.

I am looking for forum stats, as the ones I described above.
Back to Top
yandr View Drop Down
Groupie
Groupie


Joined: 10 March 2009
Status: Offline
Points: 106
Post Options Post Options   Thanks (0) Thanks(0)   Quote yandr Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2011 at 10:16am
I just wanted to say that I have built a webpage for some stats which you can use.

You will have to do a little translating though.


<!-- METADATA TYPE="TypeLib" FILE="C:\Program Files\Common Files\System\ado\msado15.dll" -->
<% @ LANGUAGE=VBScript CODEPAGE=1252 %>
<% Option Explicit %>
<!--#include file="common.asp" -->
<!--#include file="functions/functions_date_time_format.asp" -->
<!--#include file="language_files/calendar_language_file_inc.asp" -->
<!--#include file="language_files/language_s2h.asp" -->
<% 
on error resume next
Response.Buffer = true 
%>

<!-- #include file="includes/browser_page_encoding_inc.asp" -->

<title></title>
<link href="<% = strCSSfile %>default_style.css" rel="stylesheet" type="text/css" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!-- #include file="includes/header.asp" -->

<%

Dim antal_1
Dim antal_2
Dim antal_7
Dim antal_14
Dim antal_30
Dim antal_90

Dim post_1
Dim post_2
Dim post_7
Dim post_14
Dim post_30
Dim post_90

Dim postYmax, postYmaxName, postYminName, postYmin, postMmax, postMmin, postMmaxName, postMminName

strSQL = "SELECT COUNT(Author_ID) AS Antal FROM yandr.tblAuthor WHERE Last_visit > getdate() -1;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Antal_1 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(Author_ID) AS Antal FROM yandr.tblAuthor WHERE Last_visit > getdate() -2;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Antal_2 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(Author_ID) AS Antal FROM yandr.tblAuthor WHERE Last_visit > getdate() -7;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Antal_7 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(Author_ID) AS Antal FROM yandr.tblAuthor WHERE Last_visit > getdate() -14;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Antal_14 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(Author_ID) AS Antal FROM yandr.tblAuthor WHERE Last_visit > getdate() -30;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Antal_30 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(Author_ID) AS Antal FROM yandr.tblAuthor WHERE Last_visit > getdate() -90;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Antal_90 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(DISTINCT(Author_ID)) AS Antal FROM yandr.tblThread WHERE Message_date > getdate() -1;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Post_1 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(DISTINCT(Author_ID)) AS Antal FROM yandr.tblThread WHERE Message_date > getdate() -2;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Post_2 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(DISTINCT(Author_ID)) AS Antal FROM yandr.tblThread WHERE Message_date > getdate() -7;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Post_7 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(DISTINCT(Author_ID)) AS Antal FROM yandr.tblThread WHERE Message_date > getdate() -14;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Post_14 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(DISTINCT(Author_ID)) AS Antal FROM yandr.tblThread WHERE Message_date > getdate() -30;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Post_30 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close

strSQL = "SELECT COUNT(DISTINCT(Author_ID)) AS Antal FROM yandr.tblThread WHERE Message_date > getdate() -90;"
rsCommon.Open strSQL, adoCon
If NOT rsCommon.EOF Then Post_90 = CLng(rsCommon.Fields("Antal"))
rsCommon.Close


Dim strActiveUsers
strSQL = "SELECT TOP 20 Username, (SELECT COUNT(*) FROM yandr.tblThread WHERE Message_date > getdate() -30 AND tblThread.Author_ID = tblAuthor.Author_ID) AS beskeder FROM yandr.tblAuthor 

ORDER BY beskeder DESC"
set rsCommon = server.createobject("ADODB.Recordset")
rsCommon.Open strSQL, adoCon, adOpenForwardOnly, adLockReadOnly, adCmdText
rsCommon.movenext
while not rsCommon.EOF
strActiveUsers = strActiveUsers & vbCrLf & vbTab & vbTab & "<tr><td>" & rsCommon.Fields("Username") & "</td><td><center>" & rsCommon.Fields("Beskeder") & "</center></td><td><img 

src=http://images.ellinikos-stratos.com/stat.gif height=7 border=1 width=" & rsCommon.Fields("Beskeder")/1.2 & "></td></tr>"
rsCommon.movenext
wend
rsCommon.close


Dim strBeskedGraf
strSQL = "SELECT YEAR(Message_date) AS [aar], MONTH(Message_date) AS [maaned], DATENAME(m,Message_date) AS [maaned2], COUNT(*) AS [antal], (COUNT(*)/30) AS [gAntal] FROM yandr.tblThread 

where Message_date>= getdate() - 1200  GROUP BY YEAR(Message_date), MONTH(Message_date), DATENAME(m,Message_date) ORDER BY [aar] DESC,[maaned] DESC"
set rsCommon = server.createobject("ADODB.Recordset")
rsCommon.Open strSQL, adoCon, adOpenForwardOnly, adLockReadOnly, adCmdText
postMmax=0
postMmin=10000000000
while not rsCommon.EOF
if (rsCommon.Fields("Antal")>postMmax) then 
postMmax = rsCommon.Fields("Antal")
postMmaxName =  replace(getMonthName(cint(rsCommon.Fields("maaned"))) & " του " & rsCommon.Fields("aar"),"ς","")
end if
if (rsCommon.Fields("Antal")<postMmin) then 
postMmin = rsCommon.Fields("Antal")
postMminName =  replace(getMonthName(cint(rsCommon.Fields("maaned"))) & " του " & rsCommon.Fields("aar"),"ς","")
end if
strBeskedGraf = strBeskedGraf & vbCrLf & vbTab & vbTab & "<tr><td class=smText>" & rsCommon.Fields("aar") & " - " & getMonthName(cint(rsCommon.Fields("
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 29 August 2011 at 10:58am
Thanks yandr, have moved this to the Web Wiz Forums Mod Forum.
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 31 August 2011 at 1:32am
CODE tags would be nice :)
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.