[ABD] User Online Time

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [DEV] User Online Time

Post by Wolfsblvt »

wkuzma wrote:now I have PHP Version 5.4.35 just did an update on php

but I get this error
Information
The selected extension cannot be enabled, please verify the extension’s requirements.
Currently you have to install my core extension. (Read the start post for it)

But it will change soon, so that there are no dependencies. I am currently working on the new version of this.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
User avatar
wkuzma
Registered User
Posts: 394
Joined: Sun Sep 02, 2007 10:18 pm

Re: [DEV] User Online Time

Post by wkuzma »

Wolfsblvt wrote:
wkuzma wrote:now I have PHP Version 5.4.35 just did an update on php

but I get this error
Information
The selected extension cannot be enabled, please verify the extension’s requirements.
Currently you have to install my core extension. (Read the start post for it)

But it will change soon, so that there are no dependencies. I am currently working on the new version of this.
This was on your core extension
I will wait for your change
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [DEV] User Online Time

Post by Wolfsblvt »

Next Version of User Online Time

Extension Version: 1.1.0

New Features:
  • Online time not visible on invisible users profile, except you can see invisibles
  • Permission to view online time
  • Permission to hide online time (bound to core permission "Can hide online status")
  • UCP option to hide online time
  • Permission to see even hidden online times (bound to core permission "Can view hidden online users")
Changelog:
-- Version 1.1.0 --------------
• Removed adding language files twice
• Implemented check for permissions
• Fix: Adding time to the next day if close after midnight
• Fix: Updating online time after display

New Screenshots:
Image

Image

Extension Download: wolfsblvt.onlinetime.zip

More Information:
I've fixed some bugs and added the permission check I wanted.
So far, this should be the end of development. I've implemented all features I wanted.
Also this extension is now independend from the core extension.

View the start post for complete information.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [BETA] User Online Time

Post by Wolfsblvt »

Image

Version: 1.1.1
Extension Download: wolfsblvt.onlinetime.zip

Changelog:

Code: Select all

-- Version 1.1.1 --------------
	• Included subsilver2 support

Just included support for subsilver2 and all styles based on it.
Someone has any bugs? :P
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
SuriMondego
Registered User
Posts: 2
Joined: Fri Feb 27, 2015 1:57 pm

Re: [BETA] User Online Time

Post by SuriMondego »

Hello,

first I have to say thank you for this great extension.
I used the old one on my 3.0.12 Board and now I have installed this one on my new 3.1.3 Board.

It seems that I have a little permission issue.
The only thing I see in the profile is: "Time spent online:You cannot see this users online time."

When I try it with a User with the right to see hidden user, it works fine.

I have checked the following steps:
- Style is prosilver
- User does not hide his online status
- Registered users has permission "can view online time of users" set to YES
- Trace result for my Testuser is still YES

Did I miss anything?

Best regards,
Maik
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [BETA] User Online Time

Post by Wolfsblvt »

SuriMondego wrote:It seems that I have a little permission issue.
The only thing I see in the profile is: "Time spent online:You cannot see this users online time."
Hey.
So you are sure that online status isn't hidden, neither in the UCP, nor during login (so in the session)?

Are you familiar with getting infos from the database? We can make it sure then.
You need to get the user_id. You can see it when viewing the profile of the user, in the url, right behind the u=.
Enter this number in the following two queries where the XXX is

Code: Select all

SELECT user_id, username, user_allow_viewonline
FROM phpbb_users
WHERE user_id = XXX

Code: Select all

SELECT session_user_id, session_viewonline
FROM phpbb_sessions
WHERE session_user_id = XXX
And tell me wich is the value of user_allow_viewonline and session_viewonline for this user. If there is more than one session, tell me all this values.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
SuriMondego
Registered User
Posts: 2
Joined: Fri Feb 27, 2015 1:57 pm

Re: [BETA] User Online Time

Post by SuriMondego »

Hi Wolfsblvt,

thanks for your reply.
I executed both queries and got both values.

+---------+----------+-----------------------+
| user_id | username | user_allow_viewonline |
+---------+----------+-----------------------+
| 161 | Sara | 1 |
+---------+----------+-----------------------+

+-----------------+--------------------+
| session_user_id | session_viewonline |
+-----------------+--------------------+
| 161 | 1 |
+-----------------+--------------------+

Best regards,
Maik
User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany

Re: [BETA] User Online Time

Post by Wolfsblvt »

SuriMondego wrote:I executed both queries and got both values.
Seems okay, and checked the code after that and wow, seems to be an issue, yes.
Thanks for pointing that out!
Created an issue for that: https://github.com/Wolfsblvt/onlinetime/issues/3

Think without you I wouldn't have seen this problem :D Thank you.
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«
User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [BETA] User Online Time

Post by nero »

The permission for Online Time in UCP doesn't work. If it's yes or no, people still can't see your Online Time.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28950
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier

Re: [ABD] User Online Time

Post by Paul »

This topic has been marked as [ABD] - Abandoned as the extension author has not been active recently. If the extension author wishes to continue development, please PM anyone on the Extensions Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this extension, or any other extension that is marked as “abandoned” or “in development”, on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Extensions Team

Return to “Abandoned Extensions”