Page 2 of 4

Re: [3.2][BETA] Calendar Mono

Posted: Mon Sep 24, 2018 12:45 pm
by martti
Version 0.2.0 listens to an event of the Calendar Auto Archive extension

Re: [3.2][BETA] Calendar Mono

Posted: Mon Sep 24, 2018 9:43 pm
by martti
All extensions of the Calendar Extension Set require the PHP calendar extension enabled. To see if your PHP has the calendar functions enabled (I guess with in most distributions this will be the case), you can check the PHP information in the ACP, and search for "calendar".

Image

Re: [3.2][BETA] Calendar Mono

Posted: Wed Sep 26, 2018 6:09 pm
by canonknipser
martti wrote:
Mon Sep 24, 2018 9:43 pm
To see if your PHP has the calendar functions enabled
You can check it in the ext.php of your extension. It prevents your extension from installing. See https://github.com/canonknipser/viewexi ... hp#L26-L32 as an example

Re: [3.2][BETA] Calendar Mono

Posted: Wed Sep 26, 2018 6:12 pm
by martti
canonknipser wrote:
Wed Sep 26, 2018 6:09 pm
martti wrote:
Mon Sep 24, 2018 9:43 pm
To see if your PHP has the calendar functions enabled
You can check it in the ext.php of your extension. It prevents your extension from installing. See https://github.com/canonknipser/viewexi ... hp#L26-L32 as an example
Ok, thanks. I'll do that.

Re: [3.2][BETA] Calendar Mono

Posted: Fri Sep 28, 2018 6:44 am
by Alex Grigoras
Good extension !

Try to make an update in the future to show on the first page the events that we created with the calendar:

Something like this: https://imgur.com/dJw66yc

Re: [3.2][BETA] Calendar Mono

Posted: Fri Sep 28, 2018 8:17 am
by martti
Alex Grigoras wrote:
Fri Sep 28, 2018 6:44 am
Good extension !

Try to make an update in the future to show on the first page the events that we created with the calendar:

Something like this: https://imgur.com/dJw66yc
Ok, I take into consideration making an extension for that.

Re: [3.2][BETA] Calendar Mono

Posted: Sun Oct 07, 2018 7:37 pm
by leschek
LapouX wrote:
Sat Sep 22, 2018 7:57 pm

When I create a new topic I can enter a date.
When I modify the 1st post of this topic I can't modify the date or Add a date if none was enter at the creation.
I have the very same problem. When I try to edit first post of topic I can't enter date, because there are not fields for it.

Re: [3.2][BETA] Calendar Mono

Posted: Mon Oct 08, 2018 5:33 am
by martti
leschek wrote:
Sun Oct 07, 2018 7:37 pm
LapouX wrote:
Sat Sep 22, 2018 7:57 pm

When I create a new topic I can enter a date.
When I modify the 1st post of this topic I can't modify the date or Add a date if none was enter at the creation.
I have the very same problem. When I try to edit first post of topic I can't enter date, because there are not fields for it.
This is actually an issue of the Calendar Mono Input extension so I will continue there.

Re: [3.2][BETA] Calendar Mono

Posted: Fri Jan 18, 2019 1:24 pm
by martti
Version 0.3.0 includes the fisharebest/ext-calendar dependency. This provides a fallback for servers that don't have the PHP calendar functions enabled.
When you don't have PHP compiled with --enable-calendar be sure to download the build with the vendor directory included (See the latest Release) or run composer update in the root of this extension.

Re: [3.2][BETA] Calendar Mono

Posted: Fri Jan 18, 2019 3:28 pm
by martti
Version 0.4.0:

Removes again the fisharebest/ext-calendar dependency. Instead, when you can't have the PHP calendar functions (PHP compiled with --enable-calendar), install the PHP Ext Calendar extension.

Re: [3.2][BETA] Calendar Mono

Posted: Fri Jan 18, 2019 3:34 pm
by Paul
martti wrote:
Fri Jan 18, 2019 3:28 pm
Version 0.4.0:

Removes again the fisharebest/ext-calendar dependency. Instead, when you can't have the PHP calendar functions (PHP compiled with --enable-calendar), install the PHP Ext Calendar extension.
No, you really should not be doing it like this. You should add a composer dependency in your extension that needs it, and include it in your build. Starting with phpBB 3.3, when installing extensions from the acp will automatically install dependencies.
Adding a extra extension will only cause extra overhead.

Re: [3.2][BETA] Calendar Mono

Posted: Fri Jan 18, 2019 3:41 pm
by martti
Paul wrote:
Fri Jan 18, 2019 3:34 pm
martti wrote:
Fri Jan 18, 2019 3:28 pm
Version 0.4.0:

Removes again the fisharebest/ext-calendar dependency. Instead, when you can't have the PHP calendar functions (PHP compiled with --enable-calendar), install the PHP Ext Calendar extension.
No, you really should not be doing it like this. You should add a composer dependency in your extension that needs it, and include it in your build. Starting with phpBB 3.3, when installing extensions from the acp will automatically install dependencies.
Adding a extra extension will only cause extra overhead.
These are multiple extensions forming together a flexible Calendar Set. They all need the PHP calendar functions. It will create a conflict when the same dependency is add multiple times. Besides, you only need this when you can't have PHP compiled with the calendar functions. If you can (normally no problem), you should this consider first.

Re: [3.2][BETA] Calendar Mono

Posted: Fri Jan 18, 2019 3:58 pm
by Paul
No, there should not be any conflict. You should simply have the required depended in your composer.json and it should work

Re: [3.2][BETA] Calendar Mono

Posted: Fri Jan 18, 2019 4:09 pm
by martti
Paul wrote:
Fri Jan 18, 2019 3:58 pm
No, there should not be any conflict. You should simply have the required depended in your composer.json and it should work
Do you have references to your claims? Declaring the same function multiple times will result in a Can not redeclare fatal error imho.

Re: [3.2][BETA] Calendar Mono

Posted: Fri Jan 18, 2019 5:24 pm
by Paul
Composer dependencies are autoloaded and will be included only once.