football-pool.zip
in the plugin panel (Plugins » Add New » Upload Plugin) or unzip the file and upload the folder football-pool
to the /wp-content/plugins/
directory on your server.Plugins
panel in WordPress.highcharts.js
file in the following path: /wp-content/plugins/highcharts-js/highcharts.js
. Make sure you use the classic js file including the styling. If you use the theme-less version, then you'll also need to include the highcharts.css code in your theme.You can, but it's not necessary. With default settings the plugin should be fine. You can play around with the options before you start the pool.
The calculation of the total amount of time left is based on the time a single step took to complete and this is multiplied by the total number of steps remaining for the calculation. If the step sizes (which can be set in the wp-config.php) of the first calculations are much larger than the calculation steps that follow, then at first the total time calculation may be too high. Or maybe you just have a huge database of users, rankings and matches. If that is the case, then the calculation could be right and the total time for the calculation just takes ages to complete. As a reference, I tested with 2000 users, 50 matches, a couple of bonus questions and 3 custom rankings on my laptop and that calculation took approx. 45 minutes to complete with default step sizes. And when doing that same calculation on the command line using WP CLI, it took less than 10 minutes to complete.
No. I'm not a designer, so I don't have the skills to make one.
Since version 2.0.0 the plugin does not add matches on first install. But it does contain an example match schedule as an exported csv file. Go to the Matches admin page and do an import of a schedule file ("Import matches") if you want to use this example file.
Yes and no. The plugin needs this page to display predictions of users. So don't delete it. But you can remove it from your menu (WordPress Admin » Appearance » Menus). Some themes or WordPress configurations automatically put all top level pages in the navigation. See information from the theme maker on how to make a custom menu or how to exclude pages from the menu.
Yes. There are two ways to do this:
I had to remove the required library because of WordPress plugin license policies. If you want to enable the charts then see the Help page in the WordPress admin for details on how to install the required library. Also, please double-check that you didn't enable the 'simple calculation method' in the plugin options. This calculation method does not calculate and store all historic data, which makes it faster, but with the downside of not being able to render charts.
Go to the WordPress Admin » Football Pool » Users screen and check if these users are added in a league (if you are using leagues). Newly registered users are automatically added, but users that already existed in your blog have to be updated in the admin screen. In order to make them a player in the pool add them to a league and save. If you delete a league, then the users in that league must be placed in another league. If you're not using leagues, then make sure the users are not removed from the pool via the Users screen.
See this page for the available language packs.
If you want to make your own translation, please visit the translate.wordpress.org site and view the possibilities for your language. You can also use an editor like Poedit (http://www.poedit.net/) to create the translations and upload the results to the aforementioned website. Make sure you reach out to a PTE for your language to get your translations approved. Or if there is none, then you can apply for the job yourself. Also see the first steps page for more information on the general translation process within the WordPress universe.
If you have a custom translation, you can put the translation files in the wp-content/uploads/football-pool/languages dir (create it, if it doesn't exist yet) and use this extension plugin to load it.
The default content for the rules page is in the rules-page-content-*locale*.txt
file (e.g. rules-page-content-nl_NL.txt
) and is not handled by the polyglot. If you've made your own translation and mail it to me, I'll add it to the plugin and give you the credits.
That's correct. The plugin has some basic styling to position or size elements, but it will not change your entire blog or automagically fit perfect in your website. You will have to adjust the styling yourself to make it look good in your site. Change your theme to overwrite/change the style of the plugin, or use a plugin to add extra custom stylesheets. Please do not change the CSS in the plugin folder; if you ever update the plugin, all your hard work will be gone.
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).