{"id":22968,"date":"2013-04-16T15:43:47","date_gmt":"2013-04-16T15:43:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/statsfc-score-predictor\/"},"modified":"2023-06-21T23:28:05","modified_gmt":"2023-06-21T23:28:05","slug":"statsfc-score-predictor","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/statsfc-score-predictor\/","author":11840986,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.1.0","stable_tag":"trunk","tested":"6.2.9","requires":"3.3","requires_php":"","requires_plugins":null,"header_name":"StatsFC Score Predictor","header_author":"Will Woodward","header_description":"","assets_banners_color":"","last_updated":"2023-06-21 23:28:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/statsfc.com\/score-predictor","header_author_uri":"https:\/\/willjw.co.uk","rating":5,"author_block_rating":0,"active_installs":20,"downloads":8492,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1202273,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1202273,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1238,47630,11222,1239,162],"plugin_category":[37,43],"plugin_contributors":[88839],"plugin_business_model":[],"class_list":["post-22968","plugin","type-plugin","status-publish","hentry","plugin_tags-football","plugin_tags-predictor","plugin_tags-score","plugin_tags-soccer","plugin_tags-widget","plugin_category-arts-and-entertainment","plugin_category-customization","plugin_contributors-willjw","plugin_committers-willjw"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/statsfc-score-predictor\/assets\/icon-128x128.png?rev=1202273","icon_2x":"https:\/\/ps.w.org\/statsfc-score-predictor\/assets\/icon-256x256.png?rev=1202273","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Add a score predictor for football matches to your WordPress website. To request a key sign up for your free trial at <a href=\"https:\/\/statsfc.com\">statsfc.com<\/a>.<\/p>\n\n<p>For a demo, check out <a href=\"https:\/\/wp.statsfc.com\/score-predictor\/\">wp.statsfc.com\/score-predictor<\/a>.<\/p>\n\n<h4>Translations<\/h4>\n\n<ul>\n<li>Bahasa Indonesia<\/li>\n<li>Dansk<\/li>\n<li>Deutsch<\/li>\n<li>Eesti<\/li>\n<li>Espa\u00f1ol<\/li>\n<li>Fran\u00e7ais<\/li>\n<li>Hrvatski Jezik<\/li>\n<li>Italiano<\/li>\n<li>Magyar<\/li>\n<li>Norsk bokm\u00e5l<\/li>\n<li>Sloven\u010dina<\/li>\n<li>Slovenski Jezik<\/li>\n<li>Suomi<\/li>\n<li>Svenska<\/li>\n<li>T\u00fcrk\u00e7e<\/li>\n<\/ul>\n\n<p>If you're interested in translating for us, please get in touch at <a href=\"mailto:&#104;&#101;&#x6c;l&#111;&#x40;&#x73;&#116;&#097;&#x74;s&#102;&#x63;&#x2e;&#099;&#111;&#x6d;\">hello@statsfc.com<\/a> or on Twitter <a href=\"https:\/\/twitter.com\/StatsFC\">@StatsFC<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>statsfc-score-predictor<\/code> folder and all files to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the widget through the 'Plugins' menu in WordPress<\/li>\n<li>Drag the widget to the relevant sidebar on the 'Widgets' page in WordPress<\/li>\n<li>Set the StatsFC key and any other options. If you don't have a key, sign up for free at <a href=\"https:\/\/statsfc.com\">statsfc.com<\/a><\/li>\n<\/ol>\n\n<p>You can also use the <code>[statsfc-score-predictor]<\/code> shortcode, with the following options:<\/p>\n\n<ul>\n<li><code>key<\/code> (required): Your StatsFC key<\/li>\n<li><code>team<\/code> (required): Team name, e.g., <code>Liverpool<\/code><\/li>\n<li><code>competition<\/code> (optional): Competition key, e.g., <code>EPL<\/code><\/li>\n<li><code>date<\/code> (optional): For a back-dated score predictor, e.g., <code>2013-12-31<\/code><\/li>\n<li><code>show_match_details<\/code> (optional): Show the match details (competition, date, time), <code>true<\/code> or <code>false<\/code><\/li>\n<li><code>restricted<\/code> (optional): Restrict the popular scores to those from your own site, <code>true<\/code> or <code>false<\/code><\/li>\n<li><code>max_display_predictions<\/code> (optional): The maximum number of predictions to display, e.g., <code>3<\/code><\/li>\n<li><code>timezone<\/code> (optional): The timezone to convert match times to, e.g., <code>Europe\/London<\/code> (<a href=\"https:\/\/php.net\/manual\/en\/timezones.php\">complete list<\/a>)<\/li>\n<li><code>default_css<\/code> (optional): Use the default widget styles, <code>true<\/code> or <code>false<\/code><\/li>\n<li><code>omit_errors<\/code> (optional): Omit error messages, <code>true<\/code> or <code>false<\/code><\/li>\n<\/ul>\n\n<!--section=changelog-->\n<h4>3.1.0<\/h4>\n\n<ul>\n<li>Feature: Added the <code>max_display_predictions<\/code> option<\/li>\n<\/ul>\n\n<h4>3.0.0<\/h4>\n\n<ul>\n<li>Refactor: Update plugin for new API<\/li>\n<\/ul>\n\n<h4>2.19.4<\/h4>\n\n<ul>\n<li>Hotfix: Minor JS bug<\/li>\n<\/ul>\n\n<h4>2.19.3<\/h4>\n\n<ul>\n<li>Hotfix: Possible issue loading language\/CSS files<\/li>\n<\/ul>\n\n<h4>2.19.2<\/h4>\n\n<ul>\n<li>Hotfix: Check options exist before using them<\/li>\n<\/ul>\n\n<h4>2.19.1<\/h4>\n\n<ul>\n<li>Hotfix: Check the before\/after widget\/title bits exist before using them<\/li>\n<\/ul>\n\n<h4>2.19.0<\/h4>\n\n<ul>\n<li>Feature: Translate dates if using non-English.<\/li>\n<\/ul>\n\n<h4>2.18.0<\/h4>\n\n<ul>\n<li>Feature: Added <code>show_match_details<\/code> parameter to be show the match details (competition, date, time)<\/li>\n<li>Feature: Added <code>timezone<\/code> parameter to convert match times to any timezone<\/li>\n<\/ul>\n\n<h4>2.17.0<\/h4>\n\n<ul>\n<li>Feature: Added <code>restricted<\/code> parameter, which allows the most popular scores to be restricted to your own site rather than a global average<\/li>\n<\/ul>\n\n<h4>2.16.2<\/h4>\n\n<ul>\n<li>Hotfix: Load relevant language file based on the default language for the site<\/li>\n<\/ul>\n\n<h4>2.16.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed missing team badges<\/li>\n<\/ul>\n\n<h4>2.16.0<\/h4>\n\n<ul>\n<li>Feature: Added multi-language support. If you're interested in translating for us, please get in touch at <a href=\"mailto:&#104;&#101;&#x6c;l&#111;&#x40;&#x73;&#116;&#097;&#x74;s&#102;&#x63;&#x2e;&#099;&#111;&#x6d;\">hello@statsfc.com<\/a><\/li>\n<\/ul>\n\n<h4>2.15.1<\/h4>\n\n<ul>\n<li>Hotfix: Added a responsive horizontal scroll if the widget is too wide for mobile<\/li>\n<\/ul>\n\n<h4>2.15.0<\/h4>\n\n<ul>\n<li>Feature: Added <code>competition<\/code> parameter to show a team's next fixture for a specific competition<\/li>\n<\/ul>\n\n<h4>2.14.2<\/h4>\n\n<ul>\n<li>Hotfix: Made score inputs wider to handle default padding, etc.<\/li>\n<\/ul>\n\n<h4>2.14.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed possible <code>Undefined index: omit_errors<\/code> error<\/li>\n<\/ul>\n\n<h4>2.14.0<\/h4>\n\n<ul>\n<li>Feature: Put CSS\/JS files back into the local repo<\/li>\n<li>Feature: Enqueue style\/script directly instead of registering first<\/li>\n<\/ul>\n\n<h4>2.13.0<\/h4>\n\n<ul>\n<li>Feature: Added <code>omit_errors<\/code> parameter<\/li>\n<li>Feature: Load CSS\/JS remotely<\/li>\n<\/ul>\n\n<h4>2.12.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed \"Invalid domain\" bug caused by referal domain<\/li>\n<\/ul>\n\n<h4>2.12.0<\/h4>\n\n<ul>\n<li>Feature: Converted to JS widget<\/li>\n<\/ul>\n\n<h4>2.11.0<\/h4>\n\n<ul>\n<li>Feature: Allow more discrete ads for ad-supported accounts<\/li>\n<\/ul>\n\n<h4>2.10.0<\/h4>\n\n<ul>\n<li>Feature: Enabled ad-support<\/li>\n<\/ul>\n\n<h4>2.9.0<\/h4>\n\n<ul>\n<li>Feature: Use built-in WordPress HTTP API functions<\/li>\n<\/ul>\n\n<h4>2.8.0<\/h4>\n\n<ul>\n<li>Feature: Added badge class for each team<\/li>\n<\/ul>\n\n<h4>2.7.0<\/h4>\n\n<ul>\n<li>Feature: Default <code>default_css<\/code> parameter to <code>true<\/code><\/li>\n<\/ul>\n\n<h4>2.6.0<\/h4>\n\n<ul>\n<li>Feature: Updated team badges.<\/li>\n<\/ul>\n\n<h4>2.5.0<\/h4>\n\n<ul>\n<li>Feature: Added <code>[statsfc-score-predictor]<\/code> shortcode.<\/li>\n<\/ul>\n\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>Feature: Added a <code>date<\/code> parameter.<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Feature: Having fixed the root cause, the SSL option has been removed.<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Feature: Added an option to control whether the API call is over SSL or not.<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed a minor Javascript bug.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Feature: Show the live score if the match has started.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Feature: Updated to the new API.<\/li>\n<\/ul>\n\n<h4>1.9.0<\/h4>\n\n<ul>\n<li>Feature: Tweaked error message.<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Feature: Simplified Javascript cookies.<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed bug where external parent form could be submitted.<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Feature: Added fopen fallback if cURL request fails.<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Hotfix: Fixed possible cURL bug.<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Hotfix: Submit button text could be too big.<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed 'Popular scores' CSS bug in Firefox.<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Feature: Use cURL to fetch API data if possible.<\/li>\n<li>Hotfix: Fixed image CSS overrides from WordPress themes.<\/li>\n<\/ul>\n\n<h4>1.5.0<\/h4>\n\n<ul>\n<li>Feature: Auto-focus on the away score when the home score is added.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Hotfix: Make sure input elements are displayed inline, not as blocks.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed bug to include shirts of teams no longer in the Premier League.<\/li>\n<\/ul>\n\n<h4>1.4.0<\/h4>\n\n<ul>\n<li>Feature: Added Community Shield fixtures.<\/li>\n<\/ul>\n\n<h4>1.3.0<\/h4>\n\n<ul>\n<li>Feature: Updated team badges for 2013\/14.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed a bug when selecting a specific team.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Feature: If the match has started, show the live score.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Hotfix: Fixed minor CSS bug where percentage bar can be hidden.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Feature: Allow multiple score predictors on the same page.<\/li>\n<\/ul>","raw_excerpt":"This widget will place a score predictor for a football team&#039;s matches on your website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/22968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=22968"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/willjw"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=22968"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=22968"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=22968"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=22968"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=22968"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=22968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}