Bookable Events
Makes a post a 'bookable event': logged in users can register for it, unregister from it and view the participants' list.
Install in
This plugin allows you to turn a post into a bookable event. A post creator makes a post ‘bookable’ by ticking “This post is a bookable event” in the “Bookable event” box of the post editor, where the max number of participants can be set too.
The registered users can add/remove their participation to an event (represented by a post) by links at the bottom of the post, and view the participants’ list.
This plugin provides also a widget displaying the list of the last ‘bookable events’ added.
The data is stored in the custom fields bookable_event, max_num_participants and participant, the same ones used by the 1.0.x versions.
Internationalization
Support for: English (default), Italian, Spanish.
If you want the plugin in another language, the .pot file is in the lang directory.
Usage
- Edit a post and tick “This post is a bookable event” in the “Bookable event” box (or set the
bookable_eventcustom field to a non-empty string, e.g. “yes”) - Leave “Max number of participants” (the
max_num_participantscustom field) to 0 if you want an unlimited number of participants - Other post types can be made bookable through the
bookable_events_post_typesfilter
Written by Joobi from the project's own listing. See the source page
2.0.0
- Rewritten for current WordPress (tested up to 7.1) and PHP 7.4 – 8.x: no more removed/deprecated functions, warnings or fatal errors.
- New “Bookable event” box in the post editor (block and classic), replacing the custom fields added to every post on activation.
- Security: registration/unregistration links are protected by a nonce and all the output is escaped.
- The “Last bookable events” widget is now a standard widget (title and number are kept; if you update from 1.0.x you have to add it to your sidebar again).
- Participants are shown with their display name instead of their login; in the widget their names are shown to logged in users only (other visitors see how many they are).
- Deactivating the plugin no longer deletes its data: the custom fields are removed only when the plugin is deleted.
1.0.5
max_num_participantscustom field added so it’s possible set the max number of participants for an event.- Added a link to view the participants’ list (for logged in users).
1.0.4
- Added: registered users (to an event) list available putting the mouse cursor over the corresponding event link in the ‘Last bookable events’ widget (if the post is protected, it works only for authorized users).
- Fixed registration/unregistration message for not logged users (now it’s visible only on the proper post).
- Fixed title displaying in the widget control.
1.0.3
- A widget displaying the list of the last ‘bookable events’ added.
- The ‘bookable event’ label no more near the title, but at the top of the post.
1.0.2
- Fixed number version.
1.0.1
- Fixed the plugin name dir and textdomain name for i18n.
1.0
- Initial release version.
Follow this listing's changes (Atom feed)