vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Most ever Visitors, Posters & Chatters (Add-on) (https://vborg.vbsupport.ru/showthread.php?t=98887)

Paul M 10-19-2005 10:00 PM

Most ever Visitors, Posters & Chatters (Add-on)
 
This modification is no longer available or supported.

Warning: Do not run this vb 3.5 version on a vb 3.6 forum.

This is an add-on for the following hacks ;

FlashChat - Who is in the chat
Members who have visited the forum (Today or last 24 hours)
Members who have posted on the forum (Today or last 24 hours)

If you don't have any of these installed then this add-on will do precisely nothing. [high]Please note that you should have the latest version of the above hacks installed for this to work properly.[/high] If you do have any of these installed then this will add a "most ever" count similar to the one in the active users display.

Just download the product XML file and import using the Product Manager.


Note: Obviously it will only count from the time you install it, neither it nor I can see backwards in time.



History:

v2.02 : First Release.
v2.03 : Changed logic of IF statement.
v2.04 : Minor changes, no update necessary.

michaelbenson 10-20-2005 06:51 PM

Very nice, Installed :)

Lea Verou 10-20-2005 07:00 PM

Ermm I installed but I don't see any change...

I have only the "Members who have visited today" hack installed...

Paul M 10-20-2005 07:06 PM

Ah, I forgot to mention this (now added as a note).

Quote:

[high]Please note that you must have at least version 4.02 of the above hacks installed for this to work.[/high]

Lea Verou 10-20-2005 07:09 PM

Ermmm how do I see which version of those I have? :)

Paul M 10-20-2005 07:15 PM

Basically, if you have it listed in your Product Manager then you will see the version number in there, otherwise you will have to view the comments in the plugin code.

However, since it was only converted to a product for version 4.02, the simple rule is that if it's listed as a product, you are okay, otherwise you just have the plugin, and must upgrade to use this. :)

dirtycrow 10-21-2005 03:44 AM

excellent stuff, thank you so much!

SnowBot 10-21-2005 07:34 AM

Works great, nice one Paul :)

microzott 10-21-2005 09:54 AM

thanks paul for the new hack :D
installed and working perfectly

bobs409 10-22-2005 12:04 PM

Where do you download this file? When I click the download link above, it goes to a page with code:

https://vborg.vbsupport.ru/attachmen...chmentid=36136

Should this be going to an xml file?

Thanks,

Bob

Paul M 10-22-2005 04:04 PM

Right click on the link and choose "Save target as".

bobs409 10-22-2005 05:52 PM

Thank you! :)

Bob

Oblivion Knight 10-22-2005 08:51 PM

Oh my, I feel like quite the dumbass.. :o

I thought this this displayed the most ever members online in one day, but it doesn't.. It displays the most ever members online within a "currently active users" period.

Oh well, I got there in the end.. D'oh! ;)

Crow 10-24-2005 05:48 PM

I thought hacks that needed other hacks weren't allowed? :ermm:

Paul M 10-24-2005 06:00 PM

You thought wrong then. VB3 even had it's own forum for such add-ons, and each hack has an add-on field to show it is, in fact, and addition to another.

bobs409 10-24-2005 06:25 PM

Added, thanks. ;)

~Bob clicks installed~

Sadie Frost 10-25-2005 08:54 PM

Does this only do the rolling 24 hour period? Because for both members who have posted and members online the "most" number is greater than the "today" values (though I just installed today).

Paul M 10-25-2005 09:34 PM

Quote:

Originally Posted by Sadie Frost
Does this only do the rolling 24 hour period? Because for both members who have posted and members online the "most" number is greater than the "today" values (though I just installed today).

I knew someone would ask this eventually. :)

This happens when you are running in the users/posters since midnight mode - because one or more of your users is in a different timezone (x hours ahead of you) so they have already reached 74 visitors/posters since *their* midnight - hence the total gets updated. Because you are x hours behind them, you haven't reached (caught up) to the 74 yet.

Obviously it doesn't affect the last 24 hour mode, as everyone sees the same total all the time.

Snake 10-29-2005 06:40 PM

Thanks for the hack Paul. Is it possible to make the total most ever visitors text to bold and change the time format to detailed, like September 11th, 2005? Thanks in advance!

Paul M 10-29-2005 07:54 PM

The text is a phrase (most_visitors) so you could add bold tags to it, the trouble is that the count value would not be bold unless you left the closing tag off the phrase, but that would then screw up the names display. The only way you could fix that is to edit the plugin code.

As for the time, it uses whatever standard format you have set for your forum, to make it different to the rest of your forum would again require the plugin to be edited.

Dave Rosteck 10-30-2005 03:52 AM

++++ing awesome hacks and most ever online add-ons Paul, I love 'em! Ever since I've had FlashChat, I've been desperately searching for something exactly what you created. Thanks!

Snake 10-30-2005 10:55 AM

Quote:

Originally Posted by Paul M
The text is a phrase (most_visitors) so you could add bold tags to it, the trouble is that the count value would not be bold unless you left the closing tag off the phrase, but that would then screw up the names display. The only way you could fix that is to edit the plugin code.

As for the time, it uses whatever standard format you have set for your forum, to make it different to the rest of your forum would again require the plugin to be edited.

Exactly but I've no idea where to put the <B> bold tags in the plugin code. I know I'll have to edit the plugin code again for the date format, but I really have no idea what to do exactly so can you help? I'm not really a vBulletin coder...

Snake 11-01-2005 05:40 PM

Sorry but I'd to bump this thread!

Paul M 11-01-2005 07:11 PM

Quote:

Originally Posted by Aftermath
Sorry but I'd to bump this thread!

Don't. It annoys the hell out of me.

I don't have time to look at code changes atm - at the weekend maybe. :)

Snake 11-02-2005 07:00 AM

Alrighty, I'll be waiting... :)

loonytune15 11-04-2005 03:19 PM

Quote:

Originally Posted by Paul M
I knew someone would ask this eventually. :)

This happens when you are running in the users/posters since midnight mode - because one or more of your users is in a different timezone (x hours ahead of you) so they have already reached 74 visitors/posters since *their* midnight - hence the total gets updated. Because you are x hours behind them, you haven't reached (caught up) to the 74 yet.

Obviously it doesn't affect the last 24 hour mode, as everyone sees the same total all the time.

So is there a way to get this to work in the midnight mode?

Nice hack btw.. :)

Paul M 11-04-2005 03:55 PM

Quote:

Originally Posted by loonytune15
So is there a way to get this to work in the midnight mode?

Not sure what you mean ?

mkdevo 11-09-2005 03:39 PM

hey paul, here's a question for you..

i have all of your hacks (like this) installed on my 3.0.x board.. i'm currently working on a 3.5.1 dev board, getting hacks installed, etc, so i can upgrade in production soon. my question is - after i upgrade from 3.0.x to 3.5.x, will my stats from your hacks stay in tact, or will they be starting from fresh counters?

thanks in advance!

Paul M 11-09-2005 05:17 PM

They should remain intact.

joeychgo 11-09-2005 06:55 PM

I have this on all my forums - and I love it. Thanks Paul

Paul M 11-09-2005 07:06 PM

Quote:

Originally Posted by joeychgo
I have this on all my forums - and I love it. Thanks Paul

Thank you, it's nice to know people appreciate things :)

JoergZ 11-28-2005 09:11 AM

Quote:

Originally Posted by Paul M
This happens when you are running in the users/posters since midnight mode - because one or more of your users is in a different timezone (x hours ahead of you) so they have already reached 74 visitors/posters since *their* midnight - hence the total gets updated. Because you are x hours behind them, you haven't reached (caught up) to the 74 yet.

Obviously it doesn't affect the last 24 hour mode, as everyone sees the same total all the time.



Hello Paul,

can you please fix this issue, so the max users in one day works correct with the "midnight-mode" ?


BR

J?rg

Paul M 11-28-2005 11:46 AM

Quote:

Originally Posted by JoergZ
Hello Paul,

can you please fix this issue, so the max users in one day works correct with the "midnight-mode" ?

I cannot fix something that isn't broken. This will always happen when you have people in different timezones.

JoergZ 11-28-2005 11:48 AM

Hm... And why shows the statistik in the AdminCP the correct value ?

Paul M 11-28-2005 11:59 AM

Because it's not the same thing - that's just a simple current count - it's not a forum wide, long term, stored maximum.

JoergZ 11-28-2005 01:57 PM

Quote:

Originally Posted by Paul M
Because it's not the same thing - that's just a simple current count - it's not a forum wide, long term, stored maximum.

Sorry, thats not correct. I am talking about the "User Activity Statistics". This is not a simple current count, it logs exactly all users, that were online at one day. And there is no problem with the time-zone.

But o.k., I will fix it myselfe. Thanks for your help.


J?rg

Paul M 11-28-2005 03:00 PM

Quote:

Originally Posted by JoergZ
I am talking about the "User Activity Statistics". This is not a simple current count, it logs exactly all users, that were online at one day.

Not exactly. It's simple sql query, done on the fly, to count the number of users for each day as stored in the stats table, and more importantly - it's always a day behind. If you run it today (28th November) you will only have data up to yesterday (27th) displayed , so I really don't see how you can say it displays "the correct value" - it doesn't show any value for the current day. It also (I think) works off the servers time, rather than your local tz corrected time.

Quote:

Originally Posted by JoergZ
But o.k., I will fix it myselfe.

There is nothing to fix, but feel free to try .... :)

Rickie3 11-29-2005 10:14 AM

*installed* thankyou

GrabAssGirl 01-04-2006 06:43 PM

Can somenone tell me why it tells me that this "appears to be a plugin" instead of a product when I try to put it on.

GrabAssGirl 01-04-2006 06:51 PM

Quote:

Originally Posted by GrabAssGirl
Can somenone tell me why it tells me that this "appears to be a plugin" instead of a product when I try to put it on.

Never mind! I had a blonde moment and was in the wrong thread....


All times are GMT. The time now is 02:09 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.01416 seconds
  • Memory Usage 1,818KB
  • 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
  • (13)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
  • (40)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