外掛說明
WordPress – Polls for ActivityPub
This plugin works as an addon to the WordPress ActivityPub plugin. It brings lightweight polls to your WordPress site that reach the Fediverse. The polls are fully interoperable with platforms like Mastodon.
Features
- Modern block editor integration (Gutenberg)
- Interactive front-end for voting and viewing results
- Accepts votes from both local logged-in users and remote ActivityPub accounts (fully compatible with Mastodon)
- Email notifications for poll creators and local voters when results are available
- Configurable slug for polls and customization options for poll creation
- Votes stored as a custom WordPress comment type, with cached tallies for performance
Source Code
This is a community plugin. Feel free to bring up ideas, raise issues, fork the code or do anything else you like. The source code repository can be found at Codeberg. Check out the wiki as well as the CONTRIBUTING.md and CODE_OF_CONDUCT.md files for further guidance.
Acknowledgement
This project was funded through the NGI0 Commons Fund a fund established by NLnet with financial support from the European Commission’s Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429. Additional funding is made available by the Swiss State Secretariat for Education, Research and Innovation (SERI).
螢幕擷圖




適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- Poll for ActivityPub Create or embed a poll in your posts
安裝方式
- This plugin depends on the ActivityPub plugin. Make sure you have installed and updated it first.
常見問題集
-
Do I need the ActivityPub plugin?
-
Yes. This plugin is an add-on for the ActivityPub plugin and requires it to function.
-
Who can vote?
-
Both logged-in users and remote ActivityPub accounts can participate in polls.
-
Can I embed polls into normal posts?
-
No, though it can be enabled as an experimental feature. Federation of embeds has issues, and the WordPress user interface in not tested that meticulously.
-
Can I also vote on polls in the Fediverse
-
Not for now. These feature may come in the feature, when the reader in the ActivityPub plugin is mature.
-
Where are the votes stored?
-
Votes are stored as a custom WordPress comment type, ensuring compatibility with WordPress systems and good performance.
-
Will I get notified about poll results?
-
Yes. Poll creators and local voters can receive email notifications when results are available.
-
Is this plugin suitable for large-scale sites?
-
If a persistent object cache is available, it will be used automatically. Polls with up to 1,000 votes should generally perform well.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.10
- Fix: Hide refresh button when poll is expired
- Fix: Improve screen-reader-text for poll results
1.0.9
- Fix: issues from HAN accessibility review
1.0.8
- Fix: wrong legacy license URIs at some places in the code-comments
1.0.7
- Fix: blueprint preview did not install plugin correctly
1.0.6
- Initial release on WordPress.org
