| Author |
Topic Search Topic Options
|
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 October 2007 at 6:51pm |
freakyfred wrote:
This mod is not 100% correct. It does not give you all the visitors from the previous month, just the last 30 days or whatever it is so it always counts differently.
|
Are you sure freakyfred? Take a look at the script that grabs last month visitor in the mod. Here is the SQL string:
dtmTodaysDateTime = DateAdd("m",-1,Now())
strSQL = "SELECT " & strDbTable & "Author.Author_ID FROM " & strDbTable & "Author" & strDBNoLock & " WHERE month(Last_Visit) =" & Month(dtmTodaysDateTime) & " AND Year(Last_Visit) = " & Year(dtmTodaysDateTime) & " ORDER BY " & strDbTable & "Author.Last_visit DESC;" |
I think your observation is not not correct.
|
|
|
 |
freakyfred
Groupie
Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 October 2007 at 8:12am |
|
Well i tried it and it counts the last 30 days, not last months visitors. It does the same with the "who visited yesterday" bit. It doesn't keep solid number for who visited, it simply reads who visited in the last 24 hours which is not correct for who visited yesterday. Maybe i am wrong, just something i thought i noticed. thanks.
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 October 2007 at 5:31pm |
StarDust wrote:
This DOES NOT mean 90 members visited last month.
If 250 members visited last month and amonst them 200 members come back sometime this month, then the stat will show '50 on the previous month who hadn't visited until now'
This small info is useful to some ppl, but for some it is of no use. v2 of this mod will certainly have a wide range of features and reports
|
The way last visit date is stored in db it is only possible to show total number of members visited today and this month and this year and total number of member in yesterday/last year we are missing. That is, some members visited some day ago but after that they didn't visit the site. This mod counts and categorizes this members and shows the count. It is not possible WITHOUT modifying the database to count the members visited in a day/month other than today. And some members prefer not to modify db. If you ask for db modification, that will become a statistics mod with a great deal of bargain on the db. And the mod says,
Members visited: Today 4, total 7 on this month Members: StarDust, Guardian, Jeet Chowdhury, fireball Members we are missing: 3 members yesterday, 54 on the previous month who didn't come back till now. | Where in the mod you found it says total number of members visited yesterday?
|
|
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 02 October 2007 at 5:33pm |
freakyfred wrote:
Well i tried it and it counts the last 30 days, not last months visitors. It does the same with the "who visited yesterday" bit. It doesn't keep solid number for who visited, it simply reads who visited in the last 24 hours which is not correct for who visited yesterday. Maybe i am wrong, just something i thought i noticed. thanks. |
And the mod never counts last 30 days but the last month. If this month is February, it counts for January. Same goes for yesterday/last year and bla bla bla. Why don't you look into the code?
|
|
|
 |
freakyfred
Groupie
Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2007 at 10:16am |
|
Sorry i asked... I am not an asp programmer.
|
 |
StarDust
Senior Member
Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
|
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2007 at 12:07pm |
|
That it is OK. not everyone is a programmer. Just need to be better concerned before making such correct/incorrect comments.
|
|
|
 |