asmbs / wp-schedule-builder
Build interactive agendas for scientific meetings
Installs: 475
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 5
Forks: 0
Open Issues: 7
Type:wordpress-plugin
Requires
- php: >=7.0
- ext-json: *
- portphp/csv: ^1.1
- portphp/steps: ^1.2
- dev-master
- 5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v4.2.1
- 4.2.0
- v4.1.0
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.0.1
- v3.0.0
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.1
- v2.0.0
- v1.4.6
- v1.4.5
- v1.4.4
- v1.4.3
- 1.4.2
- v1.4.1
- v1.4.0
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- dev-develop
- dev-dependabot/npm_and_yarn/webpack-5.76.0
- dev-dependabot/npm_and_yarn/json5-and-loader-utils-1.0.2
- dev-dependabot/npm_and_yarn/json5-and-css-loader-and-file-loader-and-less-loader-and-mini-css-extract-plugin-2.2.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/ssri-6.0.2
This package is auto-updated.
Last update: 2024-10-31 00:17:33 UTC
README
ScheduleBuilder is a WordPress plugin for building interactive agendas for scientific meetings.
Requirements
- PHP 7.0+
- A Composer-based WordPress stack like Bedrock
- Node + NPM
- The Advanced Custom Fields (ACF) Pro WordPress plugin v5.7+
Installation
-
Install with Composer:
composer require asmbs/wp-schedule-builder
-
Activate the plugin.
-
Go to the newly created Schedule Settings page and add the conference dates, venues, rooms and credit information for the event you're managing.
-
Start building!
Development
Requirements
- NPM
- Composer
Getting Started
To install the development dependencies, run:
composer install npm install
To rebuild the assets, run:
npx webpack
(Requires npx)
RESTful API
As of v5.0 this plugin is bundled with a GET only api. To enable this feature set the SCHEDULE_BUILDER_API
environmental variable 1
. For details on the endpoints provided please see the
Schedule-Builder API documentation
Webhook
With the RESTful API enable it is possible to report changes to session, abstract, and person post types by setting
SCHEDULE_BUILDER_WEBHOOK_URL
environmental variable to an absolute URL. The webhook MUST accept HTTP POST method with
a JSON body,
{ "@type": "{post_type}", "@id": "{post_type}/{post_id}", "import_id": "{post_type}_{post_id}", "update": true|false, "status": publish|trash }
Where
{post_type}
is eithersession|abstract|person
and{post_id}
is the Wordpress post id
When sending the POST request to the webhook, if the environmental variable SCHEDULE_BUILDER_WEBHOOK_AUTHORIZATION
is
configured its value is added as a bearer token in the request Authorization header.
Example
The application .env
file as:
# .env
SCHEDULE_BUILDER_WEBHOOK_AUTHORIZATION=the_webhooks_authorization_token_value
will translate to an HTTP authorization header:
Authorization: Bearer the_webhooks_authorization_token_value
Viewing API Documentation
Once deployed to view the API documents navigate to https://<meeting base url>/app/plugins/wp-schedule-builder/docs/
where <meetting base url>
is the meetings Wordpress site's FQDN. Information on compiling the API documentation see
docs/open-api.md