Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea - further notation for whole, tenths, hundredths, and thousandths #43

Open
jblayk opened this issue May 19, 2024 · 1 comment
Open

Comments

@jblayk
Copy link

jblayk commented May 19, 2024

On my forum we're referring to the whole money unit as Platinum, the Tenths as Gold, the Hundredths as Silver, and the Thousandths as Copper. It's Dungeons and Dragons inspired 馃槉

We're getting by with the money just called Platinum and loving the plugin of course, but we would really appreciate it if there's any chance you could add separate identifiers for:
the whole number rounded down no matter what - maybe [whole]
the 1st decimal place - maybe [tenths]
the 2nd decimal place - maybe [hundredths]
the 3rd decimal place - maybe [thousandths]

This would give people the freedom to have slightly more layered money systems such as the one I outlined in the begining of my post
Or even to divide their current money system by 10 or 100 to have something else that their money turns into once they have 10 or 100 of it. I'm not saying this should replace the [money] identifier obviously, I just think it would be a good option for those who want it.

Even if 0.001 showed up as 0 Platinum, 0 Gold, 0 Silver, 1 Copper that would be fine for us tbch, although upon release I'm guessing some users would rather have it be a comma separated list where it only shows non 0 values in any one instance and that would look cleaner to be fair.

@AntoineFr
Copy link
Owner

Hello @jblayk , thank you for your suggestion.
I think it's very specific to some communities, I try to keep this extension as generic as possible.
You can write your own extender to alter the original display which is located in https://github.com/AntoineFr/flarum-ext-money/blob/master/js/src/forum/index.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants