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)

Ch33F 07-12-2004 11:08 AM

Just got 1 problem, when i am logged in it doesnt show the members that have been online, but when i log out it does...?

Can anyone tell me why?

Ch33F 07-13-2004 12:38 PM

cool.. It works for all usergroups apart from Administrators

Admiral Spock 07-13-2004 04:03 PM

Thanks for this hack, I just installed it. :)

The Titan 07-14-2004 06:01 AM

It displays properly for all usergroups except for administrators on my forum... Admins can't see the usernames of people that were on today. Anyone know why?

WEForums 07-15-2004 10:28 PM

Sorry, Gary, but this hack causes my forums' MySQL to surpass 50% on the index. That's terrible. Without the hack, it's always less than 10%. And it adds 3 queries to forumhome, and even trying to precache the templates doesn't help.

romeshomey 07-16-2004 04:16 AM

I have a problem here.

Its only working if you're logged out. Not after logging in.

For example, if I log out, I can see who was on the boards, but if Im logged in I cant, itll say 0 for online for the day and show noone as having been online, but If I log out, it shows the complete stats for the day.

Why is that?

romeshomey 07-16-2004 04:25 AM

Quote:

Originally Posted by The Titan
It displays properly for all usergroups except for administrators on my forum... Admins can't see the usernames of people that were on today. Anyone know why?

I logged in as a non admin and had the same problem.

It seemed to work fine right after installing it, it wsa the last hack I have installed, and it was working ok until my forum his 12:00am. Then I havent been able to see anything when logged in since.

Works fine logged out lol.

This is logged in as a registered user.

Code:

What's Going On?
 Currently Active Users: 4 (3 members and 1 guests) 
 Most users ever online was 149, 07-13-2004 at 05:18 AM.
Insider, Bloom33710
 Number of Active Users Today: 0 
 Most users ever online on a day was 10 on Yesterday. | The following members have already visited the forums today:

As you can see, it worked until my forum clock reached 12:00am, then it shut off with the count at 10.

It does work when logged out though. Any ideas?

romeshomey 07-16-2004 04:31 AM

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...

Same problem Im having. Try logging out and see if its working when logged out... Im curious..

WEForums 07-16-2004 04:35 AM

Okay...

Which version of vB are you using? And are you using the separate page hack or the one on forumhome?

I was using it (separate page since my forums are very busy) with vB 3.0.1 without error.

romeshomey 07-16-2004 04:37 AM

Quote:

Originally Posted by WEForums
Okay...

Which version of vB are you using? And are you using the separate page hack or the one on forumhome?

I was using it (separate page since my forums are very busy) with vB 3.0.1 without error.

3.0.3 Forumhome. Worked fine for about 2 hours, then quit when clock reached 12:00am EST

romeshomey 07-16-2004 04:47 AM

So should I go through and undo this one and do the seperate page instead? Ugggg.. I just dont understand why it would work, then all of a sudden not work. lol

WEForums 07-16-2004 04:49 AM

lol, that's normal. Even the vB2 hack did this same thing, and it the coding isn't even the same thing.

At 12am or so, the hack goes to 0, and it stays that way for a few hours afterwards. Just look at it later in the day. As far as I know, it's always that way...

romeshomey 07-16-2004 05:15 AM

Quote:

Originally Posted by WEForums
lol, that's normal. Even the vB2 hack did this same thing, and it the coding isn't even the same thing.

At 12am or so, the hack goes to 0, and it stays that way for a few hours afterwards. Just look at it later in the day. As far as I know, it's always that way...

That doesnt explain why it works when I log out does it? How is it that I can log out and its working, but if Im logged in it doesnt?

That makes no sense LOL

and thats with all user groups. I tried Registered, Administrator, and Moderator. Doesnt work unless logged out for all users..

WEForums 07-16-2004 05:22 AM

Are you sure it's not something to do with the time you set in your usercp?

I don't know. All I know is it does work, at least for vB3.0.1.

romeshomey 07-16-2004 05:26 AM

Ok, i figured out that it only works right if the 'users' clock time is set the same as the forum clock time.

I went and edited a users account to PST instead of EST and it worked. So that has to be what the deal is, its offsetting times between the forum and user clock settings.

Anyway to fix that?

romeshomey 07-16-2004 05:36 AM

Nitemare, I tried to send you a PM on my boards but it said you werent accepting.

Maybe you hadnt confirmed the registration yet..

This is what was in it...

Thanks for taking the time to try and help with the Whos Online Today. I figured out what the deal is, now just have to find a fix for the offsetting times.

I hope you enjoy the boards and come back and visit from time too time. The place used to rock but I had too take some time away for the family and things kinda died down do to no maintanence.

Im back now though, and got to get this place rolling again in time for football season. New portals being contructed for front page and team sites as we speak! lol

Have a good night man, and thanks for taking the time to try and help out again. Its much appreciated.

Romes

Skyline 07-17-2004 05:25 AM

Quote:

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

OK I am very new to all this stuff and my forum has been up for about a month now....This might be a very simple question but I need to know where I would find the "FORUM HOME" template....This is my first time messing around with this stuff so if someone could please help I would GREATLY appreciate it! Again, this is probably a very simple question, but I am stuck as to where the "FORUM HOME" template is!

THANKS!!!!!!!

Skyline 07-17-2004 05:28 AM

Quote:

Originally Posted by Skyline
OK I am very new to all this stuff and my forum has been up for about a month now....This might be a very simple question but I need to know where I would find the "FORUM HOME" template....This is my first time messing around with this stuff so if someone could please help I would GREATLY appreciate it! Again, this is probably a very simple question, but I am stuck as to where the "FORUM HOME" template is!

THANKS!!!!!!!

Nevermind I just found it!!! Im learning as we speak! :) :)

ambrosious 07-20-2004 12:49 AM

Quote:

Originally Posted by Skyline
Nevermind I just found it!!! Im learning as we speak! :) :)

Can someone explain, and I mean break it down, the following from Instructions, normal?

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

Thanks, I get everything else, can't figure this out for the life of me!

Oldfart 07-20-2004 01:38 AM

Quote:

Originally Posted by ambrosious
Can someone explain, and I mean break it down, the following from Instructions, normal?

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

Thanks, I get everything else, can't figure this out for the life of me!

That is a Sql query. You have to install it in your forums Sql database. You can do it from your admincp or you can do it from PHPmyadmin.

ambrosious 07-20-2004 09:45 AM

Can you tell me what to do in the admin cp exactly so that the right thing happens?

Kind of new to php and the whole programming side. I am amazed that I haven't messed it up yet!

Megareus Rex 07-20-2004 12:26 PM

Umm...i have a problem. All of a sudden, this hack stopped working. It no longer records who was online, or how many people were...

ambrosious 07-20-2004 08:35 PM

Thanks, I found it.

Hoobastank68 07-24-2004 11:00 AM

does this work with 3.0.3?

Hoobastank68 07-24-2004 11:13 AM

I'm pretty confused about this step:

******************************
NOW CREATE THE FOLLOWING PHRASES:
******************************
last_online_at_x / Last online at {1}
******************************
active_users_today / Number of Active Users Today
******************************
most_users_ever / Most users ever online on a day was {1} on {2}.
******************************
already_visited_today / The following members have already visited the forums today
******************************

Anyone know? I looked under Languages and Phrases but not sure what to do 100%. Thanks.

Rocol 07-24-2004 11:34 AM

Quote:

Originally Posted by Hoobastank68
does this work with 3.0.3?

Yes mate, it works perfectly with 3.0.3, I am using it on my forums ;)

Ocean 07-26-2004 12:38 AM

Quote:

Originally Posted by Hoobastank68

I'm pretty confused about this step:

******************************
NOW CREATE THE FOLLOWING PHRASES:
******************************
last_online_at_x / Last online at {1}
******************************
active_users_today / Number of Active Users Today
******************************
most_users_ever / Most users ever online on a day was {1} on {2}.
******************************
already_visited_today / The following members have already visited the forums today
******************************

Anyone know? I looked under Languages and Phrases but not sure what to do 100%. Thanks.


In your Phrase Manager, click on the button to Create a New Phrase. Then create the 4 phrases listed. All of them should be Type: Global, and the first half of each line you listed is the VarName. The second half is what goes in the Text field. :)

Datenpapst 07-26-2004 01:01 PM

This hack is also included in vBIndex. If you dont have a portal, this hack is the thing for you :)

Reece D 07-26-2004 06:00 PM

does this work for 3.0.3

Reece D 07-26-2004 06:00 PM

ok just read up :) nevermind :D

basskiller 07-27-2004 12:01 AM

never mind.. Nickel had the right way.. I was not running the full query

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

Staticfire 07-30-2004 01:56 AM

Umm yea im having a problem...it might be that I didnt do the phrase thing thats the last thing on the list, if thats the problem tell me how to do it cause I dont know. And here is a pic of my problem. There are these things that I dont want there and Id like to change them...

boiboi 08-03-2004 05:28 AM

anyone managed to make this hack work for their timezone? my server resets it every 12 am pacific. my vbulletin is 16 hours ahead which means it resets every 3 pm asia. the forum is fine, it's offset to GMT +8 but this hack nver complies.

fiber1 08-08-2004 03:03 AM

Simple question here just to make sure.

When adding phrases does it matter what "Phrase Type" is chossen when adding these?

fiber1 08-08-2004 01:51 PM

This is nice. i installed it yesterday worked great, and now its gone, i went through and all the code it still there, but its not showing up?

platnum 08-10-2004 01:56 AM

Does this slow down the page if you have about 500+ users that visit a day?

fiber1 08-11-2004 02:59 AM

Uninstalled

Bigwrenn 08-14-2004 12:37 AM

Umm......has anyone figured out the problem with it resetting and the time being off?

Bigwrenn

Tayeb 08-16-2004 01:12 PM

Hello Grary:

If you still supporting this hack would you tell me what may the reason why the most user online (original from vb3) gets resetted when logging in from outside vb page in another folder?

My login in from main directory into folder forums where vb resides.

Thanks in advnace for your response or anyone else who may be albe to help.

RetroDreams 08-21-2004 02:34 PM

So I take it that I should avoid this hack?


All times are GMT. The time now is 05: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.01890 seconds
  • Memory Usage 1,826KB
  • 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_code_printable
  • (10)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