DD Poll – Polls, Surveys & Voting

外掛說明

DD Polls is a production-ready poll system designed for news portals and high-traffic websites.

Features:

  • Custom database tables (no post types)
  • AJAX voting without page reload
  • Real-time results with caching
  • Admin dashboard with statistics
  • Shortcodes: [dalmdrpo_poll], [dalmdrpo_poll_results], [dalmdrpo_poll_list]
  • WordPress widget support
  • REST API at /wp-json/dalmatian-dream-polls/v1/polls
  • CSV export and JSON import
  • Anti-spam: rate limiting, IP throttling, nonce protection
  • Multisite compatible
  • Fully internationalized and ready for translate.wordpress.org
  • Built-in migration tools for WP-Polls and legacy DD Poll installations, including polls, answers, vote totals, detailed vote history and shortcode conversion.
  • Quick poll insertion in the post editor — choose from the five most recent polls and insert the selected poll directly into the post.

Shortcodes

  • [dalmdrpo_poll id="123"] — Display poll with voting form
  • [dalmdrpo_poll_results id="123"] — Display results only
  • [dalmdrpo_poll_list] — List all polls

REST API

  • GET /wp-json/dalmatian-dream-polls/v1/polls
  • GET /wp-json/dalmatian-dream-polls/v1/polls/{id}
  • POST /wp-json/dalmatian-dream-polls/v1/polls/{id}/vote

Hooks

Actions: dalmdrpo_poll_created, dalmdrpo_vote_added, dalmdrpo_poll_closed

Filters: dalmdrpo_poll_output, dalmdrpo_vote_allowed, dalmdrpo_verify_captcha

螢幕擷圖

安裝方式

  1. Upload the dalmatian-dream-polls folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu
  3. Go to Polls in the admin menu to create your first poll
  4. Embed using [dalmdrpo_poll id="1"] shortcode

常見問題集

Does this use WordPress posts?

No. DD Polls uses dedicated database tables for optimal performance.

Can guests vote?

Yes. Guest votes are tracked via cookie, IP hash, and user agent hash.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈DD Poll – Polls, Surveys & Voting〉的開發相關工作。

參與者

〈DD Poll – Polls, Surveys & Voting〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈DD Poll – Polls, Surveys & Voting〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.0.11

  • Internationalized the TinyMCE poll selector interface.
  • Replaced hardcoded Croatian editor labels and messages with translatable strings.

2.0.10

  • Added built-in poll migration tools.
  • Added WP-Polls migration support.
  • Added legacy DD Poll migration support.
  • Added migration of polls, answers, vote totals and detailed vote history.
  • Added automatic legacy shortcode conversion with ID mapping.
  • Added migration backup and rollback protection.
  • Added quick poll selector to the post editor with the five most recent polls.

2.0.9

  • Poll management is available to all logged-in users who can edit posts (edit_posts); global Settings remain administrator-only (manage_options).
  • Fixed upgrade capability migration so Polls admin pages remain visible after updating from legacy versions.
  • Synchronized the internal plugin version constant with the release version.

2.0.8

  • Renamed plugin display name to DD Poll.
  • Added WordPress.org plugin icons and banners.

2.0.7

  • Replaced short/generic WordPress-facing identifiers with the unique dalmdrpo_ prefix required by the Plugin Directory review.
  • Removed the generic legacy [poll] shortcode to prevent shortcode collisions.
  • Standardized plugin constants, options, capabilities, AJAX actions, hooks, cache keys, REST namespace, script handles, and custom table names.

2.0.5

  • Admin UI redesigned to match Dalmatian Dream product family.
  • Added DD Polls branding/logo.
  • Unified list/editor/results/settings components.
  • No poll data or voting logic changed.

2.0.0

  • Production release.
  • Security and Plugin Check cleanup.

1.0.0

  • Initial release