Remapdb

外掛說明

Remapdb gives customers a clean way to find their vehicle, view tuning gains, choose relevant services, and request a quote, powered by a modern tuning database platform built for real businesses.

This plugin connects WordPress to Remapdb, embeds the Remapdb widget with shortcode, and syncs SEO plus subscription and website status securely.

This plugin provides:

  • Easy connect flow to connect your website to Remapdb.
  • Shortcode rendering via [remapdb].
  • SEO metadata sync from Remapdb:
    • title / meta description
    • canonical URL
    • Open Graph tags
    • JSON-LD
  • Admin dashboard status:
    • connected widget
    • subscription status
    • billing cycle
    • plan name
  • host allowance status for this WordPress site

License

This plugin is licensed under GPLv2 or later.

Remapdb trademarks, logos, and hosted Remapdb platform services are proprietary and not licensed under GPL.

Requirements

  • WordPress 6.2+
  • PHP 8.1+
  • A Remapdb account

Connect Flow

The plugin uses a secure authorization flow:

  1. WordPress opens a popup to Remapdb connect endpoint.
  2. User authenticates in Remapdb and confirms widget/site connection.
  3. Remapdb returns a one-time authorization code to WP callback.
  4. Plugin exchanges the code for API credentials.
  5. Credentials are stored server-side and used for signed API calls.

Notes:
– If hostname is not allowed and plan has a free slot, Remapdb adds it when user confirms Connect.
– If no free slot exists, user can replace an active allowed website during connect.

Shortcode

[remapdb]

Renders the Remapdb widget container for the connected widget_id.

For clean URLs, set one or more pages in the plugin Settings tab (includes Homepage option). Root clean URLs route to Homepage first when selected, otherwise first selected page. URLs like /internal-page/catalog/... route to that page when it is selected.

SEO Behavior

On pages where [remapdb] is rendered, the plugin requests SEO payload from Remapdb and applies relevant metadata through WordPress hooks.

The plugin uses caching based on API TTL to reduce API calls and preserve performance.

Security

  • Credentials stored server-side only.
  • API secret is never exposed to frontend JavaScript.
  • Requests signed with HMAC headers (key, timestamp, nonce, signature).
  • Nonce + timestamp used for replay protection.
  • Connect flow protected by PKCE and state validation.

Plugin dashboard

The plugin dashboard includes:
– Settings (widget connected state, connected widget details, pages where shortcode is added, clean URLs configuration)
– Subscription (subscription status, billing cycle, plan name, host allowance status for this WordPress site, SEO options)
– Widget preview
– Support (contact support, debug and logs, cache management)

Privacy

This plugin connects to the Remapdb service (https://remapdb.com) to:
– Authenticate and authorize the WordPress site during the connect flow.
– Fetch widget configuration and SEO metadata for shortcode rendering.
– Report subscription and host allowance status.

No visitor/end-user data is collected or transmitted. The site hostname and
WordPress site name are sent to Remapdb during the connect flow only, with
the administrator’s explicit consent.

See the Remapdb Privacy Policy: https://remapdb.com/privacy

螢幕擷圖

  • Public widget default state on frontend before selecting a specific vehicle.
  • Public widget with a selected vehicle, estimated gains, engine details, and dynochart.
  • Public “Request a quote” form with contact fields and tuning service options.
  • Admin Settings tab showing connection status, connected widget details, and clean URL target configuration.
  • Admin Subscription tab showing plan, billing cycle, allowed websites usage, and SEO capabilities.
  • Admin Support tab with support link, debug toggle, log downloads, and cache management.
  • Admin Widget Preview tab rendering the connected widget directly in WordPress admin.

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/remapdb/, or install via zip.
  2. Activate Remapdb from Plugins.
  3. Open the plugin admin page.
  4. Click Connect Remapdb.
  5. Complete login/authorization in the popup.
  6. After successful connect, place shortcode [remapdb] on the desired page(s).

常見問題集

Does this plugin work without a Remapdb account?

No. You need an active Remapdb account and widget.

Do I need to have a paid Remapdb subscription?

No. You can use the free plan to use the plugin but some features may be limited.

Can I use multiple widgets?

This version connects one widget per site installation.

What if credentials are rotated or revoked in Remapdb?

Plugin will show disconnected/action-required status and prompt reconnect.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Remapdb〉的開發相關工作。

參與者

將〈Remapdb〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.4.0

  • Features:
  • add review prompt to the Remapdb admin footer

0.3.0

  • Features:
  • add optional minimum version filter to changelog generation

0.2.0

  • Features:
  • initial structure
  • introduce configurable base and API URLs for flexible development and Docker environments
  • Bug Fixes:
  • errors and warnings
  • escape dashboard notice AJAX URL and nonce for inline JavaScript output context
  • Code Refactoring:
  • improve security by centralizing catalog path sanitization and migrating inline scripts to the WordPress enqueue API.