vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Who Was Online Today on forums (https://vborg.vbsupport.ru/showthread.php?t=59579)

nickels376 06-01-2004 02:08 PM

Quote:

Originally Posted by Banana
Sorry, obviously not clear, I mean it doesn't 'save' the most online in a day. So for instance if 100 visited yesterday and then (so far) 50 today - it says "The most users online ever on one day is 50 on Today." rather than "The most users online ever on one day is 100 on Yesterday".

Mine does? "Most users ever online in one day was 62 on 05-23-2004.." Posted direct from my forums.

-Dom

You can see it here: FordContour.Org

Banana 06-01-2004 02:09 PM

Mine doesn't though - and I'm asking why!

nickels376 06-01-2004 02:11 PM

Are you sure you manually ran this query on your database?

Code:

INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}')
If you didn't, it won't store it.

-Dom

Banana 06-01-2004 03:21 PM

Quote:

Originally Posted by nickels376
Are you sure you manually ran this query on your database?

Code:

INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}')
If you didn't, it won't store it.

-Dom

Here's the output from my database. "240" is the number of visitors today. So it's going in the database, but not being retained overnight.


mysql> select * from datastore where title like '%online%';
+----------------+----------------------------------------------------------------------------+
| title | data |
+----------------+----------------------------------------------------------------------------+
| todaymaxonline | a:2:{s:14:"todaymaxonline";i:240;s:18:"todaymaxonl inedate";i:1086044400;}
|
+----------------+----------------------------------------------------------------------------+
1 row in set (0.00 sec)

mysql>

nickels376 06-02-2004 11:20 AM

Mine looks almost exactly the same:

title data
todaymaxonline a:2:{s:14:"todaymaxonline";i:76;s:18:"todaymaxonli nedate";i:1086062400;}

But I'm wondering how your server is cutting the time off. Hmm...

-Dom

Banana 06-02-2004 11:38 AM

Quote:

Originally Posted by nickels376
But I'm wondering how your server is cutting the time off. Hmm...

Hey! That was my question! :D

SueBee 06-02-2004 12:50 PM

Quote:

Originally Posted by Banana
Hey! That was my question! :D


Can I ask as well! :rolleyes: :cheeky:

seangworld 06-02-2004 05:53 PM

Quote:

Originally Posted by Zelda-King
Mods and admins don't show in formatted text (bold/italic).

very good. i installed this just now, took about 10 minutes tops. only thing i changed was in the phrase "most_users_ever", i changed it from "on" to "in" a day. just sounded better. :) thank you!

Malke 06-03-2004 03:17 PM

I have a question.

Is this a MysQL query?:

INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxo nlinedate\";i:1070000000;}')

Sorry I'm not used to do these kind of things.

Props on the addons from everyone here!

Malke 06-03-2004 03:18 PM

My bad I didn't check all 22 pages of replyes but I seen the answer to my question now. Thanks.

nnjj.net 06-05-2004 06:27 AM

is it working with last vb?

SaN-DeeP 06-05-2004 06:33 AM

i am displaying
Number of Active Users Today on onlinetoday.php instead of @ bottom of forums.

now here is my problem
1. Number of Active Users Today is now showing 16
But going to onlinetoday.php it shows ->
Number of Active Users Today: 0
Most users ever online on a day was 0 on Today. | The following members have already visited the forums today:

2. As shown on this mod -> Most users ever online on a day was 16 on Today.
As shown on forums stats -> Most users ever online was 284, 05-08-2004 at 02:17 AM.

3. Also i am located in India (GMT + 5:30) and my forums are located on US Server (GMT - 8:00)
Online today members get reset @ 12:00 pm afternoon instead of Indian Midnight

Please help me fix this problems.

Regards,
Sandy...

Banana 06-05-2004 11:08 AM

Quote:

Originally Posted by Banana
Also (in addition to the above). My install also 'resets' each day at midnight. I've followed the instructions very carefully and re-checked. Does anyone have any clues as to why this might happen that I can investigate?

Is anyone supporting this hack?

Onkel_Tom 06-06-2004 03:37 PM

Hi,
I installed TECK's Microstats Hack to analyse the performance and also to show uncached Templates.
I'm using "Whos was Online Today on forums" with the new page version. I added the Templates "whowasonline_todayloggedinuser" and also "whowasonline_todayloggedinusers" to index.php in Section "pre-cache templates used by all actions" to cache this Templates and not use a additional query of the database.
But the "whowasonline_todayloggedinuser" is still a uncached Template !

What must be changed or how do i Precache the Template when using a new Page for who was Online users ?

thanks in advance

SaN-DeeP 06-07-2004 05:21 PM

Quote:

Originally Posted by SaN-DeeP
i am displaying
Number of Active Users Today on onlinetoday.php instead of @ bottom of forums.

now here is my problem
1. Number of Active Users Today is now showing 16
But going to onlinetoday.php it shows ->
Number of Active Users Today: 0
Most users ever online on a day was 0 on Today. | The following members have already visited the forums today:

2. As shown on this mod -> Most users ever online on a day was 16 on Today.
As shown on forums stats -> Most users ever online was 284, 05-08-2004 at 02:17 AM.

3. Also i am located in India (GMT + 5:30) and my forums are located on US Server (GMT - 8:00)
Online today members get reset @ 12:00 pm afternoon instead of Indian Midnight


Please help me fix this problems.

Regards,
Sandy...

Garry can u reupload the files with some changes.
As shown, ur code was last updated long time back.
Last edited by Gary W : 17. Mar 2004 at 21:50.

thnx.
Sandy...

Wifey 06-07-2004 08:22 PM

I have had more problems with this hack than I care to deal with anymore and there is no support.

/me clicks uninstall

Banana 06-08-2004 08:14 AM

Quote:

Originally Posted by ashkarita
I have had more problems with this hack than I care to deal with anymore and there is no support.

[high]* ashkarita clicks uninstall[/high]

ditto

banana clicks uninstall

dr.science 06-08-2004 09:50 PM

Does anyone actually have this fully funcional working hack on there forums? (3.0.1.)

Thanks.

Onkel_Tom 06-08-2004 10:46 PM

Yes, I use it on vB3.0.1 and it works fine ;)

boiboi 06-09-2004 06:42 AM

So far I haven't seen a hack on a separate collapsible table below Currently Active Users. This would be the most excellent hack for Who was Online.

redlabour 06-09-2004 09:19 AM

What the hell ? I make all changes and then this :

http://www.redlabour.de/vbulletin/index.php

"Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /is/htdocs/53751/www.redlabour.de/vbulletin/index.php on line 32"

Flow Fusion 06-09-2004 09:21 AM

I for some reason get the names twice in various places?

redlabour 06-09-2004 09:26 AM

Quote:

Originally Posted by nnjj.net
is it working with last vb?


No this hack isn?t working anyway with VB 3.01 ! :rolleyes:

see that : https://vborg.vbsupport.ru/showpost....&postcount=341

I installed it before twice under VB3 and there aren?t any problem. You can see what happens now after 3 try?s !

vprp 06-09-2004 10:24 AM

how do you clean your datastore? do i do this in the admincp?

redlabour 06-09-2004 12:47 PM

What do you want ? What does it have to do with this Hack ?

redlabour 06-09-2004 12:48 PM

For all german Users i found a german Translation with a optimized Install.txt and Bugfixes ! http://www.vbulletin-germany.com/for...ad.php?t=11299

vprp 06-10-2004 12:30 AM

well, i tried installing this hack and everyday it resets. like if i had 50 members on my site yesterday and today, i've had 30 so far, it will reset so that it says the most number of users in one day was 30 today.

i've been checking the pages on this thread and it says i have to clean my datastore.

dr.science 06-10-2004 03:22 AM

Quote:

Originally Posted by redlabour
For all german Users i found a german Translation with a optimized Install.txt and Bugfixes ! http://www.vbulletin-germany.com/for...ad.php?t=11299

Is there anyway this can be translasted for english users?

redlabour 06-10-2004 07:13 AM

Here it is Re-Translated by me and optimized by CharlieBrown !

Sorry if there are little Translationerrors in the text - but i think you can understand it ! ;)

SaN-DeeP 06-10-2004 09:27 PM

Quote:

Originally Posted by redlabour
Here it is Re-Translated by me and optimized by CharlieBrown !

Sorry if there are little Translationerrors in the text - but i think you can understand it ! ;)

is there an updated version for people who are using logged in users today on other pages ??

thnx.

dr.science 06-11-2004 02:43 AM

Ok, I get this error also, and all I can find is people saying "clean your datastore" (as mentioned above by vprp), yet I am not a pro so I don't know how to do that. Is it a safe procedure? Can someone enlighten me? Here's my error:

Quote:

INSERT INTO datastore( title,
DATA )
VALUES (

'todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxo nlinedate\";i:1070000000;}'
)

MySQL said:


#1062 - Duplicate entry 'todaymaxonline' for key 1
Any help appreicated... I think this is the problem cause I have done everything else perfectly to a T, and this isn't working right now. Thanks again!

SaN-DeeP 06-12-2004 07:20 AM

Quote:

Originally Posted by SaN-DeeP
i want onlinetoday.php to be only visible by admins or the groups i allow.

how to make that possible ?

thnx.
Sandy...

bumping again with same question to get that on top :S

Problems with TimeZone still persists
i am on vb 3.0 using onlinetoday.php

Server location - GMT - 8:00
Forums Users - GMT + 5:30

Pls. help giving me a fix.

Thnx.
Sandy...

PhoenixBB 06-18-2004 04:12 AM

Am I the only one who has the problem of reducing post counts on the board?

I intalled two hacks a couple of days ago - this and VBadvanced. Since then a number of my posters have said that their post counts are going down. I can't do an 'update post counts' every day (aside from being impractical) as I imported posts from my old VB onto a fresh 3.01 install and reset all post counts to zero - so they only count what has been posted on the board in the last few days.

Someone pointed out that it looks to be resetting to the previous days post counts, and as this hack has been plagued with reset probs it makes me think this one could be the likely suspect.

Anyone know how I could fix it?

Thanx

enginethatcan't 06-21-2004 05:26 PM

it's reapeating twice for me....this is what I mean http://www.musclemorpheus.com/forum/

enginethatcan't 06-21-2004 05:28 PM

nevermind

ZoNe|GsT 06-25-2004 08:03 PM

Just installed on two boards, easy nice mod.

Will see how it goes.

*Clicks installed

dreamhost 06-26-2004 08:53 PM

Is there some way of caching this information?
I've noticed that my micro stats have virtually doubled since installing it, especially the % of mysql used.
Page generated in 0.21916509 seconds (67.25% PHP - 32.75% MySQL) with 12 queries

Normally my mysql is around 8-12% and when i remove the hack the page will always load in >0.1 instead of the 0.2 it is now....

boiboi 07-01-2004 06:11 AM

Quote:

Originally Posted by SaN-DeeP
bumping again with same question to get that on top :S

Problems with TimeZone still persists
i am on vb 3.0 using onlinetoday.php

Server location - GMT - 8:00
Forums Users - GMT + 5:30

Pls. help giving me a fix.

Thnx.
Sandy...

I need help on this also. Server is in San Francisco CA and members are in Asia. The script resets at 3 pm Asia. when it's 12 am in SF

boiboi 07-02-2004 06:22 AM

Quote:

Originally Posted by pdk2tr
I find the way to slove it..

MY TIMEZONE IS +8

find
PHP Code:

(($bbuserinfo['timezoneoffset']-$timeoffset)*3600)) 

increase -8
PHP Code:

(($bbuserinfo['timezoneoffset']-$timeoffset-8)*3600)) 

now

The following members have already visited the forums today:

is correct.. :mad:

Just to double check. My users are 16 hours ahead of my server. Should it be -16?

boiboi 07-03-2004 03:44 PM

I'm going to have to uninstall this hack. doesn't matter what offset time you put. the hack will always reset at 12 o'clock am server time. why can't this hack simply use the offset setting of vb3?


All times are GMT. The time now is 07:25 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.01829 seconds
  • Memory Usage 1,838KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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