[3.2][BETA] Calendar Mono Input

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

[3.2][BETA] Calendar Mono Input

Post by martti » Sat Sep 22, 2018 11:14 am

Extension Name: Calendar Mono Input
Author: martti
Extension Description:
This phpBB extension provides a single Calendar event per topic input for the Calendar Extension Set
Extension Version: 0.3.1
Requirements: Extension Download: https://github.com/marttiphpbb/phpbb-ex ... master.zip The files are to be put into ext/marttiphpbb/calendarmonoinput
Github repository: https://github.com/marttiphpbb/phpbb-ex ... rmonoinput
Languages: en
Templates: Prosilver
Screenshots:

Posting:

Image

ACP Range

Image

ACP Forums

Image

ACP Placement

Image

ACP Date Format

Image

ACP Placeholder

Image
Last edited by martti on Thu Oct 04, 2018 4:27 am, edited 4 times in total.

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Sat Sep 22, 2018 11:18 am

Issue: When editing a Calendar date that got out of range (configured), the date gets reset. A way to tackle this can be to prevent editing dates that got out of range, but at the same time providing a permission to edit dates out-of-range for moderators. TO DO.

edit: This is now solved in version 0.3.0
Last edited by martti on Mon Sep 24, 2018 7:38 am, edited 1 time in total.

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Sun Sep 23, 2018 8:38 am

martti wrote:
Sat Sep 22, 2018 11:18 am
Issue: When editing a Calendar date that got out of range (configured), the date gets reset. A way to tackle this can be to prevent editing dates that got out of range, but at the same time providing a permission to edit dates out-of-range for moderators. TO DO.
Maybe a better way will be to base the range on the starting moment of the topic instead of "now". No shift will take place doing so.

Edit: This is done in version 0.3.0

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Mon Sep 24, 2018 7:43 am

The new version 0.3.0 takes the topic creation time as reference for the allowed date range. (instead of "today", which could cause troubles when editing, because "today" shifts and the topic creation time doesn't.)

Image

leschek
Registered User
Posts: 788
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [3.2][BETA] Calendar Mono Input

Post by leschek » Wed Oct 03, 2018 8:18 pm

Thanks for the extension. It seems I found a little issue - when I write into placeholder (BTW it's really nice feature) non English characters, they are not rendered correctly, but as ??.

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Wed Oct 03, 2018 8:25 pm

leschek wrote:
Wed Oct 03, 2018 8:18 pm
Thanks for the extension. It seems I found a little issue - when I write into placeholder (BTW it's really nice feature) non English characters, they are not rendered correctly, but as ??.
Hi, thanks for your interest. Can you give an example of such a character or characters? Then I can try for myself.

leschek
Registered User
Posts: 788
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [3.2][BETA] Calendar Mono Input

Post by leschek » Wed Oct 03, 2018 8:58 pm

Sure. I used Czech word Začátek (it means "Beginning"). It renders as this: Za????tek.

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Wed Oct 03, 2018 10:03 pm

leschek wrote:
Wed Oct 03, 2018 8:58 pm
Sure. I used Czech word Začátek (it means "Beginning"). It renders as this: Za????tek.
Ok, I see the solution for this. I will post an update tomorrow.

_$multibyte_ has to be set to true for unicode handling:

Code: Select all

$message = $request->variable('message', '', true);

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Thu Oct 04, 2018 4:27 am

leschek wrote:
Wed Oct 03, 2018 8:58 pm
Sure. I used Czech word Začátek (it means "Beginning"). It renders as this: Za????tek.
This should be solved now in version 0.3.1.

leschek
Registered User
Posts: 788
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [3.2][BETA] Calendar Mono Input

Post by leschek » Thu Oct 04, 2018 12:45 pm

martti wrote:
Thu Oct 04, 2018 4:27 am
leschek wrote:
Wed Oct 03, 2018 8:58 pm
Sure. I used Czech word Začátek (it means "Beginning"). It renders as this: Za????tek.
This should be solved now in version 0.3.1.
Thank you for quick fix.

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Mon Oct 08, 2018 5:41 am

The quote below was copied from the Calendar Mono topic.
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.
What is your template (Prosilver)? What are the "range" settings for this extension in the ACP? What is the "placement" setting (before, after the title) of the in the ACP? Is the Calendar input just enabled or required in the ACP?

leschek
Registered User
Posts: 788
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [3.2][BETA] Calendar Mono Input

Post by leschek » Mon Oct 08, 2018 8:53 pm

  1. What is your template (Prosilver)?
    Yes, I use prosilver.
  2. What are the "range" settings for this extension in the ACP?
    Lower limit when a event can start: 0
    Upper limit when a event can start: 720
    Minimum duration of an event in days: 1
    Maximum duration of an event in days: 30
  3. What is the "placement" setting (before, after the title) of the in the ACP?
    Before
  4. Is the Calendar input just enabled or required in the ACP?
    On my (testing) board I have only default forum tree:
    "Your first category"
    - "Your first forum"
    Category: no "enabled", no "required"
    Forum: yes "enabled", no "required"

User avatar
martti
Registered User
Posts: 683
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Calendar Mono Input

Post by martti » Sat Oct 13, 2018 6:54 pm

leschek wrote:
Mon Oct 08, 2018 8:53 pm
  1. What is your template (Prosilver)?
    Yes, I use prosilver.
  2. What are the "range" settings for this extension in the ACP?
    Lower limit when a event can start: 0
    Upper limit when a event can start: 720
    Minimum duration of an event in days: 1
    Maximum duration of an event in days: 30
  3. What is the "placement" setting (before, after the title) of the in the ACP?
    Before
  4. Is the Calendar input just enabled or required in the ACP?
    On my (testing) board I have only default forum tree:
    "Your first category"
    - "Your first forum"
    Category: no "enabled", no "required"
    Forum: yes "enabled", no "required"
So far it's not different from my setup.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: No registered users and 24 guests