Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Mod: Today's Visitors v1.2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mod: Today's Visitors v1.2

 Post Reply Post Reply Page  <1 234
Author
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post Posted: 01 October 2007 at 6:51pm
Originally posted by freakyfred 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.
Back to Top
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2007 at 5:31pm
Originally posted by StarDust 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,
Quote 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?
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2007 at 5:33pm
Originally posted by freakyfred 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?
Back to Top
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post Posted: 03 October 2007 at 10:16am
Sorry i asked... I am not an asp programmer.
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Post Options Post Options   Thanks (0) Thanks(0)   Quote StarDust Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply Page  <1 234

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.