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

[FEATURES] Site progress and new features


Posted: 23 Jan 2017 16:00

zag
Posts: 1,558
Joined: Oct 2016

Just a personal Todo list for the new site:

- Setup Scheduled NHL imports

Posted: 24 Jan 2017 22:33

zag
Posts: 1,558
Joined: Oct 2016

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

Please test for any errors.

Posted: 25 Jan 2017 11:17

zag
Posts: 1,558
Joined: Oct 2016

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

Let me now if you notice any errors.

Posted: 25 Jan 2017 15:29

nickroberts
Posts: 1
Joined: Jan 2017

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.

Posted: 25 Jan 2017 18:48

zag
Posts: 1,558
Joined: Oct 2016

Thanks fixed ^^

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

Posted: 25 Jan 2017 20:01

ovokx
Posts: 830
Joined: Jan 2017

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

Posted: 25 Jan 2017 20:20

ovokx
Posts: 830
Joined: Jan 2017



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

Posted: 25 Jan 2017 21:52

zag
Posts: 1,558
Joined: Oct 2016

...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.

Posted: 26 Jan 2017 11:29

zag
Posts: 1,558
Joined: Oct 2016

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

Posted: 26 Jan 2017 13:05

robsteeleavfc
Posts: 5
Joined: Jan 2017

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

Posted: 26 Jan 2017 15:19

zag
Posts: 1,558
Joined: Oct 2016

Thanks, added to the list

EDIT: Fixed!

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

Posted: 26 Jan 2017 19:30

ovokx
Posts: 830
Joined: Jan 2017

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.

Posted: 26 Jan 2017 20:50

robsteeleavfc
Posts: 5
Joined: Jan 2017

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.

Posted: 26 Jan 2017 21:15

zag
Posts: 1,558
Joined: Oct 2016

Thanks keep any errors coming...

Adding events should work again.

Posted: 27 Jan 2017 13:57

zag
Posts: 1,558
Joined: Oct 2016

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

Posted: 27 Jan 2017 15:29

ovokx
Posts: 830
Joined: Jan 2017

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!

Posted: 27 Jan 2017 16:11

zag
Posts: 1,558
Joined: Oct 2016

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.

Posted: 27 Jan 2017 16:21

zag
Posts: 1,558
Joined: Oct 2016

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.

Posted: 27 Jan 2017 16:31

ovokx
Posts: 830
Joined: Jan 2017

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!!!

Posted: 27 Jan 2017 16:44

ovokx
Posts: 830
Joined: Jan 2017

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.

Posted: 27 Jan 2017 17:23

zag
Posts: 1,558
Joined: Oct 2016

Good idea! done.

Posted: 28 Jan 2017 10:13

ovokx
Posts: 830
Joined: Jan 2017

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



Posted: 28 Jan 2017 11:43

zag
Posts: 1,558
Joined: Oct 2016

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...



Posted: 28 Jan 2017 11:55

ovokx
Posts: 830
Joined: Jan 2017

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

Posted: 28 Jan 2017 12:37

ovokx
Posts: 830
Joined: Jan 2017

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


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 25 (Total: 452)