[BETA] User Online Time

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India

[BETA] User Online Time

Post 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
Last edited by TheUniqueTiger on Sun Dec 23, 2007 4:55 pm, edited 1 time in total.
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger
foxy111
Registered User
Posts: 25
Joined: Fri Oct 19, 2007 3:42 pm

Re: [BETA] User Online Time

Post 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
User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India

Re: [BETA] User Online Time

Post 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
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger
User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India

Re: [BETA] User Online Time

Post 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.
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger
Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [BETA] User Online Time

Post by Kharon »

great mod,thank you :geek:
User avatar
digitalchaos13
Registered User
Posts: 91
Joined: Sun Sep 23, 2007 4:24 pm

Re: [BETA] User Online Time

Post 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?
User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India

Re: [BETA] User Online Time

Post by TheUniqueTiger »

Yes I see... It was a minor mismatched code... Will be fixed in next version.
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger
KazMack
Registered User
Posts: 45
Joined: Sat Jun 02, 2007 8:39 pm

Re: [BETA] User Online Time

Post by KazMack »

sounds cool.

Looking forward to seeing the screenshots.
User avatar
digitalchaos13
Registered User
Posts: 91
Joined: Sun Sep 23, 2007 4:24 pm

Re: [BETA] User Online Time

Post by digitalchaos13 »

can you give us the code so we can change it on our installations?
User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India

Re: [BETA] User Online Time

Post 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...
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger
User avatar
Algore
Registered User
Posts: 294
Joined: Tue Oct 24, 2006 10:19 am

Re: [BETA] User Online Time

Post 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
User avatar
Mr.Black-LSG
Registered User
Posts: 17
Joined: Sat Dec 15, 2007 8:50 am

Re: [BETA] User Online Time

Post 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. :(
User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India

Re: [BETA] User Online Time

Post 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.
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger
MewDragon
Registered User
Posts: 191
Joined: Fri Dec 23, 2005 6:24 pm

Re: [BETA] User Online Time

Post by MewDragon »

I love this idea. Sounds like a great mod. ^^
Blanky
Registered User
Posts: 253
Joined: Wed Aug 23, 2006 4:25 pm

Re: [BETA] User Online Time

Post by Blanky »

Suggestion : Add a average online time per day on user profile?

Return to “[3.0.x] MODs in Development”