Connector for Mobilizon

Description

Connector for Mobilizon allows you to display the upcoming events of Mobilizon, which is a federated event listing platform, on your WordPress website.

Features
– Display events as Gutenberg block, as widget and as shortcut
– Display events’ picture, if available, title with link, date, and location, if available
– Cache requests’ responses for 2 minutes in the database
– Configure number of events to show per block, per widget and per shortcut
– Optionally filter events by one or more public groups per block, per widget and per shortcut
– Set the URL of the Mobilizon instance in the settings

This plugin requests the events via Mobilizon’s GraphQL API.

The source code is available on Github.

Screenshots

  • List of 3 events
  • List of 4 events of one group
  • Gutenberg block in editor
  • Widget creation
  • Shortcut creation
  • General settings

Installation

Install this plugin on the “Add Plugin” page in the administrator backend of your WordPress website by searching for it by its name or by uploading its archive by clicking on “Upload Plugin”.
In both cases, you then need to click the corresponding “Install now” button.

After the installation, you can adapt the URL of the Mobilizon instance whose events you want to list on the plugin’s settings’ page.

Custom styling

You can change the appearance of this plugin completely by adding your own CSS code.

The BEM naming convention is used, which results in the following class names:
connector-mobilizon_events-list is used at the root container element.
connector-mobilizon_events-list--error is added to the root container element if an error message is displayed instead of events.
– The child elements have class names with a name appended. For example, connector-mobilizon_events-list__picture is used for the picture element.

Use the developer tools of your browser to check all the names.

Shortcut usage

Shortcut format with limiting the number of events to show to 3 for example: [connector-mobilizon-events-list events-count=3]

Optionally, you can only show the events of one or more groups by indicatings their names: [connector-mobilizon-events-list events-count=3 group-name="mygroup"]
Multiple group names have to be separated by comma: [connector-mobilizon-events-list events-count=3 group-name="mygroup1,mygroup2,mygroup3"]
You have to use their username, e.g. @nosliensvivants, and append the name of their instance if they use a different one, e.g. @[email protected].

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Connector for Mobilizon” is open source software. The following people have contributed to this plugin.

Contributors

“Connector for Mobilizon” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Connector for Mobilizon” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

[2.2.0]

Added

  • Add wrappers and class names following the BEM naming convention for easier CSS formatting

Changed

  • Update dependencies
  • Switch from date() to gmdate() and to non-obsolete ATOM date format

Security

  • Exit also object-oriented files when called directly

[2.1.0]

Added

  • Allow to filter by multiple group names

Changed

  • Confirm compatibility with WordPress 6.9
  • Update dependencies

Removed

  • Revert escaping strings in blocks as React takes care of it

Security

  • Add missing output escapes detected by Plugin Check

[2.0.0]

Added

  • Display “Show more events” button below the events list
  • Document basic installation
  • Add settings link to action links of plugin on plugins page
  • Add donation link to meta row of plugin on plugins page

Changed

  • Use wp_remote_get() instead of cURL functions for downloading the images
  • Use date and time formats from general site settings
  • Update dependencies

Removed

  • Removed option “Display named offset”

Fixed

  • Show group not found error message in block

Security

  • Escape translated strings to prevent HTML injections

[1.4.0]

Changed

  • Update dependencies
  • Confirm compatibility with WordPress 6.8

[1.3.0]

Added

  • Comment for translators what placeholder will contain

Changed

  • Confirm compatibility with WordPress 6.7
  • Load block script only in footer to reduce waiting time
  • Update dependencies

Fixed

  • Mark event-related data as non-translatable within plugin
  • Add version number to script registration to break browser caching
  • Handle location being null

[1.2.0]

Added

  • Display event picture if available

Changed

  • Update dependencies

[1.1.0]

Added

  • Add some spacing between event items

Changed

  • Update dependencies
  • Confirm compatibility with WordPress 6.6

Fixed

  • Fix undefined variable $classNamePrefix for both error views

[1.0.0]

Added

  • Display name of group when it cannot be found

Changed

  • Let backend do requests to API of Mobilizon instance for increased privacy
  • Update dependencies

Fixed

  • Fix displaying more than one block in the editor

[0.11.5]

Changed

  • Confirm compatibility with WordPress 6.5

[0.11.4]

Changed

  • Confirm compatibility with WordPress 6.4
  • Update dependencies

[0.11.3]

Fixed

  • Clean up distributed files

[0.11.2]

Changed

  • Update dependencies
  • Confirm compatibility with WordPress 6.3

[0.11.1]

Fixed

  • Revert minimum PHP version to 7.4 to allow some more time for upgrading PHP

[0.11.0]

Changed

  • Update dependencies
  • Confirm compatibility with WordPress 6.2

Security

  • Set minimum PHP version to oldest stable 8.0

[0.10.1]

Changed

  • Confirm compatibility with WordPress 6.1
  • Update dependencies

[0.10.0]

Added

  • Add Gutenberg events list block
  • Show loading indicator during request

Changed

  • Set list style type to none and left padding to zero for all occurences
  • Move shortcut usage description into installation section in readme.txt
  • Update dependencies

[0.9.1] – 2020-05-19

Fixed

  • Fix WordPress compatibility version number

[0.9.0] – 2020-05-19

Added

  • Improve explanation of group name filter

Changed

  • Update dependencies
  • Confirm compatibility with WordPress 6.0

Fixed

  • Fix displaying error message for the case the group is not found

[0.8.0] – 2022-01-09

Added

  • Add support for older browsers using babel

Changed

  • Confirm compatibility with WordPress 5.9
  • Update dependencies

Fixed

  • Use ES modules correctly
  • Trim events’ location

[0.7.0] – 2021-12-23

Added

  • Add specific error message for the case the group is not found
  • Add code formatter prettier

Changed

  • Update dependencies
  • Simplify build process

Fixed

  • Fix Invalid DateTime on event end time being null

Security

  • Set minimum PHP version to oldest stable 7.4

[0.6.2] – 2021-08-24

Changed

  • Update dependencies

Fixed

  • Fix empty WordPress timezone_string option resulting in Invalid DateTime

[0.6.1] – 2021-07-13

Changed

  • Confirm compatibility with WordPress 5.8
  • Update dependencies

[0.6.0] – 2021-06-02

Added

  • Optionally display the current offset as short name after the time via the general plugin settings

Changed

  • Update dependencies

Fixed

  • Capitalise Mobilizon name in description

[0.5.0] – 2021-05-06

Added

  • Localise dates based on the WordPress locale and time zone

Changed

  • Clearly list features in readme.txt description
  • Update dev dependencies c8, eslint, gulp-replace, webpack

Fixed

  • Improve translatability

[0.4.0] – 2021-04-20

Added

  • Show events’ location if set: description and locality fields
  • Plugin icon

Changed

  • Update dev dependencies eslint, jsdom, webpack

[0.3.0] – 2021-04-05

Added

  • Donation link to WordPress Plugin Directory sidebar and to package.json
  • Cache requests for 2 minutes
  • Set up ESLint static code analysis

Changed

  • Update luxon dependency
  • Update dev dependencies jsdom, webpack, webpack-cli

[0.2.2] – 2021-03-10

Changed

  • Confirm compatibility with WordPress 5.7
  • Update graphql dependency
  • Update dev dependencies jsdom, webpack, webpack-cli, webpack-stream

[0.2.1] – 2021-01-15

Fixed

  • Add missing backtick to readme.txt

[0.2.0] – 2021-01-15

Added

  • changelog.txt
  • Changelog maintenance steps to README.md
  • Link to Github repository in readme.txt
  • Option to show events of a specific group by indicating its name

Changed

  • Use same Markdown style in README.md as in other documents

[0.1.0] – 2021-01-09

initial release