REC Event Creator
This is intended to be a simplified interface for non-technical users to propose radar.squat.net events using a specified group. As admin, you can configure a location and select a list of options for tags. The form can be displayed anywhere on your WordPress page by simply including the shortcode [recevcr-event-creator]. Events created with the form will be listed as proposals in your radar dashboard where you can moderate them. External Services This plugin uses the radar API to create events. The event data is submitted directly to the API, and no data is stored on the server. To be able to display a list of possible event locations and tags, the plugin makes requests to the radar API. Development If you want to contribute to this project, the repository is located on codeberg.org. Stack This project uses composer for dependency management and Nette Forms to handle form validation/submission logic, it uses Twig to make the form rendering more straightforward. Setup There is a container setup including WordPress, MariaDB and phpMyAdmin for local development and testing. Simply install docker and run docker compose up. The containers will start up and give you access to the local instance. On first boot you need to configure the WordPress installation when opening the url. If you messed something up and want a fresh start, simply remove the volume that contains the wordpress installation. For the plugin to work, you need to install the necessary php libraries. Execute docker compose exec -w /var/www/html/wp-content/plugins/rec-event-creator wordpress composer install while the docker setup is running. The plugin code is mounted via volumes in the plugin directory of the WordPress installation. So it can be activated in the admin interface and every change in the repository code is directly available in the docker container. Configure and use the plugin as described in the usage section. Translation Translations are done on translate.codeberg.org. Contributions are very welcome.
Top keywords
- wordpress6×1.83%
- docker5×1.53%
- form4×1.22%
- radar4×1.22%
- api3×0.92%
- configure3×0.92%
- events3×0.92%
- install3×0.92%
- installation3×0.92%
- setup3×0.92%
- simply3×0.92%
- uses3×0.92%
Simple Google Calendar Outlook Events Widget
Simple block or widget to display events from a public google calendar, microsoft office outlook calendar or an other iCal file, in the style of your website. The Gutenberg block requires at least WordPress 5.9. This simple block/widget fetches events from a public google calendar (or other calendar in iCal format) and displays them in simple list allowing you to fully adapt to your website by applying all kinds of CSS. Google offers some HTML snippets to embed your public Google Calendar into your website. These are great, but as soon as you want to make a few adjustments to the styling, that goes beyond changing some colors, they’re not enough. Plugin Features Calendar block or widget to display appointments/events of a public Google calendar or other iCal file. Block gives live preview in the editor and is not constrained to widget area. Old widget will be displayed in legacy widget block only in widget area. Old widget works also with Elementor (with some limitations e.g. preview in backend editor is not always available). Small footprint, uses only Google ID of the calendar, or ICS link for Outlook, or Url of iCal file, to get event information via iCal Merge more calendars into one block Manage events in Google Calendar, or other iCalendar source. Fully adaptable to your website with CSS. Output in unordered list with Bootstrap 4 listgroup classes and toggle for details. Choose date / time format in settings screen that best suits your website. Displays per event DTSTART, DTEND, SUMMARY, LOCATION and DESCRIPTION. DTSTART is required other components are optional. Displays most common repeating events. Frequency Yearly, Monthly, Weekly, Dayly (not Hourly, Minutely and smaller periods) Basic support for filter on Categories Warning: MS Outlook does not share categories via iCal now. Google and iCloud calendar don’t support categories at all. So this will not work with these calendars. In the screenshot below: Left the block with default settings and clicked on one summary. Right with some adjusted settings. Adjusted settings for start with summary: Lay-out: Start with summary. Date format first line: “. l jS \o\f F” Enddate format first line: ” – l jS \o\f F” Time format time summary line: ” G:i” Time format end time summary line: ” – G:i” Time format start time: “” Time format end time: “” Tag for summary: “strong” Documentation Gets calendar events via iCal url or google calendar ID Merge more calendars into one block Displays maximum the selected number of events as listgroup-items Displays only events in a selected period with a length of the setting “Number of days after today with events” from now limited by the time of the day or the beginning of the day at the start and the and of the at the end. Displays events in timezone of WordPress setting, or in Clients timezone with javascript REST call fetched from the clients browser. Displays event start-date and summary; toggle details, description, start-, end-time, location. Displays most common repeating events Frequency Yearly, Monthly, Weekly, Dayly (not parsed Hourly, Minutely …), INTERVAL (default 1), WKST (default MO) End of repeating by COUNT or UNTIL By day month, monthday or setpos (BYDAY, BYMONTH, BYMONTHDAY, BYSETPOS) no other by… (not parsed: BYWEEKNO, BYYEARDAY, BYHOUR, BYMINUTE, RDATE) Exclude events on EXDATE from recurrence set (after evaluating BYSETPOS) Respects Timezone and Day Light Saving time. Build and tested with Iana timezones as used in php, Google, and Apple now also tested with Microsoft timezones and unknown timezones. For unknown timezone-names using the default timezone of WordPress (probably the local timezone). (This widget is a Fork of version 0.7 of that simple google calendar widget by NBoehr https://nl.wordpress.org/plugins/simple-google-calendar-widget/) Copyright and License This project is licensed under the GNU GPL, version 2 or later. 2017 – 2023 © Bram Waasdorp.