|
Post by eleclerc on May 17, 2020 22:36:31 GMT
Here my example tell you in the index.php for the career stats: Career Stats: backup/saison#/
My archive folder is "backup/" with "saison" directories inside.
For your case: TablePage : root/CPHL/TableSim/ CarrerStats: root/CPHL/archive/Season #/
So you need to enter:" ../" to fall of one directory. "archive/" to enter in archive directory "Season #" to tell the directories with different seasons.
It's basicly just what you need : "../archive/Season #"
The "#" replace the number of the season. This way, the code detect the season by itself. Don't put the actual season in this... It will show you two times the actual season.
|
|
|
Post by Slanger on May 17, 2020 22:42:58 GMT
Here my example tell you in the index.php for the career stats: Career Stats: backup/saison#/ My archive folder is "backup/" with "saison" directories inside. For your case: TablePage : root/CPHL/TableSim/ CarrerStats: root/CPHL/archive/Season #/ So you need to enter:" ../" to fall of one directory. "archive/" to enter in archive directory "Season #" to tell the directories with different seasons. It's basicly just what you need : "../archive/Season #" The "#" replace the number of the season. This way, the code detect the season by itself. Don't put the actual season in this... It will show you two times the actual season. OK thanks so much I think I have it now...
One thing that does not seem to be working is the player picture displays - I have tried both the HDB and EliteProspects
|
|
|
Post by eleclerc on May 17, 2020 23:34:47 GMT
# FUTURES PAGE // Choose between hockeyDB : 1 or EliteProspect : 2 $leagueFuturesLink = 2;
HDB & EliteProspect are for the future page.
For player image, just active players are there. I take them from TSN.ca. The only place I can get them... I think your server doesn't give PHP permission to do it...
I will wrote something for you...
|
|
|
Post by Slanger on May 18, 2020 0:17:03 GMT
# FUTURES PAGE // Choose between hockeyDB : 1 or EliteProspect : 2 $leagueFuturesLink = 2; HDB & EliteProspect are for the future page. For player image, just active players are there. I take them from TSN.ca. The only place I can get them... I think your server doesn't give PHP permission to do it... I will wrote something for you... Thank you, I apologise for the neophyte problems, I have learned an incredible amount in a very short time. This add-on is fantastic, our league is going eat it up.
|
|
|
Post by eleclerc on May 18, 2020 0:49:25 GMT
I updated the files index.php, CareerStatsPlayer.php & MiniTop5. Just overwrite those files with the new v.101 on the first post.
The update add support for player images when allow_url_fopen is set to 0 by your web server. The new way use the library cURL.
|
|
|
Post by Slanger on May 18, 2020 1:03:40 GMT
I updated the files index.php, CareerStatsPlayer.php & MiniTop5. Just overwrite those files with the new v.101 on the first post. The update add support for player images when allow_url_fopen is set to 0 by your web server. The new way use the library cURL. It's working!
Merci beaucoup monsieur!
|
|
|
Post by trefilov22 on May 18, 2020 19:34:31 GMT
I have spaces on mine and have no issues....
|
|
|
Post by Slanger on May 18, 2020 19:56:07 GMT
I have spaces on mine and have no issues.... Yeah it seems to be working fine for me too.
But for some reason now the MiniTop 5 isn't working...
|
|
|
Post by eleclerc on May 18, 2020 20:46:46 GMT
MiniTop5 doesn't work because you don't have stats in Individual.html page...
|
|
|
Post by fchladmin on Sept 9, 2020 16:27:41 GMT
Not sure if its possible or how hard it would be to implement
would it be possible to add a section on the team card for Junior team info?
Like maybe something that you can click on to redirect you to the Junior team for a particular team?
this could even be something that could be turned off and on for leagues that dont have a junior league.
|
|
|
Post by fchladmin on Sept 12, 2020 17:10:09 GMT
Not sure if its possible or how hard it would be to implement would it be possible to add a section on the team card for Junior team info? Like maybe something that you can click on to redirect you to the Junior team for a particular team? this could even be something that could be turned off and on for leagues that dont have a junior league. Bump
|
|
|
Post by eleclerc on Sept 12, 2020 17:45:35 GMT
If you want something league specific, you can always add yourself a code to do it, a lot of league already done it. There is already the junior team name on the page, just add a link, it should not be difficult.
|
|
|
Post by fchladmin on Sept 12, 2020 19:59:32 GMT
If you want something league specific, you can always add yourself a code to do it, a lot of league already done it. There is already the junior team name on the page, just add a link, it should not be difficult. im not sure how to code or where i would even start. Thanks though
|
|
|
Post by fchladmin on Sept 29, 2020 14:13:11 GMT
not sure this has been asked for in the past but you know how you have the 10 Best seasons for a player on the card? Any way of getting top 10 seasons for a goalie or even top 5?
Thanks for everything you do!
|
|
|
Post by fchladmin on Oct 4, 2020 13:23:09 GMT
not sure this has been asked for in the past but you know how you have the 10 Best seasons for a player on the card? Any way of getting top 10 seasons for a goalie or even top 5? Thanks for everything you do! bump just in case you missed this
|
|