Thread: Forum Home Enhancements - Another Members that have Visited Statistics mod
View Single Post
  #6  
Old 01-04-2007, 07:04 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01187 seconds
  • Memory Usage 1,762KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete