Page 1 of 9

[BETA] User Online Time

Posted: Fri Dec 07, 2007 4:03 pm
by TheUniqueTiger
MOD name : User Online Time
MOD description : This MOD keeps track of the total time a user is logged in. This information is shown on the index page (and the page header in subsilver2) and on the profile page. The time can be formatted in a short and long form configurable in the UCP board preferences.
The main use of this MOD is primarily to have information about the time a particular user is on the board (reflects the activity of a user by the time he spends on the board.)

However since there is no such information stored in phpBB3 already, the total time logged-in will be zero initially when you install this MOD (so no past records).

MOD Version : 0.1.2 (beta 2)
MOD Author : TheUniqueTiger
MOD compatible with : 3.0.0 & RC7, RC8
Supported styles : prosilver, subsilver

MOD Download : Download link

Awaiting your feedback... :P

Re: [BETA] User Online Time

Posted: Fri Dec 07, 2007 7:37 pm
by foxy111
well i tested it on my local,
it seems to be work great :D
Thanks

i'd like to suggest adding "user online time" to the view topic too , so the information appears with the member info. in every post
it gonna make a nice Compellingly Competition on the forum

Re: [BETA] User Online Time

Posted: Fri Dec 07, 2007 8:13 pm
by TheUniqueTiger
foxy111 wrote:well i tested it on my local,
it seems to be work great :D
Thanks

i'd like to suggest adding "user online time" to the view topic too , so the information appears with the member info. in every post
it gonna make a nice Compellingly Competition on the forum
Good idea!!! for the next version! :P

Re: [BETA] User Online Time

Posted: Fri Dec 07, 2007 8:52 pm
by TheUniqueTiger
Done, the next version will be out soon. I'll try to post a few screenshots in the first post, so as to get people interested.

Re: [BETA] User Online Time

Posted: Sat Dec 08, 2007 2:15 am
by Kharon
great mod,thank you :geek:

Re: [BETA] User Online Time

Posted: Tue Dec 11, 2007 8:06 pm
by digitalchaos13
I'm having Issues. No matter what user I'm logged into, when viewing the members list I see my total time online instead of the other users online time. Am I missing something?

Re: [BETA] User Online Time

Posted: Tue Dec 11, 2007 8:40 pm
by TheUniqueTiger
Yes I see... It was a minor mismatched code... Will be fixed in next version.

Re: [BETA] User Online Time

Posted: Thu Dec 13, 2007 10:47 pm
by KazMack
sounds cool.

Looking forward to seeing the screenshots.

Re: [BETA] User Online Time

Posted: Thu Dec 13, 2007 11:28 pm
by digitalchaos13
can you give us the code so we can change it on our installations?

Re: [BETA] User Online Time

Posted: Fri Dec 14, 2007 11:51 am
by TheUniqueTiger
Open memberlist.php
Find

Code: Select all

'TOTAL_TIME_LOGGED_IN'
Replace with

Code: Select all

'TOTAL_TIME_MEMBER_LOGGED_IN'
Open styles/prosilver/template/memberlist_view.html
Find

Code: Select all

{TOTAL_TIME_LOGGED_IN}
Replace with

Code: Select all

{TOTAL_TIME_MEMBER_LOGGED_IN}
Change similarly in styles/subsilver2/template/memberlist_view.html

Actually the mistake was that I used the same variable for both the member logged in time and the current user's logged in time. lol...

Re: [BETA] User Online Time

Posted: Sat Dec 15, 2007 7:24 am
by Algore
IS it possible to see which topic and user is particularly viewing and the time spent to view that page

Like in viewonline u see the user viewing the catagory instead the post should show along with the time spent

Re: [BETA] User Online Time

Posted: Sat Dec 15, 2007 8:56 am
by Mr.Black-LSG
I just installed this on my forums. I've tried both styles and no luck with seeing it.

Where exactly does it show up? Maybe i'm just missing it somewhere. :(

Re: [BETA] User Online Time

Posted: Sat Dec 15, 2007 11:19 am
by TheUniqueTiger
Algore wrote:IS it possible to see which topic and user is particularly viewing and the time spent to view that page

Like in viewonline u see the user viewing the catagory instead the post should show along with the time spent
No thats not possible with this MOD as it simply counts the time elapsed since the last session time while starting the session for the current page.
Mr.Black-LSG wrote:I just installed this on my forums. I've tried both styles and no luck with seeing it.

Where exactly does it show up? Maybe i'm just missing it somewhere. :(
Both in prosilver and subsilver2 it shows the total time logged in just below the header to the right... In prosilver its just below the logout link only on the index page. In subsilver2 its on all pages.

It also shows this info for any member when viewing his profile in both styles.

Re: [BETA] User Online Time

Posted: Mon Dec 17, 2007 6:02 am
by MewDragon
I love this idea. Sounds like a great mod. ^^

Re: [BETA] User Online Time

Posted: Mon Dec 17, 2007 6:08 am
by Blanky
Suggestion : Add a average online time per day on user profile?