[2.0.8] 15 Minute Who is Online MOD

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
25
63%
Very Good
3
8%
Good
4
10%
Fair
1
3%
Poor
7
18%
 
Total votes: 40

TRshady
Registered User
Posts: 82
Joined: Sat Jan 15, 2005 1:52 am

Post by TRshady »

Any ideas on when this'll work for 2.0.11?
TRshady
Registered User
Posts: 82
Joined: Sat Jan 15, 2005 1:52 am

Post by TRshady »

would love to make this change ...
anyone able to tell me when this will be updated for 2.0.11 or how to make this mod work for the latest version?

Thanks

Changed all '300's to '900's ... in the files mentioned, should work as expected.

The error spotted above is correct ...


#
#-----[ OPEN ]------------------------------------------
#
admin/index.php

#
#-----[ FIND ]------------------------------------------
#
AND u.user_session_time >= " . ( time() - 300 ) . "

#
#-----[ REPLACE WITH ]------------------------------------------
#
AND u.user_session_time >= " . ( time() - 900 ) . "



Should be:

#
#-----[ OPEN ]------------------------------------------
#
admin/index.php

#
#-----[ FIND ]------------------------------------------
#
AND s.user_session_time >= " . ( time() - 300 ) . "

#
#-----[ REPLACE WITH ]------------------------------------------
#
AND s.user_session_time >= " . ( time() - 900 ) . "
User avatar
M.O.B.
Registered User
Posts: 942
Joined: Tue Jan 04, 2005 1:07 am
Location: San Diego CA USA
Contact:

Post by M.O.B. »

so this mod isn't ready for 2.0.11?
Image
esiason14
Registered User
Posts: 237
Joined: Tue Nov 02, 2004 3:42 am
Location: Annapolis, MD
Contact:

Post by esiason14 »

Fast, easy mod...but I seemed to managed to mess something up...I accidentally took out the code that display the "Total number of articles"..
how can I get this back?
morphius2
Registered User
Posts: 98
Joined: Mon May 24, 2004 10:47 pm

Post by morphius2 »

Is this supposed to work on v2.0.10? I just tried to start adding it, but the very first line was not found in my admin.index.php file...?
- Morphius2
Kev95lx
Registered User
Posts: 16
Joined: Wed Jan 26, 2005 4:54 pm
Contact:

Post by Kev95lx »

Come on people...it's really not that hard to perform this mod. I could have done it drunk outta my mind!

version 2.0.10 and above..
if you can't find u.session_time...then simply do a search for "( time() - 300 )" and replace it by whatever value you'd like (ie: I did it for 2700 = 45minutes..)


Would you like me to help you cross the street also!? :lol:
mystic40789
Registered User
Posts: 11
Joined: Mon May 02, 2005 5:53 pm
Contact:

Post by mystic40789 »

how can i install this mod? What folder is it supposed to be in viewonline_body.tpl??? or is it another one?
nwilcox
Registered User
Posts: 232
Joined: Sat Dec 18, 2004 3:16 am
Location: Marysville, Michigan

Post by nwilcox »

I have edited all the files that it says to edit. But when I go to the page it still says five minutes. Any ideas? No errors
akslee
Registered User
Posts: 82
Joined: Sat Aug 02, 2003 6:54 pm
Location: Vancouver
Contact:

Post by akslee »

MattInVegas wrote: Thank You. But, that isn't the one I'm looking for. The one I would like, puts a listing of who has been online in the last 12 or 24 hours.


I believe its this one you are looking for.
"If you have a great time teaching your child, and your child has a great time, there simply isn't anyway you can lose."

www.ChildBrain.org
Crizzy
Registered User
Posts: 11
Joined: Thu Aug 18, 2005 9:56 am

Post by Crizzy »

Is not working for me. I filled in each command but still the names leave after 5 minutes.
tony44
Registered User
Posts: 232
Joined: Sun Apr 17, 2005 4:34 pm

Post by tony44 »

I left the message saying five minutes. So the data is a little "exaggerated" no one will know the difference. :lol:
riccocha
Registered User
Posts: 18
Joined: Sat Sep 10, 2005 11:45 am

Post by riccocha »

i have downloaded a mod that shows users online in the last 15 mins........ how do i install it and where do i install it.. never done this before... please help!!!!
rhino56
Registered User
Posts: 5
Joined: Sun Jan 02, 2005 3:23 am

Post by rhino56 »

does this work in 2.0.17? anyone tried it?
User avatar
noth
Registered User
Posts: 2487
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Post by noth »

MattInVegas wrote: Thank You. But, that isn't the one I'm looking for. The one I would like, puts a listing of who has been online in the last 12 or 24 hours.


I AM LOOKING FOR THIS TOO

WAS IT DELETED? I CAN NO LONGER FIND IT :cry:

EDIT: FOUND BY pentapenguin :mrgreen:
Luchtzak
Registered User
Posts: 265
Joined: Sat Jul 20, 2002 7:13 pm
Contact:

Post by Luchtzak »

Great mod, to make it perfect you should also change the 'Who Is Online'-function in 15 minutes.

Open include/viewonline.php

find

Code: Select all

		AND s.session_time >= ".( time() - 300 ) . "
change to

Code: Select all

		AND s.session_time >= ".( time() - 900 ) . "
greetz,

Bart
Post Reply

Return to “[2.0.x] MOD Database Cleanup”