PDA

View Full Version : Who Was Online Today on forums


Pages : 1 [2] 3

thuffner
04-03-2004, 08:07 AM
I think Daylight Savings Time screwed the hack up. After midnight it is showing that the most users was back in December 1969, and that all of my users visited then....

Any suggestions for a fix? :)

Ocean
04-04-2004, 10:42 PM
I'm also having a problem after Daylight Savings, although it isn't as bad.

Basically, prior to the change in DST, it showed that record for most users online in a single day as 3/30/2004. But after DST, it's showing as 3/29/2004.

Are there future problems that will occur? Or was this a one time event?

Nj?rd Eriksson
04-06-2004, 06:28 AM
Deleted the entry from the datastore table; reran the query, reinstalled the hack.

Described time zone problems (https://vborg.vbsupport.ru/showpost.php?p=489812&postcount=219) still persist.

LadyBeth
04-06-2004, 04:12 PM
Way cool. LadyBeth clicks install!

Xabbu
04-06-2004, 05:17 PM
Nice hack..

* Installed

LittleBoy
04-07-2004, 07:22 AM
Just installed on vB Gold and works fine for me. o_O

PuntoPower
04-07-2004, 01:04 PM
hi, sry but im new to this. how do u run the query??

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

many thx

Logikos
04-07-2004, 01:19 PM
Just wrote that abit ago "How to Run Queries (http://www.vbhacks.us/forum/showthread.php?t=82)"

PuntoPower
04-07-2004, 01:34 PM
thx

install clicked

Wolf42
04-07-2004, 03:20 PM
After some troubles with my settings this hack is working now. Big THX!!

/me clicks INSTALL

KarateKid
04-07-2004, 05:31 PM
@Gary: Do you have a solution for our daily record resetting problem? For your version of this hack with the newpage.

Best Regards

Sebastian

SaN-DeeP
04-07-2004, 09:00 PM
i want onlinetoday.php to be only visible by admins or the groups i allow.

how to make that possible ?

thnx.
Sandy...

Theda
04-07-2004, 11:11 PM
Awesome Hack.. I installed almost immediately after finding it (and clicked install).. note -- installed on the day daylight saving kicked in. >_<

I, too, have two issues.. The userlist for who's been online today is NOT resetting.
The invisible users were being counted in the totals for those usergroups that could not see invisible users -- thus throwing the count off. I ended up removing the ability to see this hack from all usergroups who do not have invisible user viewing privledges..

And a question...
is the reason for not including guests because of the inability to (easily) make the distinction from those who are logging in and/or unique IP's? It'd be interesting to see, regardless... and perhaps a list for admin of all the guest logins matched against known IP userbase? or something?

I'm gonna go reinstall (carefully) and see if it fixes.

Virtex-II
04-09-2004, 07:42 PM
I am not quite sure of what I have to do in order to install it..... :ermm:

Can someone please help me in any way :o

One more thing I have seen that a lot of modifications have been done during this thread....is there a final version somewhere or do I have to collect the different pieces together?


Regards
Virtex-II

AN-net
04-11-2004, 04:24 AM
for some reason if a unregistered/not logged in person is viewing it, it shows no one as being on. whats wrong with it?

AN-net
04-13-2004, 07:43 PM
bump:)

Battle_Ring
04-14-2004, 12:39 AM
im having a problem with this

Most users ever online on a day was 12 on 04-13-2004. | The following members have already visited the forums today:

www.battlering.net/forums

it aint sayign who visted the forums

Battle_Ring
04-14-2004, 03:03 PM
Never Mind Scrub helped me on this

Virtex-II
04-14-2004, 04:29 PM
If I run the query what is gonna happen if in a future I would like to disinstall this hack? I mean will the query be affecting the forum in anyway?

Thanks a lot
Virtex-II

olddh
04-15-2004, 12:32 AM
Ok, for the phrases, what do I enter for each in the text area?

Gryphon
04-15-2004, 02:58 PM
@ Gary W

if the tables of the db have it begins them "vb3_==>" what I must
modify?

Nothing :)

Not quite, you need to replace in the instructions.
INSERT INTO datastore (title, data)...
with
INSERT INTO vb3_datastore (title, data)...

Virtex-II
04-16-2004, 05:26 AM
Not quite, you need to replace in the instructions.
INSERT INTO datastore (title, data)...
with
INSERT INTO vb3_datastore (title, data)...

So Blackjack we have to correct the query in the attached txt file???

Gryphon
04-16-2004, 03:44 PM
Correct, nothing else needs to be changed.

Virtex-II
04-16-2004, 05:42 PM
Correct, nothing else needs to be changed.


Thanks a lot for the tip :) :banana:

Wifey
04-19-2004, 08:01 PM
Thank you SO much Zero Tolerance - that fixed my problem.

Onkel_Tom
04-21-2004, 10:26 AM
Hi,
I got the same problem showing different maxusers of today in Forumhome and the "newpage" for who was online. I use vB3.0.1

I fixed it with following change in onlinetoday.php

find:

WHERE lastactivity > " . (mktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-$timeoffset)*3600)) . "


replace it with:

WHERE lastactivity > " . (mktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-$vboptions[timeoffset])*3600)) . "


but the most users online still resets every day....

FleaBag
04-22-2004, 02:23 AM
Just switched to the seperate page version of this, it's excellent, thanks! :)

good2laugh
04-23-2004, 08:08 AM
Hi guys - bit of newbie here.. following the instructions for normal text - but am a bit lost on the creating phase part - it says
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

I'm sure that is straightforward to you guys, but not to me -can someone help me


in the cp it says VAR NAME and text - and I'm NOT clear what I do

text is the part above? ie last_online_at_x / Last online at {1} ?? but what is VARNAME


PLEASE help a newbie :)

Barto
04-23-2004, 09:40 PM
have some problems with vB3.0.1 this hack?

Onkel_Tom
04-24-2004, 01:16 AM
No, works fine for me on vB3.0.1 ;)

Nj?rd Eriksson
04-25-2004, 10:23 AM
Hi guys - bit of newbie here.. following the instructions for normal text - but am a bit lost on the creating phase part - it says
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

I'm sure that is straightforward to you guys, but not to me -can someone help me


in the cp it says VAR NAME and text - and I'm NOT clear what I do

text is the part above? ie last_online_at_x / Last online at {1} ?? but what is VARNAME


PLEASE help a newbie :)
VARNAME: last_online_at_x
Text: Last online at {1}

Add the others accordingly.

DWard
04-25-2004, 05:04 PM
Kool, bin lookin for one of these for ages

FleaBag
04-25-2004, 11:32 PM
but the most users online still resets every day....

Mine is doing this too. :(

KarateKid
04-26-2004, 05:47 PM
Mine is doing this too. :(
I have still the problem with the "newpage"-version, that the record resetts daily! :mad: :(

No solution available?

Blade-uk
04-26-2004, 09:55 PM
Admin-Bold
Super Mods-Bold

But for some reason, we all show up fine in bold, but theres a user who is a normal registered user but he comes up in bold too.

any ideas ?

thanx

Chris|vB
04-30-2004, 01:41 AM
Installed.

q8square
04-30-2004, 06:24 AM
I've installed the hack, and it worked perfectly ..

But already_visited_today are not being shown except for the GUEST ..

as soon as I sign in, this info is reset !!

That sounds very strange, how can I solve it ?

MindTrix
04-30-2004, 11:14 AM
Can we get a screenshot of the Who Was Online Today when its on its own page? Also on the front you say theres no querys to run but there is :p

Nj?rd Eriksson
04-30-2004, 08:03 PM
I've installed the hack, and it worked perfectly ..

But already_visited_today are not being shown except for the GUEST ..

as soon as I sign in, this info is reset !!

That sounds very strange, how can I solve it ?This might simply be this time zone problem (https://vborg.vbsupport.ru/showpost.php?p=489812&postcount=219) I already described.

It is impossible to display a "Who was online today?" list correctly for all members regardless which time zone they use on each and every board regardless which default time zone the board uses if one doesn't keep a list of members that logged in within the last 48 hours (instead of only 24 hours).

Best (and probably easiest to code) would be to make the list fully dynamic (i. e. "Who was online in the last 24 hours?"

I know that there is a dynamic "Who was online in the last 24 hours?" hack already (which works fine) but this "Who was online today?" also keeps the "Most users ever online on a day was ..." top score which I don't want to miss.

Ironically enough, this "Most users ever online on a day was ..." function is done fully dynamically (and doesn't rely on the vBulletin "Registered visitors today" stats which are not dynamic but based on the default time zone) which is absolutely awesome.

Since the author apparently doesn't support this hack anymore and because so many people have installed this hack already (all of whom have this time zone problem I described, regardless if they are aware of it or not), I wonder if some coder could convert the "Who was online today?" routines to fully dynamic "Who was online in the last 24 hours?" routines (or fix it by keeping the login entries for 48 hours and considering the member's time zone as offset from the default time zone which is, however, probably somewhat more complicated?)

Either solution would be absolutely elite and elysian, and I would make such a coder my hero of the month. ;)

elmore
04-30-2004, 10:46 PM
I'd like to just say hello to everyone real quick. I'm brand new to the vBulletin community so I'm fairly ignorant on how the entire systems works. Anyways I just installed this hack on 3.0.1 and it seems to pull information though it's not formatted correctly. I assume this is of course something stupid that I have done but not knowing the system any better than I do at this point I'm a bit clueless. :o

Anyways I'd love it if someone could give me a gentle shove in the right direction and lemme know what I should look at, attached is a screenshot of the error I get. Thanks.

*edit*

Ummm nevermind I got it fixed cut off a tag in a cut and paste. Knew it would be something stupid like that. Anyways:

I had


ref="member.php?$session[sessionurl]u=$userid" title="<phrase


I clipped the


<a

Wifey
05-02-2004, 06:08 PM
I'm having problems with this hack. I have NO clue when it rolls over and I'm not sure wh it's so screwy. I've been putting off fixing it, but I really need to take care of it. at 10 am my time I see that the last time someone was online was at 6pm (meaning, the night before). What's wrong? I've done everything.

Sirius Black
05-03-2004, 12:55 AM
Great hack man !! Installed with no problems !!

Flow Fusion
05-03-2004, 01:29 AM
Can I please get some help with this?I can't get into my admincp? I keep getting this error message?

Invalid SQL:
INSERT INTO session
(sessionhash, userid, host, idhash, lastactivity, styleid, loggedin, bypass, useragent)
VALUES
('8e2bbc346a4fbfade4d1d6edff6ed4b6', 687, '66.65.121.38', '4b84f6b2f3e3352850e0f539b66878cb', 1083460415, 0, 1, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)')

mysql error: The table 'session' is full

How do I remove this hack? I also want it out of my database? What file is causing this that I need to replace?

Wifey
05-03-2004, 06:17 AM
You need to do a couple of things to get it out of your database. You can probably just go back through the steps you took to insert it, then just change them. You should have the original files for your boards from your original download - compare the modified php files to those if absolutely necessary.

After that you should be able to get into your admincp so you can make the template modifications.

Hopefully. If that doesn't fix it you may have to do some work in php myadmin from your database.

Flow Fusion
05-03-2004, 01:04 PM
Hopefully. If that doesn't fix it you may have to do some work in php myadmin from your database.

Nope I was wondering two thing? One what if I delete this table?

And two does this look right?

http://flowfusion.biz/sigs/online.jpg

Wifey
05-03-2004, 05:51 PM
Don't delete that. That's totally separate from your hack I'm pretty sure.

Flow Fusion
05-04-2004, 12:31 AM
So do you have any suggsetions on what file it could be that''s causing this problem?

Wifey
05-04-2004, 02:45 AM
No but I really wish I could help you.

Not quite, you need to replace in the instructions.
INSERT INTO datastore (title, data)...
with
INSERT INTO vb3_datastore (title, data)...


Have you seen that and did you try it? I'm pretty sure that's part of the original query you run, though not entirely sure about that.

I think I would just uninstall the hack. Just follow the directions you used to install it and uninstall. Then maybe try reinstalling? Try running the query again. It won't let you duplicate the query, so if it's already run correctly you'll get an error.

I really wish I knew more so I could help you!

edit: Okay, this worked for me to get the fix I needed. I uploaded the onlinetoday.php file to my admincp folder in my database and then ran it in my browser. You get a blank page but now the damn thing is finally working properly.

Oleks
05-06-2004, 03:48 AM
Hi,
Where I can download the latest version of Who Was Online Today for vB 3.0.1?
Thank you.

xQuEeNzNaZcHox
05-06-2004, 11:02 PM
<a href="http://www.nymfans.com/" target="_blank">http://www.nymfans.com/</a>

Look at mine, some of it looks screwed up.

nintendo
05-07-2004, 06:38 AM
When you try to run the query from phpMyAdmin it says...

Error

SQL-query : [Edit]

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

MySQL said:

Duplicate entry 'todaymaxonline' for key 1


it's also messed up when it comes to the record number. On the first day it got over 200, but right now it says....

onlinetoday.php

Number of Active Users Today: 116
Most users ever online on a day was 116 on Today.

All times are GMT -7. The time now is 12:18 AM.

Index page says

Number of Active Users Today: 9
Most users ever online on a day was 9 on Today.

And has any one figure out how to make both of them use the same time zone?

Some one should move this over to beta until it actually works!!!!

JaNa
05-07-2004, 04:12 PM
Useful hack. Thanks :)

* JaNa Clicks Install

lifesourcerec
05-10-2004, 07:26 AM
This script doesn't like me. It works until I login and then it doesn't work.

Flow Fusion
05-12-2004, 12:49 PM
I seem to be getting members names twice? I don't know why but sometimes three times all they have to do is refresh the page?

http://giftedsouls.com

Gnappy
05-12-2004, 05:55 PM
When you try to run the query from phpMyAdmin it says...

Error

SQL-query : [Edit]

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

MySQL said:

Duplicate entry 'todaymaxonline' for key 1


it's also messed up when it comes to the record number. On the first day it got over 200, but right now it says....

onlinetoday.php

Number of Active Users Today: 116
Most users ever online on a day was 116 on Today.

All times are GMT -7. The time now is 12:18 AM.

Index page says

Number of Active Users Today: 9
Most users ever online on a day was 9 on Today.

And has any one figure out how to make both of them use the same time zone?

Some one should move this over to beta until it actually works!!!!


empy ur datastore from db

bigreefer
05-13-2004, 08:13 PM
Hmm sorry but i have a problem with this hack.

There are different numbers of member Today Online.

It say: Member Today Online : 289 and most member ever Online: Today with 357

What the problem ?

Bix ThX and sorry for bad english.

nydk
05-14-2004, 08:55 PM
Nm...

Spencer F.
05-14-2004, 10:05 PM
Does this work for 3.0.1 yet?

Gnappy
05-16-2004, 09:17 PM
it works, but u need to clean ur datastore from db before install it...

im my case...

good2laugh
05-17-2004, 07:52 AM
I don't know what I'm doing, and I've just probably done something wrong :rolleyes: .. but should I have all those asterisks, isn't it possible to just have user1, user2, user3, user4, (where user is their screen name)

I've (I hope) attached a screen grab.

I really would appreciate if someone can give me an "idiot type" guide to how to fix this... I really AM code stupid. Thanks if anyone will help.

good2laugh
05-17-2004, 07:58 AM
I don't know what I'm doing, and I've just probably done something wrong :rolleyes: .. but should I have all those asterisks, isn't it possible to just have user1, user2, user3, user4, (where user is their screen name)

I've (I hope) attached a screen grab.

I really would appreciate if someone can give me an "idiot type" guide to how to fix this... I really AM code stupid. Thanks if anyone will help.

it's not letting me attach for some reason... so here's kinda what it looks like - except it's spanning two coloumns and there are many more names than this, just added a few to demonstrate.

Most users ever online on a day was 278 on May 9th, 2004. | The following members have already visited the forums today:
1Gilly1 ****************************** , 1seasnbehind* ****************************** , a.fo ****************************** , a1lien1 ****************************** , acanthis* ****************************** , ajax ****************************** , akiraamk ****************************** , almiroty ****************************** , AmyMeara ****************************** , Angin17 ****************************** , Annie ****************************** , aquarius ****************************** , babyalz ****************************** , becc* ****************************** , Bertha ****************************** , Bev* ****************************** , bobbyg ****************************** , BodieM* ****************************** , Bren* ****************************** , Brenda ****************************** , breza25* ****************************** , cancankate ****************************** , caramgui ****************************** , carix ****************************** , Casper Hauser ****************************** , Catheeka ****************************** , cherryxf ****************************** , Cici814* ****************************** , cjxphile* ****************************** , colette* ****************************** , Colin_s ****************************** , Cuits ****************************** , D Gordon* ****************************** , daanii ****************************** , danafan ****************************** , Dannie ****************************** , dasku ****************************** , dcsmick ****************************** , debw* ****************************** , Diane ****************************** , dreamcatcher ****************************** , EllaK ****************************** , emmbright* ****************************** , En Ami ****************************** , estrellazul ****************************** , Eszcd30 ****************************** , EWirth ****************************** , flo73* ****************************** , FlyingCarpet* ****************************** , Foxmulder ****************************** , gadd1960 ****************************** , gadksfan* ****************************** , gillyfan2002 ****************************** , gillyfan2003 ****************************** , Gillytams ****************************** , gillywoz ****************************** , Goldberg ****************************** , grovesa16 ****************************** , Hansie ******************************

jcbklyny
05-17-2004, 09:54 PM
I'm using VB 3.01 and everything installed fine. All looked good... until I realized that the Number of Active Users Today being displayed doesn't match up when you use IE and Mozilla... you get 2 different totals.

It seems like when the Number of Active Users Today resets itself at the end of the day IE takes a few hours to start counting again... while Mozilla works fine.

If you view the onlinetoday.php file in either browser there isn't a problem... it only happens when displaying on the forumhome in IE.

Any Ideas? If this was answered in a previous post, please... point me in the right direction.

I had to uninstall this until I get a fix.

Thanks
John

derb
05-17-2004, 11:33 PM
nice hack !
could someone please tell me how to get the invisible users count into the totals ?
At the moment only the admin sees the correct one.

derb
05-24-2004, 11:57 AM
nice hack !
could someone please tell me how to get the invisible users count into the totals ?
At the moment only the admin sees the correct one. anyone ???

Battle_Ring
05-24-2004, 09:32 PM
how come

Number of Active Users Today: 43
Most users ever online on a day was 43 on 05-24-2004.

that above liek reset every day anyone know how i can fix this
but then

Most users ever online was 135, 05-01-2004 at 12:58 AM.

ctsolutions
05-25-2004, 02:28 AM
works near perfectly except that on my site, the usernames are NOT formatted properly. That means all the user are "plain text" no color, nu bold.

Can somebody help ?

Thanks
CtSolutions

Banana
05-29-2004, 11:35 PM
Well, just downloaded and installed and it resets at midnight :(

Also, how does one update this with "old" world-records from the previous incarnation of this hack? I can update the datastore table appropriately BUT the current data is cached so the database update is ignored.........

Banana
06-01-2004, 01:49 PM
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?

nickels376
06-01-2004, 01:53 PM
It's a per-day reading, so it would reset at 12:00 midnight. Users based on that 24hr period.

-Dom

Banana
06-01-2004, 01:57 PM
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".

nickels376
06-01-2004, 02:08 PM
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 (http://www.fordcontour.org/fcoforums)

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?

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
Are you sure you manually ran this query on your database?

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:"todaymaxonlinedate";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:"todaymaxonlinedate";i:1086062400;}

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

-Dom

Banana
06-02-2004, 11:38 AM
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
Hey! That was my question! :D


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

seangworld
06-02-2004, 05:53 PM
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:\"todaymaxonlinedate\";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
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
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
I have had more problems with this hack than I care to deal with anymore and there is no support.

* ashkarita clicks uninstall
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
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.php?p=520946&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/forum/showthread.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
For all german Users i found a german Translation with a optimized Install.txt and Bugfixes ! http://www.vbulletin-germany.com/forum/showthread.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 (http://www.vbulletin-germany.com/forum/member.php?u=5791) !

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

SaN-DeeP
06-10-2004, 09:27 PM
Here it is Re-Translated by me and optimized by CharlieBrown (http://www.vbulletin-germany.com/forum/member.php?u=5791) !

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:

INSERT INTO datastore( title,
DATA )
VALUES (

'todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";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
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
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
I find the way to slove it..

MY TIMEZONE IS +8

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

increase -8
(($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?

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


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
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
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
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
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
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
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:\"todaymaxonlinedate\";i:1070000000;}')

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

Oldfart
07-20-2004, 01:38 AM
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:\"todaymaxonlinedate\";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
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
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:\"todaymaxonlinedate\";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?

Bigwrenn
08-21-2004, 03:29 PM
It looks that way........................

RetroDreams
08-21-2004, 05:58 PM
It looks that way........................

I installed the one by vbDev. It works well so far.

Bigwrenn
08-21-2004, 06:08 PM
Really, I'll have to give it a go.

Watson
08-28-2004, 01:12 AM
will give this a whirl

Mosh
09-07-2004, 10:08 PM
Gary,

I was testing this on my test site, worked great to start of with, staff loved it, but the same problem, resets itself and there are now no statistics and the max ever in 1 day has reset to zero, so having the same as most of the recent posters here, so I am going to remove it from the test site.

I would really have liked this to have worked, but it seems to not be supported anymore.

One question - can anybody tell me what SQL query I need to run to remove the entry that was originally inserted in to my database when I installed this hack?

Thanks,

JD. :)

Edric
09-12-2004, 01:34 PM
Mods and admins don't show in formatted text (bold/italic).
Simple but very useful hack. Great work. Thanks.

Installed.

Bigwrenn
09-13-2004, 12:08 AM
Gary,

I was testing this on my test site, worked great to start of with, staff loved it, but the same problem, resets itself and there are now no statistics and the max ever in 1 day has reset to zero, so having the same as most of the recent posters here, so I am going to remove it from the test site.

I would really have liked this to have worked, but it seems to not be supported anymore.

One question - can anybody tell me what SQL query I need to run to remove the entry that was originally inserted in to my database when I installed this hack?

Thanks,

JD. :)

If you have access to your database via phpmyadmin you can look into your datastore table and find "todaymaxonline". At that point you can manually remove or drop that query. Do this after you remove all file and template edits because if you don't it can cause a database error across your forums. Hope this helps.

BTW- Don't forget to remove all phrases that were added for this hack! ;)

Bigwrenn

Markro
09-20-2004, 03:00 PM
I'm having troubles with the phrases, how do they work?

Mosh
09-21-2004, 02:27 PM
If you have access to your database via phpmyadmin you can look into your datastore table and find "todaymaxonline". At that point you can manually remove or drop that query. Do this after you remove all file and template edits because if you don't it can cause a database error across your forums. Hope this helps.

BTW- Don't forget to remove all phrases that were added for this hack! ;)

Bigwrenn
I don't have access via phpMyAdmin, I just wanted the Query that I could run via the AdminCP as my SQL is not the best and I am still learning. It is a good thing I tested this at my test forum first. I am having no problems with it, but now it is a bit reduntant as nothing references it now. I had already removed all modifications before posting my request for the SQL query. Thanks anyway for trying to help. JD. :)

Takamine334
09-23-2004, 11:18 PM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /www/g/groove_salad/htdocs/msgboard/index.php on line 32

???

Warlord
09-29-2004, 12:23 AM
*clicks install

Thanks for the vb3 version :)

Mosh
09-30-2004, 01:05 AM
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /www/g/groove_salad/htdocs/msgboard/index.php on line 32



???

You need to check that you altered this bit properly (especially the , after the 'mailqueue' entry):

OPEN index.php AND FIND
******************************
'mailqueue'
******************************
REPLACE WITH
******************************
'mailqueue',
'todaymaxonline'


Hope this helps,

JD. :)

KarateKid
09-30-2004, 08:59 AM
Does the newpage version of this hack work with 3.0.3 ?

Neutral Singh
10-09-2004, 04:22 AM
Gr8 Hack!! Aman click *Installed*

I find that there are so many guests that visit my site without registering...:tired: I would love to show under this hack information about how many guests visited my site on a one given day... that would make the whole statistic pretty awesome for the visitors as well members. It does not matter that many guests are indeed serach engine spiders. ;)

So, is there any hack which makes it possible to also show how many guests were online today along with active members.

Best Regards

180967
10-10-2004, 04:35 AM
It didnt work for us with 3.03.

Does the newpage version of this hack work with 3.0.3 ?

h75
10-10-2004, 12:18 PM
Hello. I would like to use this Hack on the portal vBadvanced 1.0.0 :nervous:
Could someone help me, plz. I only find broken links in this Thread.

h75
10-13-2004, 09:31 AM
Hello. I would like to use this Hack on the portal vBadvanced 1.0.0 :nervous:
Could someone help me, plz. I only find broken links in this Thread.
Plz help me.....

Chadi
10-16-2004, 01:35 AM
Please look here
www.talkjesus.com

I have the same row twice. Why? :)

shadiguy1
10-16-2004, 10:26 PM
will this work with 3.0.3 please let me know.

h75
10-17-2004, 03:52 AM
I have the same row twice. Why? :) have you added $todayloggedinusers 2 times in Template FORUMHOME ? :rolleyes:

dstr
10-17-2004, 08:24 AM
will this work with 3.0.3 please let me know.

i just installed it on 3.0.3 without any problems.

Chadi
10-17-2004, 03:55 PM
Can someone please help me here. How do I remove the 2nd same row? www.talkjesus.com

Thanks.

Chadi
10-17-2004, 03:56 PM
have you added $todayloggedinusers 2 times in Template FORUMHOME ? :rolleyes:
Weird..somehow I did lol. Fixed. Thanks.

Mosh
10-19-2004, 09:47 AM
If you have access to your database via phpmyadmin you can look into your datastore table and find "todaymaxonline". At that point you can manually remove or drop that query. Do this after you remove all file and template edits because if you don't it can cause a database error across your forums. Hope this helps.

BTW- Don't forget to remove all phrases that were added for this hack!

Bigwrenn

I don't have access via phpMyAdmin, I just wanted the Query that I could run via the AdminCP as my SQL is not the best and I am still learning. It is a good thing I tested this at my test forum first. I am having no problems with it, but now it is a bit reduntant as nothing references it now. I had already removed all modifications before posting my request for the SQL query. Thanks anyway for trying to help. JD. :)

For those who want to know how to get rid of the original query, then the Query to run is: DROP TABLE todaymaxonline;

Thanks to Bigwrenn for pointing it out, just did not know that I had to use the DROP command :)

JD :)

AloneEagle
10-21-2004, 08:39 AM
******************************
RUN THIS QUERY (IF YOU HAVEN'T RAN
THE INSTALLER.PHP FILE BEFORE)
******************************
INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}')
******************************

I don't understand that step... Can you please explain it more clearly?
Thanks

AloneEagle
10-21-2004, 09:00 AM
SQL-query : [Edit] [Create PHP Code]
INSERT INTO datastore( title,
DATA )
VALUES (
'todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}'
)

this is what I got after I try to insert that into the database. Did I do it correct?

pseudocode
10-23-2004, 01:23 PM
I'm getting the following error unless I REM out 'todaymaxonline' in index.php:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/georgia/public_html/forums/index.php on line 32

Any thoughts?

Mosh
10-23-2004, 03:10 PM
I'm getting the following error unless I REM out 'todaymaxonline' in index.php:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/georgia/public_html/forums/index.php on line 32

Any thoughts?
Read this post in this thread for a possible solution - https://vborg.vbsupport.ru/showpost.php?p=557253&postcount=412

pseudocode
10-24-2004, 02:29 PM
Read this post in this thread for a possible solution - https://vborg.vbsupport.ru/showpost.php?p=557253&postcount=412


That did it! I can't believe I missed something that simple. D'oh!

Thank you!!!!!

Mosh
10-25-2004, 04:17 AM
That did it! I can't believe I missed something that simple. D'oh!

Thank you!!!!!

Glad to be some help to you :)

jd :)

Number9
10-25-2004, 05:12 AM
So I take it that I should avoid this hack?

YES!

jpt62089
10-25-2004, 06:07 AM
Edit: NVM you can delete this... I found a better WWOT

BeatificFaith
10-25-2004, 01:31 PM
How can I remove the SQL that I inserted for this hack? Is there a remove code or do I have to remove it manually?

Bigwrenn
10-25-2004, 11:27 PM
Run this query: DROP TABLE todaymaxonline;

shadiguy1
10-29-2004, 03:52 PM
i installed everything as stated in install file for normal install and nothing is showing up at all please let me know if osmeone can take a look for me thanks..

AloneEagle
11-04-2004, 06:33 AM
will this work with 3.0.3 please let me know.
Its work :).

ProXie
11-06-2004, 01:44 PM
Not for me:
http://www.blizzcenter.com/forums.php

I followed the instructions completely.

Viks
11-09-2004, 03:18 AM
wud like 2 use but found instructions normal.txt tooo complicated to follow.

Viks
11-09-2004, 05:07 AM
i dont get this part --------------------------

RUN THIS QUERY (IF YOU HAVEN'T RAN
THE INSTALLER.PHP FILE BEFORE)
******************************
INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}')

-------------------

which installer.php?

where is the datastore?

Sergio68
11-11-2004, 07:41 AM
I apologise if this is a repeated question but I wasn't able to find an answer here neither in the istructions.

How can I change the setting of this hack from TODAY to Last 24 Hours ?
Thx.

Sergio68
11-11-2004, 10:32 PM
Any ideas please, this hack keeps on doing reset at midnight !! :(
I need something for the last 24 hours....

klaattu
11-13-2004, 02:48 AM
Any ideas please, this hack keeps on doing reset at midnight !! :(
I need something for the last 24 hours....
Small stupid question.... (yes I have searched the whol ethread)

I get like 200 to 400 users each day on my forum, so as you may expect the list is long, so I checked the template and looked for the "smalltext" part and it has it...so..THE QUESTION IS..
how do I make the text size of the list even more small lets say 8 points?

I know Its a newbie question but I dont want to mess with a very good hack

best regards

Sergio68
11-13-2004, 02:18 PM
Any Ideas on how to count the guests too ?

Sergio68
11-13-2004, 02:19 PM
Small stupid question.... (yes I have searched the whol ethread)

I get like 200 to 400 users each day on my forum, so as you may expect the list is long, so I checked the template and looked for the "smalltext" part and it has it...so..THE QUESTION IS..
how do I make the text size of the list even more small lets say 8 points?

I know Its a newbie question but I dont want to mess with a very good hack

best regards
Template part has been made in HTML so you can fix the size I suppose...

Trekkie
11-18-2004, 06:00 PM
thx nice hack

ericgtr
11-19-2004, 06:38 PM
thx nice hack
Unless I am missing a setting somewhere this is not working correctly, I am using the new page part. On the forumhome it says "Number of Active Users Today: 295" then when you click on it and go into the page it says "Number of Active Users Today: 434". Any help would be appreciated.

Hexemer
11-24-2004, 09:36 PM
Hello people :)

I have a problem with the onlinetoday.php. On forumhome it's all ok but on onlinetoday.php the usernames not shown. :ermm:

I followed the instructions, only the forumhome template was edited by me.

Can someone help me please? :squareeyed:

Here screenshots:

kabresh
11-26-2004, 09:07 AM
Could someone repackage this hack, because its going to be hard work to look though 30 pages to see whats modded from the orig.

Kylie
12-03-2004, 12:20 PM
First Time I've ever tried or installed a HACK. It works well considering I just installed it five minutes ago.

I just want to thankyou Gary. You are KING!

Hexemer
12-03-2004, 02:26 PM
Could someone repackage this hack, because its going to be hard work to look though 30 pages to see whats modded from the orig.
Yes, that would be good. The record always resetted at midnight. I use the newest instructions. :ermm:

boo.3
12-05-2004, 01:13 PM
NOW CREATE THE FOLLOWING PHRASES:

and

RUN THIS QUERY (IF YOU HAVEN'T RAN
THE INSTALLER.PHP FILE BEFORE)

what do i do with those??

how do i run a query? and how do i create PHRASES?

alkatraz
12-07-2004, 03:03 AM
Installed with ease, thank you!

wow! I avg ~50 members online at a time but was suprised to find out i'm getting over 400 members online throughout the day! (I thought it was the same 40 or so post+++++s that never seem to logout, lol)

fonzerelli_79
12-07-2004, 06:11 AM
strange problem with my installation
had it up and running for months
only a while ago i noticed that the most members online was resetting to the same as that day

so i uninstlled and then reinstalled the hack and it was working perfectly for weeks

then today i checked and most members online is now only 2 (ie members online today so far)

what could be wrong??

alkatraz
12-10-2004, 04:44 AM
I decided I wanted to make this visable to my mods/admins only for bandwidth/query reasons.

Just wanted to share the mini hack if anyone else wanted it,


Edit the template "FORUMHOME"

search for,

$todayloggedinusers


replace with,

<!-- only show total users today to mods -->
<if condition="$show['modcplink']">

$todayloggedinusers

</if>


and you're done

SHOBizzy
01-07-2005, 12:11 AM
Installed tonight on vB 3.0.4 and it works like a charm. Thanks much!

alkatraz, I searched for $todayloggedinusers in my FORUMHOME template like you suggest because I'm interested in having only the mods and admin view this list also but that phrase is nowhere to be found. Is there any other way to add this that you know of?

alkatraz
01-07-2005, 01:19 AM
are you using the normal hack or the "new page" version of this hack?

the normal hack instructions say
OPEN THE FORUMHOME TEMPLATE AND FIND
******************************
<!-- end logged-in users -->
******************************
BELOW, ADD
******************************
$todayloggedinusers

so if it's not in FORUMHOME then you either installed it wrong and it shouldn't be working *at all* for you. ;) OR you're using the "new page" hack. If it's the later, then check the install instructions and see where $todayloggedinusers is added.

kisersose
01-07-2005, 06:10 AM
thanx

Impulse
01-07-2005, 09:00 PM
Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?

kisersose
01-07-2005, 11:42 PM
Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?


it doesnt look like that on my site.

http://emceeplanet.com/forums/index.php?

show us a pic.

Slapp3r
01-07-2005, 11:52 PM
Thanks nice hack

Impulse
01-08-2005, 04:27 AM
it doesnt look like that on my site.

http://emceeplanet.com/forums/index.php?

show us a pic.


www.ffimpulse.com/forum/index.php?

LKJR
01-08-2005, 06:11 AM
:confused: upgraded from 3.0.3 tonight (this hack worked wonderful on that) to 3.0.5 and it killed it.

Even though after the hack, and the upgrade the box on the bottom remained, but it was empty and had no values in it (? :confused: )

I went through the instructions and moded the index.php and forumhome template but I kept getting this error after moding the template.

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/.gareth/lkjr/architorture.org/forums/includes/adminfunctions_template.php(3054) : eval()'d code on line 212

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


any ideas?

Impulse
01-09-2005, 01:15 PM
Somone help me, quick if possible.

I've just installed this hack (on vb3.0.3, but it works perfectly fine) except for one thing. Whereas the currently online table shows users like this: user1, user2, user3 (note the comma's although they dun appeared bolded, but to make them clearer...)

this hack shows them like users1 , users2 , user3 , how and perhaps more importantly where do I remove this extra unwanted spacial?

Someone? ;___;

(for a link of the forum click here (http//www.ffimpulse.com/forum))

edit: I've managed to just remove the comma completely, but I that's not what I want. I want it to function properly. I tried some other modifications of the code, copying the who's online original bit (who's currently online) which makes the comma appears, but w/o no luck.

I'd really appriciate it if someone assist/helps me with this :\

joeychgo
01-09-2005, 10:48 PM
Installed - Again - On my second forum - Thanks for a great hack!!!!!!

dacho
01-10-2005, 05:45 AM
how did i CREATE 2 NEW TEMPLATES CALLED ?

PixelFx
01-10-2005, 06:31 AM
how did i CREATE 2 NEW TEMPLATES CALLED ?
I just tried this on vb3.0.5 and I get blank names as well.

WiseOwl
01-11-2005, 08:09 AM
Hack was working fine, I installed about 6 other modifications and now it doesnt show the usersnames of the users who have visited.. I'am running 3.0.5 aswell, tried reinstalling same deal..

any help would be greatly appreciated...

Thank You,
Owl

Gnappy
01-12-2005, 01:44 AM
If someone can help me i have a "little" problem.......


the hack works lovely, but the "todaymaxonline" will be resetted day by day.... i dropped the todaymaxonline in my datastore, but the first time a user(or me) makes a refresh on the main page(so the who was online is called by index.php) the todaymaxonline in datastore is updated(or created again if before i dropped it)... i know is right that the datastore must be updated anytime someone call the index.php, but damn! it should register the max online record and the date of it!


if i drop the todaymaxonline into datastore and i run the hack query i will get back this error
Error: 1062 SQLSTATE: 23000 (ER_DUP_ENTRY) Message: Duplicate entry '%s' for key %d
im not a sql expert, so if someone can help me ill promise ill pay him a fresh and cool beer :up:


thanks for your attention

Alien
01-13-2005, 09:34 AM
Confirmed...

After upgrading to 3.0.5 and reinstalling the php edits on this one the values don't appear. They always did with other upgrades.. Hmm...

Alien
01-13-2005, 11:18 PM
Anyone have any ideas on resolving this? :)

GetGamer.com
01-14-2005, 09:03 PM
Why does the ACP quick stats report a totally different number from this Mod?

I have Admin Control Panel Quick Stats enabled, and it shows 92 "Unique Members Today" while Who Was Online Today reports 135. Shouldn't these report the same number?

fenderpick
01-15-2005, 07:02 PM
ok.. im a newbie!! ive been looking for this and glad its available (thanks Gary!). will someone please.. please help a newbie out. i need very basic (easy to follow) instructions on how to install. i downlaoded it but cant do anything with it..
please help!!

thanx!

MorrisMcD
01-16-2005, 02:40 AM
Ok.. I followed the instructions in the txt file and all works well.. There were no instructions on where to put onlinetoday.php and I dont have one anywhere...

Do I need to upload this? How is it working without it?

Great, easy hack.. Thanks..

Also - fender.. Really, that txt file is about as easy as it will get.. If you are confused what to do based on that, read all the stickies and faq's.. That txt is about as easy as they come

Marco van Herwaarden
01-16-2005, 07:20 AM
Check the instructions_newpage.txt

fenderpick
01-16-2005, 06:29 PM
Ok.. I followed the instructions in the txt file and all works well.. There were no instructions on where to put onlinetoday.php and I dont have one anywhere...

Do I need to upload this? How is it working without it?

Great, easy hack.. Thanks..

Also - fender.. Really, that txt file is about as easy as it will get.. If you are confused what to do based on that, read all the stickies and faq's.. That txt is about as easy as they come

I dont know where to begin within the admin and how to dissect the script.. I know nothing of .php... not easy enough for me. Could someone give me a basic tutorial from the very beginning..

MorrisMcD
01-16-2005, 06:44 PM
I dont know where to begin within the admin and how to dissect the script.. I know nothing of .php... not easy enough for me. Could someone give me a basic tutorial from the very beginning..

Sometimes you are required to upload files.. Do so.. Sometimes you need to run a install script.. Point your browser to it and click next next next until its done or whatever.

What I do for file edits is make a copy of the original.. (in an example using index.php) index.php copied to index.old.. Then edit the index.php and make the changes.. I do it by right clicking and going to edit or open with notepad (or other text editor).. make the changes and save.. If something craps out, you can always delete it and rename the index.old back to index.php...

For the template modifications, I just go to the admincp, and go to Styles and Templates > Style Manager.. Then drop down the menu to edit template or add template..

For queries, you will need to get PHPMyAdmin (most hacks dont require these changes or are done with an install script)

I'm sure there are threads dedicated to the processes that would explain it better and you should do a search on that.

MorrisMcD
01-16-2005, 07:20 PM
Check the instructions_newpage.txt


Thanks!

So this is only needed if I want it to be a separate page altogether?

My bad.. I should have read everything :) Happy without the extra page myself..

Marco van Herwaarden
01-16-2005, 07:33 PM
Thanks!

So this is only needed if I want it to be a separate page altogether?

My bad.. I should have read everything :) Happy without the extra page myself..
Well i haven't installed this one myself, so i am not sure. But from the description i would say yes, only if you want it on a seperate page.

Gnappy
01-16-2005, 09:42 PM
If someone can help me i have a "little" problem.......


the hack works lovely, but the "todaymaxonline" will be resetted day by day.... i dropped the todaymaxonline in my datastore, but the first time a user(or me) makes a refresh on the main page(so the who was online is called by index.php) the todaymaxonline in datastore is updated(or created again if before i dropped it)... i know is right that the datastore must be updated anytime someone call the index.php, but damn! it should register the max online record and the date of it!


if i drop the todaymaxonline into datastore and i run the hack query i will get back this error

im not a sql expert, so if someone can help me ill promise ill pay him a fresh and cool beer :up:


thanks for your attention


UP! help! :ninja:

MorrisMcD
01-16-2005, 11:44 PM
I just installed this and it works great except mods cant see who was invisible online.. They do from 'Who's online' though

Do I need to make a modification?? Like I said, I just installed it, and I figured all previously talked about bugs were fixed in the latest release

Alien
01-17-2005, 03:24 AM
I just fixed my above problem, was completely my fault. Keep on truckin'! ;)

Bluetiereign
01-21-2005, 03:04 AM
Does this hack work or not ?...I installed it and was getting a buggy looking | in the cell. Geez, 33 pages..

MorrisMcD
01-21-2005, 03:07 AM
Does this hack work or not ?...I installed it and was getting a buggy looking | in the cell. Geez, 33 pages..


It works great for me.. I did it without the extra page

Running 3.0.5

Gnappy
01-24-2005, 02:11 PM
If someone can help me i have a "little" problem.......


the hack works lovely, but the "todaymaxonline" will be resetted day by day.... i dropped the todaymaxonline in my datastore, but the first time a user(or me) makes a refresh on the main page(so the who was online is called by index.php) the todaymaxonline in datastore is updated(or created again if before i dropped it)... i know is right that the datastore must be updated anytime someone call the index.php, but damn! it should register the max online record and the date of it!


if i drop the todaymaxonline into datastore and i run the hack query i will get back this error
Error: 1062 SQLSTATE: 23000 (ER_DUP_ENTRY) Message: Duplicate entry '%s' for key %d
im not a sql expert, so if someone can help me ill promise ill pay him a fresh and cool beer :up:


thanks for your attention

up for me

GetGamer.com
01-24-2005, 02:33 PM
Why does the ACP quick stats report a totally different number from this Mod?

I have Admin Control Panel Quick Stats enabled, and it shows 92 "Unique Members Today" while Who Was Online Today reports 135. Shouldn't these report the same number?I'm still looking for an answer to this question. Other than the numbers discrepancy, the Mod works great!

H2k
02-02-2005, 08:22 PM
Mods and admins don't show in formatted text (bold/italic).
if i want to show the user who was online in 2 day ..

not only 24 hour i need it to be 48 hour .. can we do this ?

Thankyou very much

Solid-Snake
03-05-2005, 04:27 PM
Thanks, works great. :D

athoob
03-10-2005, 07:20 AM
thanks, installed :)

jozo1
03-10-2005, 11:52 AM
very nice hacks, thanks

RapCapital
03-12-2005, 02:31 AM
INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}')

What do i do for that? Where's datastore????

Marco van Herwaarden
03-12-2005, 05:05 AM
datastore is a table in the database.

What you want to do with this?

RapCapital
03-12-2005, 06:52 PM
It says to insert that into datastore? Where can i find datastore? (Sorry i'm new at VB just purchased it) :pirate:

Marco van Herwaarden
03-12-2005, 07:01 PM
INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}')
Is just a query you have to run. If you want to know how to run a query, click on the link "How to run a query" above the upper statement.

PixelFx
03-13-2005, 03:07 AM
I tried to install this on 3.0.7 and its not working, no users show up with users online. What am I missing?

Ghostsuit
03-14-2005, 01:52 PM
Hmm I have it working on 3.0.7 but it resets at midnight. I just worked throught the instructions, I'm guessing you missed something. I'm just stumped on why it's always resetting.

WhiteOx2
03-14-2005, 07:03 PM
It's supposed to reset at midnight that's when the day ends and the new one begins, after all it's not a 'Who Was Online Last Week' hack. :D

WhiteOx2
03-14-2005, 07:05 PM
I tried to install this on 3.0.7 and its not working, no users show up with users online. What am I missing?It works fine with 3.0.7 you must have done something wrong.

firas
03-15-2005, 07:53 AM
thanx>>>>

FreeFall0
03-15-2005, 07:17 PM
Is there a modification to this and have only the admin to be able to see it? Or make it so users names are not links?
Thanks :)

vakvak
03-19-2005, 04:37 PM
INSERT INTO datastore (title, data) VALUES ('todaymaxonline', 'a:2:{s:14:\"todaymaxonline\";i:1;s:18:\"todaymaxonlinedate\";i:1070000000;}')

not sql