Welcome, Guest. Please Login or Register.
May 02, 2025, 11:48:45 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Online for.....hours « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Online for.....hours  (Read 821 times)
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Online for.....hours
« on: April 25, 2002, 11:31:34 AM »
Reply with quote

Is there a possibility to show how much time somebody has been online (logged in) since he has registered ?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Lonestar
Jr. Member
**
Posts: 87


SchwartzMaster

ICQ - 57595208 WWW
Re:Online for.....hours
« Reply #1 on: April 25, 2002, 09:18:06 PM »
Reply with quote

Interesting.....
Logged

Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Online for.....hours
« Reply #2 on: April 26, 2002, 03:41:01 AM »
Reply with quote

I guess  ;D

It should be nice to know..........
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Online for.....hours
« Reply #3 on: April 26, 2002, 08:01:36 AM »
Reply with quote

Now that would make some nice statistics!

You would have to assess each click:
* if not on the 'active users' list then add them.
* if on the list find the difference in time and add it to their total.

So long as people don't use Opera to auto-refresh ;)

Oh well - that's what Admins are for :)
Logged

You can't have everything... where would you put it? -- Steve Wright
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Online for.....hours
« Reply #4 on: April 26, 2002, 08:54:00 AM »
Reply with quote

Who knows if this is registered in the database ?
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Online for.....hours
« Reply #5 on: April 26, 2002, 09:07:31 AM »
Reply with quote

log_online has a logTime field that holds the time of the last click as a value of seconds counting from the beginning of 1970 (although that's not important).

All you need to do is:
* Create a timeOnline field for each user in their profile
* Alter the function that alters the log_online table so that if a record exists the time of the current record should be deducted from the new time and that value should be added to the timeOnline value in the user profile :)

I really like this idea as I want to make an advanced stats center for admins that can give them graphical breakdowns. :D
Logged

You can't have everything... where would you put it? -- Steve Wright
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Online for.....hours
« Reply #6 on: April 26, 2002, 09:46:15 AM »
Reply with quote

Ehm...yes...well....ehm....I guess you will add this feature ?

'cause I really don't know where to begin, and I don't want to do work when somebody else is going to make something like it in another mod.... :-X

 :D
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Online for.....hours
« Reply #7 on: April 26, 2002, 10:13:34 AM »
Reply with quote

Quote from: Webby on April 26, 2002, 09:46:15 AMEhm...yes...well....ehm....I guess you will add this feature ?
If only I had the time :D ;)

Quote'cause I really don't know where to begin, and I don't want to do work when somebody else is going to make something like it in another mod....
I'd be happy to help identify the code thatyou need to alter and help with it - it would be quite a simple mod to make.

As for making it in another mod - mine would look up the statistics - not log them. I'd use the values you stored to show the top 10, usage averages etc :)

I'll suggest this mod to Joseph and Jeff - I'd like to see this as an inbuilt mod or part of YaBB itself - it would be an alternative to the post count  :)

Logged

You can't have everything... where would you put it? -- Steve Wright
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Online for.....hours
« Reply #8 on: April 26, 2002, 10:44:08 AM »
Reply with quote

And with it, you can screen if your moderators are online enough  ;D

Well, I hope somebody can take the effort to make such a mod  :D
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Online for.....hours
« Reply #9 on: April 26, 2002, 11:52:26 AM »
Reply with quote

Who knows? I might be bored one day!

btw: Nice community on your forum Webby :) (Even though I can't read German the numbers speak for themselves :D)
Logged

You can't have everything... where would you put it? -- Steve Wright
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Online for.....hours
« Reply #10 on: April 26, 2002, 12:13:04 PM »
Reply with quote

Ehmmmm.....int's NOT German.....it's Dutch  :-\

(thanx)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
Greg Robson
Training to be like Joseph
YaBB SE Developer
YaBB God
*****
Posts: 1459


Hello!

ICQ - 81390136 WWW
Re:Online for.....hours
« Reply #11 on: April 26, 2002, 12:16:11 PM »
Reply with quote

Oops! I never was good at languages - it's all foreign to me (I only got a C for GCSE French!) :)
Logged

You can't have everything... where would you put it? -- Steve Wright
vorapoap (vory)
Sr. Member
****
Posts: 424


Not considered either a living or death

WWW
Re:Online for.....hours
« Reply #12 on: May 06, 2002, 11:04:28 AM »
Reply with quote

This is related to my other mod.. I claim this one, too.
Logged

On the route to hell...
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Online for.....hours
« Reply #13 on: May 06, 2002, 03:26:30 PM »
Reply with quote

I thought about this last night then decided it would be some ungodly number that I really wouldn't want to see.
Logged

Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Online for.....hours
« Reply #14 on: May 06, 2002, 03:29:57 PM »
Reply with quote

I wonder how that would apply to someone like me who has the "always logged in" box checked...
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Online for.....hours « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.171 seconds with 20 queries.