Put money pledges on poll options.
The extension adds a new kind of polls where users vote with money. The amount pledged can be customized and results are sorted by the total money given to each option.
When creating a poll, a new switch is added to turn the poll into a money poll. A local or global min/max value can be configured in the poll/extension settings. A list of predefined amounts can be configured in the extension settings. The user can always choose a custom value if they want.
- Users cannot edit or cancel their vote.
- The poll option image is not shown in the recap at the top of the vote modal.
- The money pledged must be an integer amount.
- The pre-selected amounts will always be shown even if they don't meet the local min/max setting, but will error if trying to submit.
- In the FoF Polls translations, the tooltips reference the number of votes, which are now the amount of money and no longer the number of users. You can edit the translations with FoF Linguist if you prefer to call them differently.
- The Pusher/Websocket integration of FoF Polls will not be triggered for money-based polls.
- Once a poll received votes, it can no longer be switched from normal to money or vice-versa.
Requires version 1.3+ of FoF Polls.
composer require clarkwinkelmann/flarum-ext-vote-with-money
This extension is under minimal maintenance.
It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.
You can contact me to sponsor additional features or updates.
Support is offered on a "best effort" basis through the Flarum community thread.