Mod: Today's Visitors v1.2
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24372
Printed Date: 30 March 2026 at 4:19am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Mod: Today's Visitors v1.2
Posted By: StarDust
Subject: Mod: Today's Visitors v1.2
Date Posted: 09 September 2007 at 11:43am
I know there has been a similiar mod around here. But if you look at the screenshot and the implementation, you will see the difference. Sometimes little differences can be handy. This is why i decided to share the mod.
Mod has been upgraded to display information more accurately.
Mod Name: Today's Visitors Mod Version: 1.2
Compatibility: WWF v9.05, v9.04 Tested With: WWF v9.05, v9.04
Demo: http://board.ebizbd.net/ - http://board.ebizbd.net/
Screenshots: http://board.ebizbd.net/ - http://board.ebizbd.net/
Download: http://board.ebizbd.net/forum_posts.asp?TID=134 - http://board.ebizbd.net/forum_posts.asp?TID=134
Skin Author: Shahadat Hossen
Realease Date: September 19, 2007
Last Updated: not yet
Description: This mod displays usernames of the members visited the forum today.
This mod also counts how many visitors have visited the forum: today, yesterday, total in this month and in previous month.
The best of all you only need two lines of code to be added into default.asp to use the mod.
Implementation:
1. Download and unrar the file. Put everything inside the forum folder keeping the directory structure intact
2. Open default.asp. Around line 5, after this line
<!--#include file="functions/functions_date_time_format.asp" --> |
Add following line
<!--#include file="files/inc/fnc_todays_visitors.asp" --> |
3. Around line 871, before this line
If strBirthdays <> "" Then |
Add following line
Call printTodaysVisitors() |
You are done! Bugs, Errors and features requests at: http://board.ebizbd.net/forum_posts.asp?TID=134 - http://board.ebizbd.net/forum_posts.asp?TID=134
Screenshot

------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Replies:
Posted By: dreamboy3000
Date Posted: 09 September 2007 at 4:36pm
|
Where it reads.........
We had 4 members visited the site yesterday.
It should read.........
We had 4 members that visited the site yesterday.
Or..........
We had 4 members visit the site yesterday.
|
Posted By: StarDust
Date Posted: 11 September 2007 at 5:58am
dreamboy3000 wrote:
Where it reads......... |
Thank you dreamy boy. I'll take care of it.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: freakyfred
Date Posted: 11 September 2007 at 1:03pm
Great mod thanks. I was trying to add for the last year by using
dtmTodaysDateTime = DateAdd("y",-1,Now())
but it's showing less than the previous month?
i also tried
dtmTodaysDateTime = DateAdd("m",-12,Now())
but that also did not work. any ideas what i am doing wrong?
|
Posted By: freakyfred
Date Posted: 11 September 2007 at 1:05pm
|
just realised what i am doing. I am showing how many ppl visted a year ago and not in total this year. Doh.
|
Posted By: StarDust
Date Posted: 11 September 2007 at 1:23pm
freakyfred wrote:
just realised what |
I don't understand what are you trying to get from me.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: StarDust
Date Posted: 11 September 2007 at 1:29pm
freakyfred wrote:
Great mod thanks. I was trying to add for the last year by using
dtmTodaysDateTime = DateAdd("y",-1,Now())
but it's showing less than the previous month?
i also tried
dtmTodaysDateTime = DateAdd("m",-12,Now())
but that also did not work. any ideas what i am doing wrong?
|
Here is a detailed view of DateAdd function.
DateAdd(interval,number,date)
interval (The interval you want to add) takes the following values:
* yyyy - Year
* q - Quarter
* m - Month
* y - Day of year
* d - Day
* w - Weekday
* ww - Week of year
* h - Hour
* n - Minute
* s - Second
|
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: freakyfred
Date Posted: 11 September 2007 at 2:12pm
|
I was trying to add how many people had visited in the last year but ended up adding how many visited 1 year ago.
|
Posted By: StarDust
Date Posted: 11 September 2007 at 6:37pm
freakyfred wrote:
I was trying to add how many people had visited in the last year but ended up adding how many visited 1 year ago.
|
If you just use -1 as the interval, it will count from today. Say, today is 11th September, 2007 it will display visitors visited the site since 11th September, 2006. If you want to display visitors from 1st January, 2006 to 1st January, 2007 some coding will be required.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: StarDust
Date Posted: 11 September 2007 at 6:52pm
If you have any feature request, please post it http://board.ebizbd.net/
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: freakyfred
Date Posted: 12 September 2007 at 10:00am
StarDust wrote:
If you have any feature request, please post it http://board.ebizbd.net/
|
Yes that is what i was trying to do. I'm not bothered though, it was just an idea.
|
Posted By: freakyfred
Date Posted: 12 September 2007 at 10:01am
StarDust wrote:
If you have any feature request, please post it http://board.ebizbd.net/
|
Surely this would be the place to post them? seeing as this is the webwiz mod section?
|
Posted By: dreamboy3000
Date Posted: 12 September 2007 at 10:15am
StarDust wrote:
If you have any feature request, please post it http://board.ebizbd.net/ |
Ok here's some for you.........
1. Points for posts, length of posts, starting topics etc.
2. If that can be done, maybe some sort of betting section where you can bet all or some of your points on a outcome of something as set up by staff.
3. Multiple quoting. If you wish to quote something more than once, it's annoying having to copy and paste it and then go back and do the same. There has to be an easier way to do it.
4. Quick switch from section to section. Like a drop down menu at the bottom of a page so you can get quicker to another section.
5. If the first one can be done, make a store section for forums so that people can use their points for other stuff like bolder titles, changing their name slightly etc.
6. When quoting someone, instead of a plain quote which mentions username, make it so it brings up the date and time as well of when the person you quoted made the original post, like Proboards do.
There's some to think about and I shall think of more for later.
|
Posted By: StarDust
Date Posted: 13 September 2007 at 7:42am
dreamboy3000 wrote:
Ok here's some for you......... |
Dreamy boy, I am developing mod which will have something to do with Visitor Statistics, Members that do not visit etc.
Hope I am clear on this issue.
And For the features, if you post it at http://board.ebizbd.net/ - http://board.ebizbd.net/ it will be easier for me tp trackback.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: javi712
Date Posted: 14 September 2007 at 12:10am
Hi Stardust,
Thanks for the mod! I don't use many mods on my personal forum, but this is definitely one that I will be installing. I just had a quick question... Will the added information (not just who visited today) make more calls to the DB, possibly slowing down a bit?
Thanks in advance!
|
Posted By: StarDust
Date Posted: 14 September 2007 at 12:59pm
javi712 wrote:
.....possibly slowing down a bit? |
When we create dynamic websites with db support, guess what happens. But what do you mean by slowing down a bit? How much this 'a bit' can be tolerable?
I asked the same question to my instructor at a very early stage, he said never to use DB then :)
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: javi712
Date Posted: 14 September 2007 at 4:13pm
What I mean by slowing down a bit... will there be performance issues. Will pages load slower i guess. I was just wondering about that though, I still plan on using it regardless, but I was curious if the db was going to take a performance hit
|
Posted By: RadioActiveLamb
Date Posted: 15 September 2007 at 12:06am
|
Great mod! Thanks for the work.
I have a couple questions though:
1. How do I alphabetize the list?
2. Here are my forum stats as-of right now:
Members visited today: 48 Members: (names removed) Trackback: We had 35 members yesterday, total 173 on this month and 90 on the previous month who didn't visit again till now. |
what is meant by "90 on the previous month who didn't visit again till now"? Does this mean that last month I only had 90 visitors, 90 who haven't returned yet this month or some other definition? Please define the 90 more clearly.
Thanks again!
|
Posted By: StarDust
Date Posted: 15 September 2007 at 6:58am
RadioActiveLamb
90 on the previous month who didn't visit again till now |
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
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: StarDust
Date Posted: 17 September 2007 at 2:24pm
I PMed boRg asking for permission for creating a new admin page from where Administrators can send emails to members that didn't visit the forum for a while. He replied, ppl would need to buy licensed webwiz newspad in order to mass email members.
So the admin page gets stopped and so the feature.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: StarDust
Date Posted: 19 September 2007 at 12:20am
This mod gets a fix so the version upgrade. Update your versions guys! And do pay attention as the only file has been renamed.
Downloads, bugs, errors and feature requests at: http://board.ebizbd.net/forum_posts.asp?TID=134 - http://board.ebizbd.net/forum_posts.asp?TID=134
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: StarDust
Date Posted: 22 September 2007 at 7:04pm
Guys i had a terrible week. Last week i had 3 consecutive days when my site was down. It was a network issue on the data center and it has been fixed now.
Every link is up now and so the downloadables.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: dreamboy3000
Date Posted: 24 September 2007 at 11:06am
|
Why do we have to sign up at your website to view it? I've never liked that idea anyway and why can't you just post them here? You keep wanting to bump this thread as well.
|
Posted By: freakyfred
Date Posted: 01 October 2007 at 1:57pm
|
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.
|
Posted By: StarDust
Date 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.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: freakyfred
Date 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.
|
Posted By: StarDust
Date 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: http://board.ebizbd.net/member_profile.asp?PF=1 - StarDust , http://board.ebizbd.net/member_profile.asp?PF=31 - Guardian , http://board.ebizbd.net/member_profile.asp?PF=81 - Jeet Chowdhury , http://board.ebizbd.net/member_profile.asp?PF=83 - 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?
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: StarDust
Date 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?
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
Posted By: freakyfred
Date Posted: 03 October 2007 at 10:16am
|
Sorry i asked... I am not an asp programmer.
|
Posted By: StarDust
Date 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.
------------- http://board.ebizbd.net/"> Tips, mods and skins for WWF v9.x
|
|