Site
Home / Forum / General Discussion / Add more options to round dropdown

Add more options to round dropdown


Posted: 05 Feb 2020 15:21

zag


Posts: 3,521
Joined: 2020

Hi Zagg,

Appreciate you’re a little busy with the new api merge but just an idea I’ve had.

For football, I wondered it it’d be possible to add some more options to the round dropdown list such as QF, SF, Final, round of 16.

I’m currently working round this by adding a note in the event description but it’d be nice to not use this for stuff it’s not designed for!

Cheers

Posted: 05 Feb 2020 19:56

zag


Posts: 3,521
Joined: 2020

Yeh I have been thinking about this recently as well. The round field is unfortunately an integer so can only contain numerical characters. Its also used for sorting so there is no real way to change that.

I'm open to ideas, but generally I think the current system of using Round 1, Round 2, Round 3 etc works quite well.

I just cleaned up the spanish Copa Del rey (although it is missing some events)

https://www.thesportsdb.com/season.php?l=4483&s=1920

As the Spanish way is to say Round 32, Round 16 ect which wont sort properly. I've converted it to Round 3 and 4 and now it looks nicer

You can of course use the description to signify Quarter final or Semi final but Its not an ideal solution I know. Best I can think of at the moment!

Posted: 10 May 2020 22:13

zag


Posts: 3,521
Joined: 2020

Hi Zagg,

Appreciate you’re a little busy with the new api merge but just an idea I’ve had.

For football, I wondered it it’d be possible to add some more options to the round dropdown list such as QF, SF, Final, round of 16.

I’m currently working round this by adding a note in the event description but it’d be nice to not use this for stuff it’s not designed for!

Cheers


I've made a quick attempt at this, it will currently work from the add event or edit event screen. If you scroll down you should see the options under round for Quarter, Semi and Final.

https://www.thesportsdb.com/season.php?l=4463&s=2019

They are actually special round numbers (125,150,200) in the back-end just displayed like "Quarter", "Semi-Final", "Final" etc but it should do what we need.

Posted: 11 May 2020 07:18

zag


Posts: 3,521
Joined: 2020

Amazing! Cheers

Posted: 10 Jun 2020 09:50

zag


Posts: 3,521
Joined: 2020

Could we add Playoffs to the dropdown? Be nice to have Playoff Final, and Playoff Semi-Final too

Posted: 10 Jun 2020 10:15

zag


Posts: 3,521
Joined: 2020

Could we add Playoffs to the dropdown? Be nice to have Playoff Final, and Playoff Semi-Final too

Sure nice idea, done

Posted: 10 Jun 2020 11:35

zag


Posts: 3,521
Joined: 2020

Amazing thanks


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 7 (Total: 7)