Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Mike Bobbitt - helmikuu 16, 2006, 04:43:54 IP

Otsikko: Time Wasted Statistics
Kirjoitti: Mike Bobbitt - helmikuu 16, 2006, 04:43:54 IP
Attached is a short script that gives you some potentially scary statistics. Example below:

LainaaTime wasted for Mike Bobbitt

Birthday1973-01-01 (11625 Days, 17 Hours, 38 Minutes)
Date RegisteredThursday, 06 December 1990 00:00 (5551 Days, 16 Hours, 38 Minutes)
Total Time Logged In135 Days, 5 Hours, 46 Minutes
% Of Your Life You've Been Registered Here46.8124 %
% Of Your Life Online Since Registration2.436 %
% Of Your Life Online In Total1.1295 %

To install it just drop it in your SMF directory and browse to it. It will automatically show the stats for the user viewing it.

Enjoy
Mike
Otsikko: Re: Time Wasted Statistics
Kirjoitti: snork13 - helmikuu 16, 2006, 04:47:07 IP
 scary  is right....


thanks mike for the script :D
Otsikko: Re: Time Wasted Statistics
Kirjoitti: Dazzler - helmikuu 17, 2006, 07:24:24 IP
Thats really cool thanks worked a treat..
Otsikko: Re: Time Wasted Statistics
Kirjoitti: HoTmetal - helmikuu 17, 2006, 10:07:53 IP
<----------------- Refuses a mod like this exists (but D/L's anyways ) :D
Otsikko: Re: Time Wasted Statistics
Kirjoitti: 1MileCrash - helmikuu 17, 2006, 10:43:30 IP
he'res what i got.

Time wasted for


Birthday   (0 Days, 21 Hours, 42 Minutes)   
Date Registered   Wednesday, 31 December 1969 18:00 (13197 Days, 3 Hours, 42 Minutes)   
Total Time Logged In   0 Days, 0 Hours, 0 Minutes   
% Of Your Life You've Been Registered Here   1459014.1534 %   
% Of Your Life Online Since Registration   0 %   
% Of Your Life Online In Total   0 %

1.0.6?
Otsikko: Re: Time Wasted Statistics
Kirjoitti: Remaker - helmikuu 18, 2006, 07:26:14 AP
lol... nice script ;)
Otsikko: Re: Time Wasted Statistics
Kirjoitti: Mike Bobbitt - helmikuu 20, 2006, 07:36:00 AP
Lainaus käyttäjältä: Tippmaster - helmikuu 17, 2006, 10:43:30 IP
he'res what i got.

Hmmm, that is odd... It looks like nothing from the database loaded correctly. Do you have any messages in your web server error logs when you run the script?