New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Currency field in Custom xProfile Fields?

Tagged: 

  • Participant
    Level: Enlightened
    Posts: 57
    Tony on #30314

    Hi all –

    Have you considered adding a “currency” field type in the xprofile field plugin?
    Thank you.

    ~Tony

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on #30315

    Hi Tony,
    Thank you for the suggestion.

    I haven’t considered it earlier but it seems like a good idea.

    so, how do you imagine it to work?

    In the backend we give option to use a currency symbol? and on the front end we prepend that symbol to the value?

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 57
    Tony on #30319

    Yes. That would work.
    I also would want to make sure the comma is in the displayed number:

    $14,123
    $153,221
    $1,500,402

    You might need to contend with decimals at some point, but I wouldn’t need it.

    Also…while you’re adding a field type 🙂

    …it would be great to have a percent type field.
    The user would put in a value and the system would show as percent.

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on #30320

    Hi Tony,
    Thank you.
    I am adding it to my list of types for the plugin. we will most probably have it in couple of weeks.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 57
    Tony on #30357

    Great! I will look for it.

You must be logged in to reply to this topic.

This topic is: not resolved