gdpelican / retort

A reactions plugin for Discourse
MIT License
58 stars 38 forks source link

Limit the maximum number(s) of reactions a user can leave #12

Closed redrumrobot closed 8 years ago

redrumrobot commented 8 years ago

A global setting is needed to control the maximum number of reactions users are able to leave. A setting "maxReactionsPerPost" might be have valid values of 0-10, where 0 would be unlimited reactions, and 10 would allow up to 10 unique reactions per-post per-user.

gdpelican commented 8 years ago

I've implemented a version of this; via site settings you can now set whether a user can react one time (one reaction per most), or many times (as many reactions as they'd like). I believe this should cover most use cases, but would be interested to hear the argument for something like 'I want to be able to react up to 3 times to a post'