vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Most Ever Users / Members / Guests / Chatters etc (https://vborg.vbsupport.ru/showthread.php?t=81167)

Paul M 05-08-2005 10:00 PM

Most Ever Users / Members / Guests / Chatters etc
 
This modification is no longer available or supported.

This hack performs two functions ;

Firstly - it seperately counts the most ever users, members & guests [and the timestamp they happened] for display in the Forumhome "What's Going On" section. At the moment this only records and displays the 'most ever users' (which is members + guests, and if often inflated by spiders etc).

To avoid cluttering the display it only displays one of the counts at a time - changing which one is displayed every 10 seconds. The existing 'most ever users' count [and timestamp] remain untouched, but obviously the new members and guests counts will only start from when you install the hack.

Secondly - this provides a most ever chatters/visitors/posters count for the three hacks I have released on vb.org (see my sig to find them). The code for these three 'plugins' is commented out by default - and can be removed if you don't require it (if you are unsure, then leave it - it won't do anything while commented out) . If you have one or more of these hacks installed, and want this extra functionality, then uncomment the relevant section of code for each hack.

This has been running for a week on our test system, and a couple of days live, without any problems, any support questions should be posted in this thread (read the sig first ;)).

Oh, and for the paranoid among you - no it doesn't add any queries to index.php.

pjdaley 05-09-2005 02:15 AM

interesting hack! n-e-x clicks install!

bigcurt 05-09-2005 07:46 PM

Any screenshots bud?

Paul M 05-09-2005 08:22 PM

Not at the moment - I will add some soon. :) There isn't exactly much to see unless you have some of the extra hacks of mine installed. The default change just alters the existing "most ever" message to one of three (users, or members, or guests).

Paul M 05-09-2005 09:02 PM

Okay, I added the screenshots - the first shows one of the messages (most users) and also the effect on my three other hacks (if installed). The other two images show the other messages (for guests and members).

mkdevo 05-26-2005 11:30 AM

Paul,

i installed this mod, mainly for your chatters and 'online today' mods. however, i do not want to keep the members/guests/users seperated in the Currently Avtive section (i want to revert to the default 'users' only, but still want to use the chatters/online today features). can you tell me what i need to remove/replace to revert that section back to the vb default? i tried it, and it disappeared completely.

thanks again!

mkdevo 05-26-2005 11:51 AM

just to add to that, i don't think it's working right:

Total users that have visited today: 41
The most members online in one day was 63 (Today)

makes no sense, right? or am i missing something?

Paul M 05-26-2005 04:35 PM

Quote:

Originally Posted by mkdevo
Paul,

i installed this mod, mainly for your chatters and 'online today' mods. however, i do not want to keep the members/guests/users seperated in the Currently Avtive section (i want to revert to the default 'users' only, but still want to use the chatters/online today features). can you tell me what i need to remove/replace to revert that section back to the vb default? i tried it, and it disappeared completely.

thanks again!

The quickest way (tho not the most correct way) would be to change

PHP Code:

    switch(substr(date(s),0,1)) 

to

PHP Code:

    switch(0


Paul M 05-26-2005 04:42 PM

Quote:

Originally Posted by mkdevo
just to add to that, i don't think it's working right:

Total users that have visited today: 41
The most members online in one day was 63 (Today)

makes no sense, right? or am i missing something?

Actually it's working perfectly - it's an interesting effect of people having different timezones. The figure of 41 is personal to you, since your midnight. Someone else with different timezone settings has already reached a figure of 63 since their midnight, so the forum total is set to this value. It's not practical to keep a total for every user. If it worries you then you could switch the "members visited today" to the rolling 24 hour option - then everyone sees the same figure.

mkdevo 05-27-2005 11:59 AM

Quote:

Originally Posted by Paul M
Actually it's working perfectly - it's an interesting effect of people having different timezones. The figure of 41 is personal to you, since your midnight. Someone else with different timezone settings has already reached a figure of 63 since their midnight, so the forum total is set to this value. It's not practical to keep a total for every user. If it worries you then you could switch the "members visited today" to the rolling 24 hour option - then everyone sees the same figure.

ah... very neat.. thanks! :)


All times are GMT. The time now is 12:30 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.01053 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_php_printable
  • (3)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