Support » Plugin: SportsPress - Sports Club & League Manager » League based on timing

  • Resolved stevenfleet

    (@stevenfleet)


    Hi

    I want to purchase it but I rather have a few questions before I start work on it.
    I’m working on Virtual Rowing league based on individual and Team.
    I notice your league is more based on points rather than time.
    this is something I like to create league like this,

    https://prnt.sc/10zu0ae, also

    is plugin cover Open league so anyone can register it as a player rather without admin side, also close league based on Club(team)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Roch

    (@rochesterj)

    Hi Steven,

    How are you doing today? I hope everything is fine.

    We do have the time data type (in addition to numbers) so this is certainly possible. But depending on what you are trying to do, sometimes it’s easier to store all your data as number (using your smallest unit, such as seconds) and then use a bit of custom code to change the data formatting to hh:mm:ss, for example.

    This is particularly useful if you need to use them in statistics.

    Regarding user registration, we use the default WP registration form, so users can register and a player profile is created for them. But you still need an admin (or league manager) to add them to teams or events.

    Thanks!

    Kind Regards,
    -Roch

    Thread Starter stevenfleet

    (@stevenfleet)

    Hi

    Thanks for reply

    We do have the time data type (in addition to numbers) so this is certainly possible. But depending on what you are trying to do, sometimes it’s easier to store all your data as number (using your smallest unit, such as seconds) and then use a bit of custom code to change the data formatting to hh:mm:ss, for example.

    Do you have an example or document on this, it might help me and give a big picture on it

    Steven

    Plugin Contributor Roch

    (@rochesterj)

    Hi Steven!

    I don’t think we have an article on this topic in particular, as that’s part of the setup (so there are many places to look for these timed elements).

    Here’s an example, for player performance you have these options:
    https://prnt.sc/110v7jj

    In general, the decision between a number/time field is based on what kind of calculations you’ll do with it.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.