football-pool.zip
via the plugin panel, or unzip and upload the football-pool
folder to your /wp-content/plugins/
directory.highcharts.js
file in /wp-content/plugins/highcharts-js/highcharts.js
. Use the classic JS file with styling. If using the theme-less version, include the Highcharts CSS in your theme.You can, but it's not required. The plugin works just fine with the default settings. Feel free to explore and tweak the options before kicking off your pool.
The time estimate is based on how long a single calculation step takes, multiplied by the total number of remaining steps. If the early steps are slower (especially if step sizes are set large in wp-config.php
), the initial estimate might seem way too long.
Or… you might just have a huge database with tons of users, matches, and rankings. In that case, the estimate could be accurate. For reference: with 2,000 users, 50 matches, a few bonus questions, and 3 custom rankings, a full calculation took around 45 minutes on my laptop (using default step sizes). Running the same job via WP-CLI took under 10 minutes.
Nope. I'm a developer, not a designer — so I haven’t created a theme.
Since version 2.0.0, matches aren't added automatically. But there's a sample schedule (CSV file) bundled with the plugin. Just go to the Matches admin page and use the "Import matches" option to load it.
Technically, yes. The plugin uses this page to display user predictions. So don’t delete it. However, if you don’t want it in your site’s menu, simply remove it via Appearance » Menus. Some themes automatically add all top-level pages to the menu. Check your theme’s documentation to see how to exclude pages or build a custom menu.
Absolutely. You’ve got two options:
/data/schedules
in the plugin folder.Due to WordPress plugin license rules, the required charting library had to be removed. If you want charts back, check the Help page in the admin for how to manually install the required library. Also, make sure you haven’t enabled the “simple calculation method” in the plugin settings. That mode skips historical data — it’s faster, but charts won’t work.
Go to WordPress Admin » Football Pool » Users and check if those users are assigned to a league (if you’re using leagues). New users are added automatically, but existing ones must be added manually. To make someone a player: assign them to a league and save. If you delete a league, you’ll need to reassign those users. Not using leagues? Just make sure users haven’t been removed from the pool via the Users screen.
Yes! Check this page for available language packs. To create your own translation:
wp-content/uploads/football-pool/languages
and use this extension plugin to load them.
The default content for the rules page is stored in rules-page-content-*locale*.txt
(e.g., rules-page-content-nl_NL.txt
) — this isn't managed by the Polyglot system. If you translate it and send it to me, I’ll add it to the plugin (with credit, of course).
That’s expected. The plugin includes basic layout styles, but it won’t change your site’s entire look. You’ll need to customize the styles yourself to make everything fit your design. Use your theme’s CSS or a custom CSS plugin to override styles. Don’t edit the plugin’s CSS files directly — your changes will be lost when you update the plugin.
today
CSS class to the matches view.no-prediction
for matches with no prediction, today
for matches that are on the current day.FOOTBALLPOOL_FRONTEND_AJAX
constant in the wp-config if you do not like the new asynchronous method.FOOTBALLPOOL_CSV_DATE_FORMAT
in your wp-config file. The constant uses the date format convention of PHP's DateTime object and applies to both import and export files.FOOTBALLPOOL_TOP_PLAYERS
that you can set in the wp-config if you want to show a different number of players in the default statistics page (default is 5).