Linux 软件免费装
Banner图

Football Pool

开发者 AntoineH
更新时间 2024年9月5日 02:16
捐献地址: 去捐款
WordPress版本: 6.6
版权: GPLv3 or later
版权网址: 版权信息

标签

game sports football prediction pool

下载

2.11.1 2.8.0 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.12.0 2.12.2 2.9.5 2.9.6 2.10.0 2.10.1 2.10.2 2.7.2 2.7.0 2.7.1 2.11.5 2.11.9 2.8.1 2.11.2 2.12.1 2.4.4 2.11.6 2.9.7 2.11.0 2.11.3 2.11.7 2.11.10 2.11.4 2.11.8 2.10.3

详情介绍:

This plugin adds a fantasy sports pool to your blog. Visitors of your website can predict outcomes of matches and earn extra points with bonus questions. Every player can view scores and charts of the other pool contenders. This plugin installs some custom tables in the database and ships with match information for the FIFA 2022 World Cup, but it can be easily populated with the match info for other championships or sports. Please note that deactivating this plugin may also delete all the plugin's data from the database, so please make sure the 'keep data on uninstall' option on the settings page is enabled if you don't want to lose your data (it is enabled by default since version 2.3.1). I originally coded this pool in PHP as a standalone website for the UEFA 2000 championship and rewrote the damn thing several times for every European Championship and World Cup since. Every year I added new features. In 2012 I decided to rewrite it as a WordPress plugin and uploaded it to the plugin directory. I hope you like it. A special thank you to all the users of the plugin that donated some money! And also to the translators that found time to translate the many labels in this plugin. And thanks to all the users that reported bugs and helped improving the plugin. Features Documentation The plugin has a help file in the admin that contains a lot of information. But if you like a step by step tutorial, I can recommend the following: Janek from WP Simple Hacks website made a very nice guide about my plugin. It even has a video where he explains how to set up the plugin. Other things If you find bugs, please contact me via the support forum. If you like the plugin, please rate it on the plugin page on WordPress.org.

安装:

To use your own custom translation see the FAQ for more information on translating the plugin.
  1. Upload 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.
  2. Activate the plugin through the Plugins panel in WordPress.
  3. Edit the plugin configuration via the admin menu.
  4. Optional: add the pages for the pool to your menu, or use some other method to link to the pages.
  5. Optional: add the "Football pool" widgets to your sidebar.
  6. Optional: add bonus questions.
  7. Optional: 'upgrade' existing users in your blog to pool players.
  8. If you want to use the charts feature please download the Highcharts API and put the 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.
After the pool has been set up, all you have to do is monitor the users that subscribe and fill in the right scores for the matches and the right answers for the bonus questions.

屏幕截图:

  • Score charts of multiple players
  • Match predictions and scores per user
  • Group rankings
  • User ranking
  • Football Pool is packed with several widgets
  • Admin Screen: plugin options
  • Admin Screen: change match outcomes
  • Admin Screen: add a shortcode via the classic editor

升级注意事项:

2.12.0 Please back up your database before updating!! 2.11.0 Minimum PHP requirement has changed to 7.4.0. 2.10.0 After upgrading to version 2.10.0 a ranking calculation is needed (e.g. from the options page). Please back up your database before updating!!

常见问题:

Wow, there are a lot of options. Do I need to change them?

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 ranking calculation shows an estimated time left of several hours. Why?

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.

Do you have a theme that I can use with the plugin?

No. I'm not a designer, so I don't have the skills to make one.

I installed the plugin, but there are no matches. What happened?

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.

Do I need the "Predictions" page?

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.

I want to use the plugin for a national competition. Is that possible?

Yes. There are two ways to do this:

  1. Upload a game schedule in the admin. Make sure you understand the required format; you can find an example in the plugin's /data/schedules folder.
  2. Use the admin screens to add all the teams, groups, match types, matches, etc. And, of course, choose a theme or make one yourself that fits your competition or blog.

The charts are gone! What happened?

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.

I don't see my blog users as players of the pool.

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.

Is there a translation available?

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.

I installed the plugin, but it does not look like your screenshots.

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.

更新日志:

2.12.2 2.12.1 2.12.0 2.11.10 2.11.9 2.11.8 2.11.7 2.11.6 2.11.5 2.11.4 2.11.3 2.11.2 2.11.1 2.11.0 2.10.3 2.10.2 2.10.1 2.10.0 2.9.7 2.9.6 2.9.5 2.9.4 2.9.3 2.9.2 2.9.1 2.9.0 earlier versions