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.


All times are GMT. The time now is 11:32 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.01319 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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