ParkSystem

By futurecodepl

0+ active installationsVersion 1.0.5

System zarządzania parkingiem do wyświetlania tokenów parkingowych na stronach rezerwacji

Description

Wtyczka ParkSystem zapewnia integrację strony WWW parkingu z systemem zarządzania ParkSystem.online. Pozwala na:

  • Wyświetlanie formularzy rezerwacji za pomocą iframe
  • Pokazywanie stron potwierdzenia rezerwacji
  • Wyświetlanie cenników
  • Zarządzanie tokenem parkingowym i ustawieniami

Installation

  1. Upload the plugin files to the /wp-content/plugins/parksystem directory, or install through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to ParkSystem > Settings to configure your parking token
  4. Use the shortcode [parksystem_pricing] to display pricing tables

FAQ

How do I configure the parking token?

Go to ParkSystem > Settings in the WordPress admin panel and enter your parking token.

How do I display the pricing table?

Use the shortcode [parksystem_pricing] in any post, page, or widget. You can customize it with parameters:
[parksystem_pricing min_days=”1″ max_days=”35″]

What routes are available?

  • /rezerwuj/ – Reservation form page
  • /potwierdzenie/{id}/{token}/ – Reservation confirmation page

Changelog

1.0.5

  • Defer shortcode widget iframes with data-src + IntersectionObserver hydration for better LCP
  • Preconnect/dns-prefetch to parksystem.online
  • Keep dedicated /rezerwuj/ and /potwierdzenie/ routes loading eagerly
  • Harden iframe postMessage handler

1.0.4

  • Keep shortcode iframe_id as the exact DOM id (no unique suffix when provided)
  • Generate a unique id only when iframe_id is empty

1.0.3

  • Localize widget iframe URLs based on site language (Polylang and WordPress locale)
  • Add iframe title attributes for accessibility and optional iframe_title shortcode parameter
  • Generate unique iframe DOM ids when multiple widgets are on one page
  • Pass iframe_id to the widget URL for postMessage targeting

1.0.2

  • Add optional new reservation form (order2) with toggle in settings
  • Add extended styling options for new form: input text/border colors, secondary text, card text/header/border colors, active/error colors
  • Rename “Body Background Color” to “Widget Body Background Color”
  • Add localhost origin support for iframe message handling (development)
  • Update Polish translations

1.0.1

  • Improved code organization and WordPress coding standards compliance
  • Replaced inline scripts with wp_enqueue_script() and wp_add_inline_script()
  • Consolidated iframe handling into a single frontend script
  • Fixed iframe URL escaping for better security
  • Added deactivation hook for proper rewrite rules cleanup

1.0

  • Initial release
  • Reservation form iframe integration
  • Reservation confirmation page
  • Pricing widget shortcode
  • Admin settings page
  • Internationalization support (Polish)