djbeckster
Member
Posted 4 months ago #
I'm using PHPLeague for a soccerclub in the Netherlands.
When i change a few settings for the league, Team(s) for Promotion etc, from 4 to 1 and i choose save all settings stay exact the same..
so i was looking for the League table in phpleague.php change the settings but noting happens.
How can i change these settings?
mikaweb
Member
Posted 3 months ago #
An error occurred with the script. I'm gonna look into it.
mikaweb
Member
Posted 3 months ago #
According to what I've seen so far, it's because the database structure hasn't been modified during the update.
Try to change this in your phpleague.php (root)
define('WP_PHPLEAGUE_DB_VERSION', '1.3.0');
to
define('WP_PHPLEAGUE_DB_VERSION', '1.3.1');
It might (should) work!
Keep me posted,
M.
Hello again mikaweb! I've just update my PHPLeague too, and I still can't save my Settings. I went to the file you specified and noticed that the version was already 1.3.1. What else could it be? If I uninstall the plugin and install again, should do the trick? Thanks again!!
mikaweb
Member
Posted 3 months ago #
Copy the structure of your database without the data and send it to me. I had a similar issue yesterday when I install the plugin for the first time and I saw that some tables where not right.
Regards,
M.
ntesat
Member
Posted 2 months ago #
You promise to add prediction module to your new update but after I update to 1.4.5, I still could not use it.
mikaweb
Member
Posted 2 months ago #
It won't come "directly" integrated with PHPLeague, maybe as a sub-module.
Don't expect this coming-in very soon.
I will focus only on making the plugin stable, developing widgets and improving the way the data are displayed.
@ gbvaz: I can tell that your db structure is still not updated. With this file it should work. It's going to be released with the 1.4.6
https://github.com/Mikaweb/PHPLeague-for-WP/blob/dev/phpleague.php
Alright mikaweb! Works perfectly now! Thanks for your support. =D Let me know if you need anything. Cheers!
mikaweb, hi first congrtz for your work with the plugin but i have a problem i try to make the information of the clubs and that just doesn´t stay there, so i try to look the code you suggest and it´s the same of yours... can you help me ? what should i do to fix that?
greatz and keep the good work... :P
well mikaweb now i already get the clubs working ( just copy your code and paste on my site) but i have a question where i have to put the logos of teams to can select them on the configuration?
mikaweb
Member
Posted 2 months ago #
Update should be rolled tomorrow:
https://github.com/Mikaweb/PHPLeague-for-WP
@jpina: You need to add your logos in the corresponding folders located here 'wp-content/uploads/phpleague/*'
DinoCSP
Member
Posted 2 months ago #
Hi,
First of all, changing the phpleague.php from github made the trick for updating the settings, but, now I've inputted last 16 playweeks with results and dates, but in the widget on the front page it shows zeros... to be clear this is what I did:
- created league
- created teams
- imported teams -> league
- created fixtures date
- filled results of fixtures played
- dragged and dropped widget into sidebar
- opened my frontend and voila nothing happend, teams are there but with zero played matches and zero pts...
Any clue?
jeznorth
Member
Posted 1 month ago #
I had this issue too. My own fix was to edit the values directly in the database table wp_phpleague_league.
Good that this issue will be properly resolved soon though.