Search found 122 matches

by MuhClaren
Wed Aug 12, 2015 11:46 am
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

Version 1.2.0 is available for download . Change log: Add support for 4 levels of plural rules to language files Add language file definition for 'ago' Adjust capitalization of unit labels Re-wrote / cleaned up core function, and added better method documentations Greetz: Marc, Nicofuma, Elsensee fo...
by MuhClaren
Wed Aug 12, 2015 9:43 am
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

A minor suggestion, use lower-case characters, like this: 5 months 4 days ago I think that looks better. Best wishes, -k0nsl Your wish is my command. It will be adjusted in the next release. Thanks for the feedback. ;) Yes, I think david63 already pointed out the problem; I forgot that minutes are ...
by MuhClaren
Tue Aug 11, 2015 3:39 pm
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

Hello, I've started working on Czech localization, but unfortunately I can't continue. In Czech we have different plurals depending on the count, position in the sentence and context. Could you please update it? Example: The user has joined our forum... 1 year ago - před rokem / před 1 rokem 2-4 ye...
by MuhClaren
Tue Aug 11, 2015 10:20 am
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

david63 wrote:For plurals you should use the Plural Rules wherever possible.
Ah, thank you for this. I'll bookmark and read up on it.
by MuhClaren
Tue Aug 11, 2015 9:40 am
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

Svennson, I've expanded the lang file to include definitions for plural characters, and adapted the function accordingly.

Please try v1.1.11 sometime, and tell me if that has solved the issue.

Thanks again.
by MuhClaren
Tue Aug 11, 2015 9:02 am
Forum: Extension Writers Discussion
Topic: Issue with super global $_server
Replies: 25
Views: 2249

Re: Issue with super global $_server

I'm not special in php and I'm just wondering how I could fix that problem so any help would be much appreciated. TIA Juergen Hallo, Friend. My response is the same as before. If you're trying to access those now-disabled super globals, you must either bring them into scope so your stand-alone func...
by MuhClaren
Tue Aug 11, 2015 8:31 am
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

Thx for the upgrade; I think however you misunderstood my "language" problem In English its like this : 8 Months, 2 Weeks, 3 Days Ago. In Dutch its like this : 8 Maanden, 2 Weken, 3 Dagen geleden. Translated the mod shows : 8 Maands, 2 Weeks, 3 Dags geleden. I peaked in your code, and I think the "...
by MuhClaren
Tue Aug 11, 2015 7:40 am
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

...language is not adapted to non-English (duh) I tranlated (see below)... Thank you! I've added it to the package and pushed it to Github. I presumed that the language abbreviation should be nl , but if that's incorrect, please let me know. - In the ACP, ext/mop/timeago/adm/style/images/tiny_orang...
by MuhClaren
Mon Aug 10, 2015 5:45 am
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

Re: [DEV] TimeAgo timestamps

My code formatter mucked up a couple of lines in the timeago function, causing a divide by zero condition. :oops:

Fixed now, version 1.1.9 pushed to github.
by MuhClaren
Sun Aug 09, 2015 9:14 pm
Forum: Abandoned Extensions
Topic: [ABD] TimeAgo timestamps
Replies: 111
Views: 10618

[ABD] TimeAgo timestamps

https://travis-ci.org/MuhClaren/timeago.svg?branch=master https://img.shields.io/scrutinizer/g/MuhClaren/timeago.svg?style=flat Extension Name: TimeAgo Extension Version: 1.4.2b Requirements: PHP 5.3, phpBB 3.1.x Author: MuhClaren Extension Description: This extension changes the phpBB native date-...
by MuhClaren
Sun Aug 09, 2015 3:30 pm
Forum: Extension Requests
Topic: Simplify post dates by aproximating calculating how much time has passed
Replies: 15
Views: 970

Re: Simplify post dates by aproximating calculating how much time has passed

This sprint is complete, and I'm setting up my github environment this morning. Not sure how long this will take me since I use SVN for everything, but once I have the project in git(hub) I'll post the extension in the Development forum and drop a link here on this thread.
by MuhClaren
Sat Aug 08, 2015 6:20 pm
Forum: Extension Requests
Topic: Simplify post dates by aproximating calculating how much time has passed
Replies: 15
Views: 970

Re: Simplify post dates by aproximating calculating how much time has passed

I spent the morning re-writing this extension. It's now 100% PHP, no javascript required. I expanded support to the index page for the category forumlist view (last_post). It's also on viewforum, and viewtopic. Each has a toggle in the control panel to turn it on or off. The admin can define the det...
by MuhClaren
Sat Aug 08, 2015 5:54 pm
Forum: Extension Writers Discussion
Topic: how to check if user is in group
Replies: 10
Views: 1231

Re: how to check if user is in group

david63 wrote:It may also be worth considering using the cache to store the resultant data
Good idea. +1
by MuhClaren
Sat Aug 08, 2015 1:35 pm
Forum: Extension Writers Discussion
Topic: Issue with super global $_server
Replies: 25
Views: 2249

Re: Issue with super global $_server

My above answer assumes you're using it in an extension, however, looking closer at your error message, it appears you're using the function in a stand-alone page. If that's the case, make sure you're calling it from the phpBB template using the includephp template tag: <!-- INCLUDEPHP 'server.php' ...

Go to advanced search