定制 asmbs/wp-schedule-builder 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

asmbs/wp-schedule-builder

Composer 安装命令:

composer require asmbs/wp-schedule-builder

包简介

Build interactive agendas for scientific meetings

README 文档

README

ScheduleBuilder is a WordPress plugin for building interactive agendas for scientific meetings.

Latest Stable VersionLatest Unstable Version

Requirements

Installation

  1. Install with Composer:

    composer require asmbs/wp-schedule-builder
    
  2. Activate the plugin.

  3. Go to the newly created Schedule Settings page and add the conference dates, venues, rooms and credit information for the event you're managing.

  4. 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 either session|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

统计信息

  • 总下载量: 478
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固