Site
Home / Forum / General Discussion / [FEATURES] Site progress and new features

[FEATURES] Site progress and new features


Posted: 23 Jan 2017 16:00

zag
Admin
Posts: 3,848
Joined: 2020

Just a personal Todo list for the new site:

- Setup Scheduled NHL imports

transparent spacer
Posted: 24 Jan 2017 22:33

zag
Admin
Posts: 3,848
Joined: 2020

Most of the edit features are now working, except honours and team history.

Please test for any errors.

transparent spacer
Posted: 25 Jan 2017 11:17

zag
Admin
Posts: 3,848
Joined: 2020

I think that's all the artwork uploads fixed now.

Let me now if you notice any errors.

transparent spacer
Posted: 25 Jan 2017 15:29

zag
Admin
Posts: 3,848
Joined: 2020

Hi, great work on the new site, it looks great!

Just a bit of feedback on one of the API calls; the below call returns an uncaught error and means the json format is unclosed

https://www.thesportsdb.com/api/v1/json/<APIKey>/search_all_leagues.php?s=soccer

The data is actually returned, but you'll see this at the bottom:

Uncaught Error: Call to undefined function mysql_close() in C:\inetpub\thesportsdb\api\v1\json\1\search_all_leagues.php:56
Stack trace:
#0 {main}
thrown in <b>C:\inetpub\thesportsdb\api\v1\json\1\search_all_leagues.php</b> on line <b>56</b><br />


Cheers,

Nick.

transparent spacer
Posted: 25 Jan 2017 18:48

zag
Admin
Posts: 3,848
Joined: 2020

Thanks fixed ^^

Currently working on the daily soccer importers for all leagues. Hopefully that will be by tonight.

transparent spacer
Posted: 25 Jan 2017 20:01

zag
Admin
Posts: 3,848
Joined: 2020

I think that's all the artwork uploads fixed now.

Let me now if you notice any errors.


Hi Zag! Just added the badge for Frankfurt Skyliners, but it's not showed on the "Latest Team Edits" section in the front page

transparent spacer
Posted: 25 Jan 2017 20:20

zag
Admin
Posts: 3,848
Joined: 2020



Hi Zag! Just added the badge for Frankfurt Skyliners, but it's not showed on the "Latest Team Edits" section in the front page


...and same issue on "Latest Player Edits" with Chris Pressley

transparent spacer
Posted: 25 Jan 2017 21:52

zag
Admin
Posts: 3,848
Joined: 2020

...and same issue on "Latest Player Edits" with Chris Pressley

Thanks its fixed now, but only showing 1 player.

It might take a few edits to show up nicely.

transparent spacer
Posted: 26 Jan 2017 11:29

zag
Admin
Posts: 3,848
Joined: 2020

Soccer results for all leagues should now be fixed.

Even all the lower leagues should be working.

This will take at least 24hrs to sync fully

transparent spacer
Posted: 26 Jan 2017 13:05

zag
Admin
Posts: 3,848
Joined: 2020

Hi Zag,

Great work on the new site! I have noticed that the league tables are not currently working.

Just thought I'd notify you.

Cheers,

Rob

transparent spacer
Posted: 26 Jan 2017 15:19

zag
Admin
Posts: 3,848
Joined: 2020

Thanks, added to the list

EDIT: Fixed!

https://www.thesportsdb.com/table.php?l=4328&s=1617

transparent spacer
Posted: 26 Jan 2017 19:30

zag
Admin
Posts: 3,848
Joined: 2020

While trying to add fanart at player level, it comes the next error:


404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

transparent spacer
Posted: 26 Jan 2017 20:50

zag
Admin
Posts: 3,848
Joined: 2020

When trying to print the league tables using the python module using the following code

table = api.Lookups().Table(leagueid=4329,objects=True)

I get the following error

Traceback (most recent call last):
File "CUsers/User/Documents/Uni/Year 3/Project/Addon/addon.py", line 29, in <module>
table = api.Lookups().Table(leagueid=4329,objects=True)
File "C:\Users\User\Documents\Uni\Year 3\Project\script.module.thesportsdb-master\lib\thesportsdb\thesportsdb.py", line 106, in Table
data = json.load(urllib2.urlopen(url))
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\__init__.py", line 291, in load
**kw)
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\User\AppData\Local\Programs\Python\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded"
ValueError: No JSON object could be decoded

Cheers,
Rob.

transparent spacer
Posted: 26 Jan 2017 21:15

zag
Admin
Posts: 3,848
Joined: 2020

Thanks keep any errors coming...

Adding events should work again.

transparent spacer
Posted: 27 Jan 2017 13:57

zag
Admin
Posts: 3,848
Joined: 2020

Hall of fame, fanart and add player is back!

Hopefully this is a much better page now:

https://www.thesportsdb.com/hall_of_fame.php

transparent spacer
Posted: 27 Jan 2017 15:29

zag
Admin
Posts: 3,848
Joined: 2020

Hall of fame, fanart and add player is back!

Hopefully this is a much better page now:

https://www.thesportsdb.com/hall_of_fame.php


Nice work! It looks awesome!

transparent spacer
Posted: 27 Jan 2017 16:11

zag
Admin
Posts: 3,848
Joined: 2020

And your feature request of former teams is done also

See Zlatan for an example

https://www.thesportsdb.com/player/34152577

NOTE: The years joined and departed are optional but nice so it shows in order.

transparent spacer
Posted: 27 Jan 2017 16:21

zag
Admin
Posts: 3,848
Joined: 2020

When trying to print the league tables using the python module using the following code

table = api.Lookups().Table(leagueid=4329,objects=True)


Any idea what API method that is using?

I can't see any errors in the log yet.

transparent spacer
Posted: 27 Jan 2017 16:31

zag
Admin
Posts: 3,848
Joined: 2020

And your feature request of former teams is done also

See Zlatan for an example

https://www.thesportsdb.com/player/34152577

NOTE: The years joined and departed are optional but nice so it shows in order.


Wow!!! Thank you!!!

transparent spacer
Posted: 27 Jan 2017 16:44

zag
Admin
Posts: 3,848
Joined: 2020

BTW, what do you think about changing the team name by year. Just tested on Fernando Alonso and due to the team long name, badges are not displayed aligned.

transparent spacer
Posted: 27 Jan 2017 17:23

zag
Admin
Posts: 3,848
Joined: 2020

Good idea! done.

transparent spacer
Posted: 28 Jan 2017 10:13

zag
Admin
Posts: 3,848
Joined: 2020

While adding former teams, if team logo is missing, at player level, if you add it after, nothing is displayed even adding the missing badge to the team.

See an example at Marcus Slaughter. The missing logo is related to German BBL / Bremerhaven



transparent spacer
Posted: 28 Jan 2017 11:43

zag
Admin
Posts: 3,848
Joined: 2020

Ok should be fixed ^^

Also added a "On TV" feature. Just go to the events page and click "Add TV" then select the channel from the list.

Hopefully it should show the icon then on the events page.

If we get a load filled out, maybe we can create an App to show all matches on TV Something I always wanted...



transparent spacer
Posted: 28 Jan 2017 11:55

zag
Admin
Posts: 3,848
Joined: 2020

Nice idea!!!! Let's test it!!!

transparent spacer
Posted: 28 Jan 2017 12:37

zag
Admin
Posts: 3,848
Joined: 2020

Spanish channels are not updated

Here are the current channels:

BeIn Sports LaLiga
Movistar Partidazo
Movistar FĂștbol

PS: I think it would be great to be able to also choose the country because, for example, here in Spain, Premier League games are broadcasted through Movistar FĂștbol, but I guess that it's not the same channel in England

transparent spacer
Showing 0 to 25 (Total: 482)