vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who was online today [available in english & german] (https://vborg.vbsupport.ru/showthread.php?t=34014)

Mystics 11-26-2002 03:56 PM

@XFLBret

Execute this Query to restart the counter:

UPDATE template SET template="27 1034132820" WHERE title="maxloggedin"

XFLBret 11-26-2002 10:12 PM

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/forums/admin/query.php on line 29

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/local/etc/httpd/htdocs/forums/admin/query.php on line 33

that's what I get when I try to run the query......

XFLBret 11-26-2002 10:13 PM

well, i loook at the board, and it appears to be working...for now

Floris 11-30-2002 12:26 PM

With 2.2.7 I didn't had any problem with this hack, now with 2.2.9 i can't seem to keep the number of the max and the number seems to be off.

I can't seem to find a fix in the thread either.

Visionray 12-05-2002 11:10 AM

This hack doesn't seem to work correctly. There are problems all over the place.

For example, it is 8am where I am right now. Now, I know that there were many users who visited the site at 4am my time. Yet they are not displayed on "number of active users today". Other people who posted at 5 am ARE displayed.

Is this based of server time or what? There seem to be too many different answers. MY server is U.S. pacific time, so its only 3 hours behind my time.

Now, anyone who posted at 4 am (my time) should be displayed on who's online. (being that it would be 1am server time)

Now if I go to log on as a user who lives in England, the number of active users is 0. If its supposed to be set on Pacific time, then there should be a lot of users displayed, but they are not.

Visionray 12-05-2002 11:13 AM

Another thing. I just installed this hack today

Date - Dec 5th, 2002

It says
"number of active users today 6

"most users ever online in a day 10 on Dec 5th!!!

How in the world is that possible? How can I have the most be ten in a day (which is today) yet it says the number of active users today was 6?

Doesn't make any sense.

Visionray 12-05-2002 11:20 AM

Quote:

Originally posted by Velocd
I'm having a weird problem with this hack. Recently I found my homepage was generating an abnormal amount of queries for the small amount of hacks consisting on it. It was creating 43 queries, and that is even after I included all the templates in the $templateused="" list.

Well I was going through the index.php code, trying to find the suspect involved and I reached this hack. I was basically commenting out all the hacks individually on my index.php till I found which one was creating the excessive queries. When I commented out the who-is-online-today hack, it reduced my queries by 20! That makes me sad though, because this is one of my favorite and most useful statistical hacks I have :(

I installed everything perfect, does anyone know why this could be happening?? PM me if you would like to see my index.php.

Regards,
Velocd

I don't know why that would happen. This hack only added one query to my page.

Visionray 12-05-2002 06:36 PM

ok im starting to realize how this hack works. I wish there was a way to base it off the user's time, but I guess that is not possible. The unfortunate thing is, since my server is in California, users from Europe will never see who was online that day unless they are browsing my forum in the middle of the night and early morning hours their time. Eh well. Its still cool, works for me! :D

eggz 12-05-2002 06:40 PM

I've just installed this hack on my site and seem to be getting the same problem as quite a few others. With 2.2.9 the 'max users online at any time' figure is just a repeat of the current number of users online, with the current time and date (eg it rises and falls where it should not). Having said that I have not seen any other problems with it so good hack!

Can anyone throw any light on the problem?

Thanks,
Oliver

Attrox 12-06-2002 11:34 PM

I havn't gotten any problems with my installation, it's worked like a charm. Great hack, Mystics, it's very well done.


All times are GMT. The time now is 03:16 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.01406 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
  • (1)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