[3.3][DEV] phpBB Events Calendar

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!
Anti-Spam Guide
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)
User avatar
ssl
Registered User
Posts: 2079
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][DEV] phpBB Events Calendar

Post by ssl »

Perfect
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.15
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Steve
Registered User
Posts: 1620
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: [3.3][DEV] phpBB Events Calendar

Post by Steve »

Extension Version: Image

Features Implemented:
  • monthly birthdays
  • Mark events as attended
  • Toggle columns on index
  • Starts in xx days, Lasts xx days
  • Add event end time options
Bugs Fixed:
  • SQL error on -timestamp
Features not Implemented:
  • Support upcoming b-days by Rich
    • Wrote my own ...
  • event fa icon....... (a list of known fa icons needs to be generated for user selection)
    • phpbb.com/community/viewtopic.php?f=456&t=2518961
      • A more up-to-date list and code is needed.
Extension Download: here
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
User avatar
ssl
Registered User
Posts: 2079
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][DEV] phpBB Events Calendar

Post by ssl »

There is a problem with the translation into French when displaying events on the index

event.png

27th in French is displayed as 27ème
You do not have the required permissions to view the files attached to this post.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.15
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Steve
Registered User
Posts: 1620
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: [3.3][DEV] phpBB Events Calendar

Post by Steve »

Thanks. Will get translated for next version.
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
User avatar
ssl
Registered User
Posts: 2079
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][DEV] phpBB Events Calendar

Post by ssl »

Thanks

Is it possible to add a modification?
When you click on the link to return to the board index, the calendar and events toggles display the calendar and events. Would it be possible to keep this information hidden each time you return to the index?

Capture d’écran 2025-01-12 à 17.32.41.png
You do not have the required permissions to view the files attached to this post.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.15
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
Steve
Registered User
Posts: 1620
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: [3.3][DEV] phpBB Events Calendar

Post by Steve »

Sure, no problem at all.
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
edu81
Registered User
Posts: 40
Joined: Sun Jun 21, 2009 6:18 pm
Location: Spain

Re: [3.3][DEV] phpBB Events Calendar

Post by edu81 »

Hi, I tested this extension on a phpbb 3.3.14 forum, but I can't see any calendar link on the settings page.

(using 0.9.2-dev ext)

Thanks!
You do not have the required permissions to view the files attached to this post.
Last edited by edu81 on Fri Jan 24, 2025 7:39 pm, edited 1 time in total.
User avatar
ssl
Registered User
Posts: 2079
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [3.3][DEV] phpBB Events Calendar

Post by ssl »

Are you sure you have the permissions to view the calendar?
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.14 | PHP: 8.3.15
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
edu81
Registered User
Posts: 40
Joined: Sun Jun 21, 2009 6:18 pm
Location: Spain

Re: [3.3][DEV] phpBB Events Calendar

Post by edu81 »

ssl wrote: Fri Jan 24, 2025 7:30 pm Are you sure you have the permissions to view the calendar?
thanks!!, that was the reason :roll:

But now, I have this error:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'phpbb.phpbb_calendar_events.event_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by [1055]

SQL

SELECT * FROM phpbb_calendar_events WHERE year = 2025 OR annual = 1 GROUP BY day

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1031
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 213
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 353
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/steve/calendar/calendar/calendar.php
LINE: 323
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/steve/calendar/calendar/calendar.php
LINE: 88
CALL: steve\calendar\calendar\calendar->get_events()

FILE: [ROOT]/ext/steve/calendar/controller/calendar_view.php
LINE: 64
CALL: steve\calendar\calendar\calendar->get_calendar()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 151
CALL: steve\calendar\controller\calendar_view->view_year()

FILE: [ROOT]/vendor/symfony/http-kernel/HttpKernel.php
LINE: 68
CALL: Symfony\Component\HttpKernel\HttpKernel->handleRaw()

FILE: [ROOT]/app.php
LINE: 35
CALL: Symfony\Component\HttpKernel\HttpKernel->handle()

phpbb 3.3.14
phpBB Events Calendar 0.9.2
PHP Version 8.3.13
MySQL 8.0.30

Thanks in advance.
User avatar
Steve
Registered User
Posts: 1620
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: [3.3][DEV] phpBB Events Calendar

Post by Steve »

Try these files: https://steven-clark.tech/phpBB3/download/file.php?id=144
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺
edu81
Registered User
Posts: 40
Joined: Sun Jun 21, 2009 6:18 pm
Location: Spain

Re: [3.3][DEV] phpBB Events Calendar

Post by edu81 »

Steve wrote: Sat Jan 25, 2025 8:34 pm Try these files: https://steven-clark.tech/phpBB3/download/file.php?id=144
Solved, thank you Steve!
User avatar
Steve
Registered User
Posts: 1620
Joined: Tue Apr 07, 2009 7:48 pm
Location: Co. Durham, England
Name: Steven Clark

Re: [3.3][DEV] phpBB Events Calendar

Post by Steve »

Cool, thanks for testing.
@ The Chief Medical Officers guideline for men is that: You are safest not to drink regularly more than 14 units per week.
- I drank that today++ :lol: 🍺

Return to “Extensions in Development”