• Hello,

    I guess, the title is pretty explicit.
    I would like that my registered members have a field in their profil (and visible in the directory) that is in the format mm:ss.
    The time picker only has hh:mm. I guess I could use it and put in the comment that hh = mm and mm = ss :)but if there is a more clean way to do this I would like to know.

    Now cherry on the cake, I would like that members get a ranking based on this time (so Member with highest time is #1, second best time is #2 etc). Of course this would need to by dynamic so if a new member arrives with a time it will modify the ranking. This ranking would be displayed on the member profil like a normal field.

    Any idea how to get this done ?

    Thank you so much for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @irwinrouch

    Ultimate member currently does not have ‘mm:ss’ time picker but you can use Text Box field for this where users can input their value and you can validate data with custom field validation.

    Regarding ranking, can you please explain how you are adding ranking? Is ranking a custom field added to a user’s profile? If yes, you will have to update all of the users once a user gets registered or updates their profile which is ok if you have only a few users on your website but this is not recommended on a website with a huge number of users.

    Thread Starter irwinrouch

    (@irwinrouch)

    Hello Aswin,

    Thank you for taking the time to answer.

    The only fear I have with using text box is that the data stored in the database will be as text and therefore ranking based on text field difficult to calculate, especially as it will not be a whole number (1:30; 2:50 how will the system figure out without the proper format).

    For the ranking itself, the result I would like is that when you go to the members directory page :
    -users are by default displayed in descending order of this time mm:ss -> this I have achieved easely if the time is a whole number in seconds)
    – Have this time displayed -> this is ok using standard UM member directory possibilities
    – Have displayed the ranking of the user. This ranking would change automatically when new users update their time ; clearly changing the fields manually for each user is not an option.
    I was hoping to find a solution with a custom field with a calculated formula but this is not the right way maybe? Also looked for gamification plugins but scoring and ranking of members is based on points calculated on the actions they do on the web site, not on a field on their profile…

    I hope this clarifies
    Irwin

    • This reply was modified 2 years, 6 months ago by irwinrouch.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ultimate Member Member field in minutes and seconds + ranking’ is closed to new replies.