|
Post by eleclerc on Jan 13, 2024 0:44:49 GMT
regressor18head.php Line 120: <body class="fhlElement"> assets\css\style-1.css Line 52: body.fhlElement { Line 60: background: var(--background-primary); Line 16: --background-primary:var(--color-alternate-3); Line 8: --color-alternate-3: rgb(247, 251, 255); So you need to change --color-alternate-3 in the file assets\css\style-1.css in order to change background-color. Try it...
|
|
|
Post by regressor18 on Jan 13, 2024 1:44:49 GMT
That's it! Thank you
|
|
|
Post by regressor18 on Jan 15, 2024 16:12:11 GMT
On the index.php page, i am getting this error under leaders:
Deprecated: Return type of ScoringHolder::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/vol4_7/infinityfree.com/if0_35739390/htdocs/table2/classes/ScoringHolder.php on line 416
|
|
|
Post by eleclerc on Jan 15, 2024 22:11:39 GMT
I did a patch for this php class file two months ago... I didn't see it now. Maybe you find the fix.
|
|
|
Post by yodacheeks on Feb 14, 2024 2:26:22 GMT
On the index.php page, i am getting this error under leaders:
Deprecated: Return type of ScoringHolder::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/vol4_7/infinityfree.com/if0_35739390/htdocs/table2/classes/ScoringHolder.php on line 416
updated to latest. same error, any fix? www.shl.simhockeyfans.com/SHLv2/
|
|
|
Post by eleclerc on Feb 14, 2024 11:46:32 GMT
|
|
|
Post by yodacheeks on Feb 14, 2024 13:56:13 GMT
|
|
|
Post by yodacheeks on Feb 14, 2024 16:17:04 GMT
|
|
|
Post by eleclerc on Feb 14, 2024 22:25:22 GMT
Sorry guys! I did a patch on my version but not in the online one (zip). I will update this tonight.
I have this code public function jsonSerialize(): mixed { return get_object_vars($this); }
You have this code public function jsonSerialize() { return get_object_vars($this); }
|
|
|
Post by eleclerc on Feb 14, 2024 23:26:15 GMT
zip file updated.
"classes/ScoringHolder.php" was missing : mixed... 18 other places are already corrected. Just missing to update the file on GitHub.
|
|
|
Post by yodacheeks on Feb 15, 2024 18:50:08 GMT
zip file updated. "classes/ScoringHolder.php" was missing : mixed... 18 other places are already corrected. Just missing to update the file on GitHub. awesome fixed ty
|
|
|
Post by eleclerc on Mar 4, 2024 0:44:19 GMT
I did an update to the file in order to make it work with the lastest PHP and the page TeamFinance.php and TeamOverview.php with ticket price with 0.00 as value.
|
|
|
Post by regressor18 on Mar 15, 2024 12:33:04 GMT
Hey Eric,
I'm creating a league with fictional players and plan to use fictional player head shots.
Is there a way to add a custom path for Player images? I was just going to put a folder on the root path of my hosting named photos and add the images there.
Any advice on how to accomplish this?
Matt
|
|
|
Post by eleclerc on Mar 15, 2024 21:01:24 GMT
In "fileUtils.php", you can edit the path of the player image at line 39 to 53.
At the line 47 Before $imgUrl = 'https://assets1.sportsnet.ca/wp-content/uploads/players/nhl/'.$csNametmpFirst.'/'.$csNametmp.'.png'; After $imgUrl = BASE_URL.'players/'.$csNametmp.'.png';
$csNametmp = the player name in lower case with - as space. Example: Sidney Crosby = sidney-crosby.png In my example, you need to create a subfolder in your table page v2 with the name "players".
|
|
|
Post by regressor18 on Mar 16, 2024 13:39:40 GMT
Awesome, as always, thank you for your guidance and your dedication to this project!
Matt
|
|