This modification will make it possible to show statistics on the number of members that have visited. There are other modifications of this type, this one is however aimed at busy boards and written with performance in mind. Statistics are not real-time, but by default updated every 10 minutes by a cron.
Features:
- No extra queries on Forum Homepage
- 3 Timespans settible to show statistics for
- Optional show the membernames that have visited during the first timespan
- Information is collected by Scheduled Task to prevent processing on Forum Home
- Optional use filesystem caching
- Plus more optional settings
- This modifcation will not list the names of Members that are set to Invisible!
Please note that this is not marked as supported, as i don't have much time for that.
Changelog: 2007-01-19: v1.0.2
- Warning: implode() [function.implode]: Bad arguments. in /includes/cron/mh_mv_stats.php on line 144
This is caused by a changed behaviour between MySQL 4.1 and 5.x.
Changed:
AND NOT options & 512
To:
AND NOT (options & 512)
2007-01-02: v1.0.1
- Initial release
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
If i have time i will make some screenshots in a bit. I have it running on a board where i could make some screenshots (no use making screenshots from my localhost as there are not many visiting my localhost ).
To answer some of the other questions:
Yes this is like the Members Visisted Today, with the following differences:
- Optimised for bigger boards
- All information is collected by a Scheduled Task, no queries run on your forum home page
- List total members visited for up to 3 timespans (default 24 hours, 7 days, 30 days)
- Will show the list of membernames for the first timespan (24 hours). You can optinally maximize the number of names listed on the forumhome page (reduce page size!). If more members have visited, you will get a link to a second page where the full list can be shown.
- You can choose to only show the names, apply their usergroup HTML markup, or link to their profiles. All these options are to allow for further reduction of the pagesize of forumhome.
- Can store the info in either datastore or filesystem (usefull with a caching like APC)
Will it also list guests: No
Background on this mod:
I am server admin for a site that has between 600 ad 1.600 members online. The owner loves member statistics, but other modifications added too much processing, and maybe more important they increased the pagesize with sometimes more then 500K (consider 6.000+ unique members visiting each day, take the size of their names, HTML markup, HTML-code to link to their profiles etc....). This was written to both keep the size of the forumhome page low, with less processing needed on forumhome and still be able to show the statistics.
If i have time i will make some screenshots in a bit. I have it running on a board where i could make some screenshots (no use making screenshots from my localhost as there are not many visiting my localhost ).
To answer some of the other questions:
Yes this is like the Members Visisted Today, with the following differences:
- Optimised for bigger boards
- All information is collected by a Scheduled Task, no queries run on your forum home page
- List total members visited for up to 3 timespans (default 24 hours, 7 days, 30 days)
- Will show the list of membernames for the first timespan (24 hours). You can optinally maximize the number of names listed on the forumhome page (reduce page size!). If more members have visited, you will get a link to a second page where the full list can be shown.
- You can choose to only show the names, apply their usergroup HTML markup, or link to their profiles. All these options are to allow for further reduction of the pagesize of forumhome.
- Can store the info in either datastore or filesystem (usefull with a caching like APC)
Will it also list guests: No
Background on this mod:
I am server admin for a site that has between 600 ad 1.600 members online. The owner loves member statistics, but other modifications added too much processing, and maybe more important they increased the pagesize with sometimes more then 500K (consider 6.000+ unique members visiting each day, take the size of their names, HTML markup, HTML-code to link to their profiles etc....). This was written to both keep the size of the forumhome page low, with less processing needed on forumhome and still be able to show the statistics.
Thanx for the info marco, I don't run a big board, but if it does reduce some database load as it can carry over to file system I may consider using it.
It does reduce the load compaired to a modification that would query the database for each load of the homepage (sorry i don't know for sure how other mod's are coded).