clarkwinkelmann/flarum-ext-vote-with-money 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

clarkwinkelmann/flarum-ext-vote-with-money

最新稳定版本:1.0.0

Composer 安装命令:

composer require clarkwinkelmann/flarum-ext-vote-with-money

包简介

Put money pledges on poll options.

README 文档

README

MIT license Latest Stable Version Total Downloads Donate

This is a companion extension to the Money extension by AntoineFr and Polls extension by FriendsOfFlarum.

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.

Limitations:

  • 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.

Installation

Requires version 1.3+ of FoF Polls.

composer require clarkwinkelmann/flarum-ext-vote-with-money

Support

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.

Sponsors: annonny

Links

统计信息

  • 总下载量: 423
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-27