Relative Dates

Extension incompatibility with 24 hour activity stats - Relative Dates

Extension incompatibility with 24 hour activity stats

by Mauron » Tue May 31, 2016 5:46 pm

This extension breaks 24 hour activity stats: it breaks the tooltips over nicknames by doubling the span tag containing last connection time, e.g.:

Code: Select all

21 users and 4 guests attivi in latest 24 hours: <span title="<span title=" |31="" 05="" 2016|,="" 14:24"="">5 hours ago</span>"&gt;...

shows like
21 users and 4 guests attivi in latest 24 hours: 5 hours ago">...
User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Senky » Wed Jun 01, 2016 4:07 pm

Hi,
thanks for your report. This is caused by effort to provide absolute dates on mouse over. I have provided a way for extension authors to let my extension know that they do not want that. Here is the fix:
https://github.com/Senky/phpbb-ext-rela ... a437b3a1c7

It is already included in a new version which is in a validation queue already. As soon as it is approved, I will provide extension authors with a required documentation.
‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Extension incompatibility with 24 hour activity stats

by WISHEXEC » Thu Aug 11, 2016 3:03 pm

Senky wrote:Hi,
thanks for your report. This is caused by effort to provide absolute dates on mouse over. I have provided a way for extension authors to let my extension know that they do not want that. Here is the fix:
https://github.com/Senky/phpbb-ext-rela ... a437b3a1c7



It is already included in a new version which is in a validation queue already. As soon as it is approved, I will provide extension authors with a required documentation.


how can i fix ... i downloaded the last version from github and same problem ...?
WISHEXEC
Registered User
Posts: 87
Joined: Fri Dec 04, 2015 12:39 pm
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Senky » Thu Aug 11, 2016 7:07 pm

The best way is to contact the extension author and kindly ask him to reflect this into his code. This way you will be sure about compatibility even after updates.
‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Extension incompatibility with 24 hour activity stats

by onlyproevo » Sun Mar 05, 2017 4:52 pm

WISHEXEC wrote:
Senky wrote:Hi,
thanks for your report. This is caused by effort to provide absolute dates on mouse over. I have provided a way for extension authors to let my extension know that they do not want that. Here is the fix:
https://github.com/Senky/phpbb-ext-rela ... a437b3a1c7



It is already included in a new version which is in a validation queue already. As soon as it is approved, I will provide extension authors with a required documentation.
how can i fix ... i downloaded the last version from github and same problem ...?
Any updates on this?
onlyproevo
Registered User
Posts: 110
Joined: Tue Jun 21, 2011 8:13 pm
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Kinsman » Fri Mar 24, 2017 8:50 am

It would be good if there was some instruction on how to add this, given it breaks a lot of mods.
Kinsman
Registered User
Posts: 216
Joined: Sun Jan 02, 2005 6:04 am
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Senky » Thu Apr 06, 2017 8:04 pm

‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Extension incompatibility with 24 hour activity stats

by RMcGirr83 » Fri Apr 07, 2017 10:21 am

Applied it to my extension and
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (1491559511) at position 8 (1): Unexpected character' in F:\xampp\htdocs\qi\boards\3110\ext\senky\relativedates\vendor\nesbot\carbon\src\Carbon\Carbon.php on line 221
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Senky » Thu May 04, 2017 2:08 pm

Yeah, it requires int :D
‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Extension incompatibility with 24 hour activity stats

by RMcGirr83 » Thu May 04, 2017 6:17 pm

Yeah, you should update your FAQ. :)
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then buy me a beer Image
User avatar
RMcGirr83
Former Team Member
Posts: 22016
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Senky » Thu May 04, 2017 6:28 pm

Oh maaaan :D
I just PR-ed an event that will get you, other developers, rid of all of this:
https://github.com/phpbb/phpbb/pull/4824
‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Leinad4Mind » Sat Sep 23, 2017 8:09 pm

How is the dev of this solution?
Want to access all my portuguese MOD and Extension translations?
Become my Patreon!
phpBB Portugal Translator and Moderator
User avatar
Leinad4Mind
Translator
Posts: 863
Joined: Sun Jun 01, 2008 11:08 pm
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Tarantino » Fri Nov 24, 2017 12:02 am

I saw that this already was applied on 3.2.1 so, it will be solved?
Tarantino
Registered User
Posts: 874
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Senky » Wed Jan 03, 2018 4:44 pm

Hello everyone,
stay tuned, because as soon as phpBB 3.2.2 is released, I will submit new version which solves incompatibility issues with great style. 8-)
‎‏‏ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎ ‎‏‎‏‏‎ ‎ ‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎‏‏‎‏‏‎🔔
Browser & Mobile Notifications Extension
Now with Safari (both macOS and iOS) support!
Senky
Former Team Member
Posts: 2300
Joined: Thu Apr 30, 2009 8:49 pm
Name: Jakub
Contact:

Re: Extension incompatibility with 24 hour activity stats

by Galixte de EzCom » Sun Aug 26, 2018 10:50 pm

Any news?
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact: