vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Another Members that have Visited Statistics mod (https://vborg.vbsupport.ru/showthread.php?t=135315)

Marco van Herwaarden 01-01-2007 10:00 PM

Another Members that have Visited Statistics mod
 
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

sensimilla 01-02-2007 02:54 PM

Thanks for it Marco, does it look on the forumhome like regular whosonline members list ?

Thanks

gunitman247 01-02-2007 06:12 PM

ill give it a try. thanks :)

Shazz 01-02-2007 10:47 PM

If anyone has it installed, many people waiting for a screen shot :D

Is this like members who have visited in the last 24 hours? and guets visit
Or just members who have visited...
(both made by paul M )

TheWhite 01-03-2007 03:09 AM

does this combine both members and guests?

Marco van Herwaarden 01-04-2007 07:04 AM

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 :eek: (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.

Marco van Herwaarden 01-04-2007 07:15 AM

Ok, screenshots added

PS Deleted all posts only asking for a screenshot.

Shazz 01-04-2007 12:52 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1150441)
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 :eek: (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.

Marco van Herwaarden 01-05-2007 09:22 PM

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).

TheWhite 01-06-2007 01:31 AM

well if it summed the members and guests it would have been an excellent mod but as it is i'll stick with the other one anyway good work :)


All times are GMT. The time now is 05:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01018 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete