Football League predictor V1.7

The Football Match league predictor plugin has been updated to V1.7

Before upgrading please take a copy of any changes you have made to stylesheets or language files as these may be overwritten by the upgrade process.

The changes include:

  • Added popup dialog to choose schedule and match times.
  • Performance improvements in admin screens for large numbers of predictions.
  • Added shortcode option to display ranking for all leagues via season_id = -1
  • Added weeks option to limit match ranking shortcode to a list of comma separated weeks, or 0 for latest week
  • Added weeks option to limit match predictions shortcode to a list of comma separated weeks, or 0 for latest week
  • Added unfinished option to match predictions shortcode to display predictions for unfinished matches
  • Bug fix to select correct week filter after creating a new season.
  • Added shortcode option to display aggregate and frequency statistics for match predictions
  • Added new scoring option to allow user to choose a bonus game for extra points

If you have brought the plugin, then WordPress will automatically prompt you to update to the latest version. For more information on the new features please see the plugin’s Help menu.

Note: In some cases after using the automatic upgrade you may need to Deactivate and Reactivate the plugin to update the database structure.

Any problems, let me know.

Posted in Uncategorized | Leave a comment

Football League predictor V1.6

The Football Match league predictor plugin has been updated to V1.6

Before upgrading please take a copy of any changes you have made to stylesheets or language files as these will be overwritten by the upgrade process.

The changes include:

  • Prediction deadlines can be set on a Schedule or based on the Match Start time
  • Shortcode option to turn off pagination for particular reports.
  • Option to hide the total number of predictors when displaying stats
  • Handle badge URLs better
  • Manage cases where a user has been deleted from WordPress
  • Added PHP function user_points to get the current users’ points. See function docs in fantasy-football.php for details.
  • Fix bug with clockdown clock selecting match times from deleted schedules
  • Fix bug where match results where not displayed if there was not a WordPress admin user
  • Bug fix for WordPress Multi-site
  • Fix warning displayed for statistics when there are no predictions

If you have brought the plugin, then WordPress will automatically prompt you to update to the latest version.

Any problems, let me know.

Posted in Uncategorized | Comments Off

V1.5 released

The Football Match league predictor plugin has been updated to V1.5

The changes include:

  • Added PHP function user_ranking to get the current users’ ranking. See function docs in fantasy-football.php for details.
  • New shortcode to display prediction statistics
  • Widget option to display prediction statistics
  • Updates for WordPress 3.1 changes. Fixes broken tabs in the Admin menu.

If you have brought the plugin, then WordPress will automatically prompt you to update to the latest version.

Any problems, let me know.

Posted in Uncategorized | Comments Off

Football league predictor V1.4

Hi,

I have just updated the Football League prediction to include a new shortcode to display the currently logged-in users’ predictions.

[fantasy-football user_predictions=n]

where n is the season ID.

Users can now go back and review previous and future predictions for each match.

Ian.

Posted in Uncategorized | 4 Comments

Football League prediction plugin for WordPress

Based on the success of the World Cup Predictor plugin for WordPress, I am pleased to announce the Football League Predictor plugin.

This new plugin, allows registered blog users to predict the score of football league games and gain points based on their predictions.

Main features:

  • Can handle multiple leagues and seasons – Premier League, Serie A etc.
  • Configurable scoring system per league and season
  • Countdown timer to the next prediction deadline
  • Widgets to display user rankings, match results and league tables
  • Shortcodes, with multiple options, to display and configure the prediction form, match results, league tables and user rankings
  • Stay up-to-date with the standard WordPress plugin update system

For more details see the Plugin Documentation and Administration screenshots. Any questions either ask in the Forums or Contact me.

Below is a example of the prediction form for the English Premier league.

Clock
Saturday 14th August 2010Bonus
Tottenham Hotspur Manchester City
Aston Villa West Ham United
Blackburn Rovers Everton
Bolton Wanderers Fulham
Sunderland Birmingham City
Wigan Athletic Blackpool
Wolverhampton Wanderers Stoke City
Chelsea West Bromwich Albion

Sunday 15th August 2010Bonus
Liverpool Arsenal

Monday 16th August 2010Bonus
Manchester United Newcastle United

Posted in Uncategorized | Comments Off

Congratulations Spain

Well, that’s it for another 4 years.

I hope you all enjoyed the World Cup, even if your team didn’t win, and this plugin added a little extra dimension to the competition.

If you would like a modified version of this plugin to run a similar prediction competition for a National football league, European Championships, or maybe even the Rugby World Cup, contact me about any changes.

See you in four years :-)

Posted in Uncategorized | 1 Comment

V1.3 bug fix release.

Hi,

There is a bug in V1.2 that prevents the entry of a penalty score when the goal score is 0-0.

This new release fixes the bug by improving the validation. The update should be available via the WordPress automatic plugin mechanism shortly, or download it manually.

If you have made your own edits/changes to the code in V1.2 then either upgrade to V1.3 and re-apply your changes or apply the following changes to the validation routine.

File wcp-predict.class.php, line 262:

Change,

(empty($m['home']) || empty($m['away']))

to,

(!$this->isint($m['home']) || !$this->isint($m['away']))

Ian.

Posted in Uncategorized | 19 Comments

Knockout stages

Hi,

Now we know some of the teams for the knockout stages of the competition don’t forget to edit the match schedules to update the teams for the next stage.

For example, the Group A winner is Uruguay, so modify match number 49, ID 50, and change ‘Winner Group A’ to Uruguay. The Knockout Results tab will now show Uruguay as the first match in the last 16.

As more results come in, rinse, lather and repeat.

Whilst your there, check that you have the correct kickoff time for the following match.

57 56 Cape Town Last 16 Jun 29 20:30 Winner Group H 0 0 Second Group G

In some cases it is set as 16:00, not 20:30 SAST.

Enjoying this plugin ?

Blog about it, tell your readers you like it, and don’t forget to link to its homepage :-)

Give it a good rating on wordpress.org or send me a small donation through PayPal. If you don’t have an account, you can donate with your credit card or bank account through PayPal.

Posted in Uncategorized | 6 Comments

Incorrect match kickoff time

Hi,

It’s been pointed out to me that the Group C match 22 – Slovenia vs USA has the incorrect time in the match schedules.

According to http://www.fifa.com/worldcup/matches/index.html kickoff is 16:00 SAST.

Please modify your match data to prevent predictions after kickoff. Apologies for the slip-up.

Thanks to Mike George.

Ian.

Posted in Uncategorized | 2 Comments

Points not calculated

I have had quite a few e-mails and comments saying that users points are not being assigned.

To award points to users you must modify the match and enter the score and check the box ‘Match Finished’

Points are not automatically assigned after entering match results, you need to perform the extra step below by going to:

  • Admin->World Cup->Predictions, on the tab ‘Score Matches’ select each result and click ‘Score Selected’

Once the points have been awarded for a finished match a green tick will be displayed against the match result.

In all cases so far, this extra step has fixed the problem.

Posted in Uncategorized | 12 Comments