Linux 软件免费装
Banner图

Plairsoft Integration

开发者 plairsoft
更新时间 2026年10月30日 00:30
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

booking calendar events sports airsoft

下载

1.6.0 1.7.0

详情介绍:

Plairsoft Integration connects an airsoft field's WordPress site with Plairsoft, the platform where fields publish their games and players sign up for them. Once connected, your site shows: The plugin is for fields that already have a Plairsoft account. The field manager creates the API key in Plairsoft Manager, and the Plairsoft team registers the site's login client. See Installation. The plugin is in Spanish and European Portuguese (pt_PT, also used for other Portuguese locales without their own translation): it follows the site language. On sites in any other language it is shown in Spanish. Currency, time zone and the ID document asked for the insurance follow the country of the field (Spain, Portugal, Colombia…), not the language. Shortcodes When it is activated, the plugin creates a "Calendario de partidas" page with [plairsoft_calendar] and a "Partida" page with [plairsoft_game_detail] (or reuses the ones a previous installation left, since uninstalling keeps them). If they are deleted, the "Crear páginas automáticamente" button in Plairsoft → Configuración creates them again. Caching Pages seen by a logged-in player include their name, so they are sent with no-cache headers, and the session cookie is registered with LiteSpeed Cache and WP Rocket. With other page caches (Cloudflare "Cache Everything", Varnish…), bypass the cache for the plairsoft_uid cookie.

安装:

  1. Install and activate the plugin. It creates a "Calendario de partidas" page ([plairsoft_calendar]) and a "Partida" page ([plairsoft_game_detail]).
  2. In Plairsoft Manager → Integraciones, create an API key for your field.
  3. In WordPress, go to Plairsoft → Configuración, enter the Field ID and the API key, and click "Validar".
  4. Ask the Plairsoft team (info@plairsoft.com) to register your site's login client, using the callback URL shown on that screen (https://your-domain/plairsoft/callback). Enter the client ID and secret there, or in wp-config.php as PLAIRSOFT_OAUTH_CLIENT_ID and PLAIRSOFT_OAUTH_CLIENT_SECRET.
  5. Click "Comprobar inicio de sesión" and check Tools → Site Health.

屏幕截图:

  • Game page: poster, description, power limits, players and the box with price, spots and sign-up.
  • Booking window, payment step: summary of the booking and the payment methods ("Pago online", "Efectivo en el campo", "Tarjeta en el campo").
  • A full game: the player joins its waiting list for free.
  • "Mis partidas": the player's upcoming games and waiting lists at this field.
  • Settings screen (Plairsoft → Configuración).

升级注意事项:

1.7.0 New look with the Plairsoft colours, SVG icons and better contrast and focus. Custom colours are kept. 1.6.1 Game posters are no longer cropped. 1.6.0 Waiting list for full games, field closures and the full information of each game. 1.5.2 Activation creates the calendar and game pages. 1.5.1 Game page address in the site language, and redirects from the old address if it changes. 1.5.0 Portuguese translation and country-aware ID document for the insurance. 1.4.4 Sold-out extras are shown clearly instead of looking like they are missing. 1.4.3 Game times in the field time zone, 24-hour format. 1.4.2 Shows which extras are sold out, so players can't book more units than the field offers. 1.4.1 Sending the site's technical information to Plairsoft is now opt-in. 1.4.0 Safer against changes in the Plairsoft API, and lets the Plairsoft team see the plugin version of each site. 1.3.3 Escaping fixes from the WordPress.org review. 1.3.2 Security hardening from the WordPress.org review. 1.3.1 Clearer payment method names. 1.3.0 Card payments happen before sign-up. Requires the current Plairsoft API.

常见问题:

Do I need a Plairsoft account?

Yes. The plugin shows the games of a field registered in Plairsoft. Registering a field is free at https://manager.plairsoft.com.

Can players pay by card?

Yes, if the field offers online payment and has connected Stripe in Plairsoft. The payment happens on Stripe before the sign-up. The payment methods of each game (online, cash or card at the field) are the ones the field sets in Plairsoft; if online payment is not possible, the player is told so and can choose to pay at the field.

What happens if Plairsoft is down?

The site keeps showing the last good copy of the games (up to 24 hours), and the administrator sees a notice in the dashboard. The same happens if Plairsoft answers with data this version of the plugin does not understand.

Should I turn on automatic updates?

Yes. Plugins → Plairsoft Integration → "Enable auto-updates". Fixes to the plugin then reach your site as soon as they are released. The plugin's screens show a button to do it while they are off.

Does it work with page caches?

Yes. See "Caching" above.

Where do I get help?

In this plugin's support forum, or by writing to info@plairsoft.com. For anything about your field's account, games or payments, use Plairsoft Manager.

更新日志:

1.7.0 1.6.1 1.6.0 1.5.2 1.5.1 1.5.0 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.3 1.3.2 1.3.1 1.3.0