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! :)

oz_moses 05-27-2005 12:11 PM

Hi Paul, thanks for another great hack.
I'm wondering if there is any way to show both members and guest on consecutive lines?

Paul M 05-27-2005 02:41 PM

Quote:

Originally Posted by oz_moses
Hi Paul, thanks for another great hack.
I'm wondering if there is any way to show both members and guest on consecutive lines?

There are always ways - I'm just not quite sure what you mean.

oz_moses 06-08-2005 01:09 PM

Quote:

Originally Posted by Paul M
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.

Sorry, what I mean is I like cluttered! What's involved in showing most users and most guests all the time?

Paul M 06-08-2005 03:09 PM

Quote:

Originally Posted by oz_moses
Sorry, what I mean is I like cluttered! What's involved in showing most users and most guests all the time?

Do you actually mean users or members (or both, meaning three lines in total with the guests ?).

oz_moses 06-08-2005 03:28 PM

Sorry for been so unclear! I guess I would like to see:
Currently Active Users: 6 (2 members and 4 guests)
Moses , Ellie+ , yahoo! slurp(2) , msnbot
The most ever members online was 4 (Today at 11:50 AM)
The most ever guests online was 20 (05-31-2005 at 01:33 AM)

Paul M 06-08-2005 05:45 PM

So you want them after the list of names.

Replace ;

PHP Code:

    switch(substr(date(s),0,1)) 
    {
        case 
0:
        case 
3:
            
$activeusers $maxonlinetext."<br />".$activeusers
            break;
        case 
1:
        case 
4:
            
$activeusers $maxgueststext."<br />".$activeusers
            break;
        case 
2:
        case 
5:
            
$activeusers $maxmemberstext."<br />".$activeusers
            break;
    } 

With ;

PHP Code:

            $activeusers $activeusers."<br />".$maxmemberstext."<br />".$maxgueststext 


microzott 10-12-2005 10:50 AM

perfect paul :)
when (or where) for vb 3.5.0 gold ?

Paul M 10-12-2005 05:06 PM

Up to now no one has shown an interest in the 3.5 version - so I've not released it.

I'll see if I can package it up for posting this weekend. :)

microzott 10-13-2005 05:23 AM

thanks paul
:)

microzott 10-20-2005 06:25 AM

no news paul?

Paul M 10-20-2005 07:11 AM

Patience grasshopper :)

It will be split into two for 3.5, one for the members/guests and one for the visitors/posters/chatters. Both are running on my test system, I just need to find the time to export & post them. It won't be long.

Paul M 10-20-2005 07:00 PM

Released for 3.5 - see the vB3.5 Plugins forum for them.


All times are GMT. The time now is 04:29 AM.

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.01349 seconds
  • Memory Usage 1,773KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete