{"id":94779,"date":"2018-12-14T14:12:51","date_gmt":"2018-12-14T14:12:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/hockeydata-los\/"},"modified":"2022-03-18T16:03:36","modified_gmt":"2022-03-18T16:03:36","slug":"hockeydata-los","status":"closed","type":"plugin","link":"https:\/\/fr-be.wordpress.org\/plugins\/hockeydata-los\/","author":16615582,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.4","stable_tag":"1.2.4","tested":"5.9.13","requires":"4.6","requires_php":"5.2.4","requires_plugins":"","header_name":"hockeydata LOS","header_author":"hockeydata","header_description":"Add statistic widgets by hockeydata with a view clicks.","assets_banners_color":"","last_updated":"2022-03-18 16:03:36","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.hockeydata.net\/","header_plugin_uri":"https:\/\/apidocs.hockeydata.net\/plugins\/wordpress\/","header_author_uri":"http:\/\/www.hockeydata.net\/","rating":0,"author_block_rating":0,"active_installs":100,"downloads":2250,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2.0":{"tag":"1.2.0","author":"hockeydata","date":"2019-05-09 08:03:16"},"1.2.1":{"tag":"1.2.1","author":"hockeydata","date":"2019-11-13 12:58:59"},"1.2.2":{"tag":"1.2.2","author":"hockeydata","date":"2020-02-06 11:50:08"},"1.2.3":{"tag":"1.2.3","author":"hockeydata","date":"2020-09-11 06:47:03"},"1.2.4":{"tag":"1.2.4","author":"hockeydata","date":"2022-03-18 16:03:36"}},"upgrade_notice":{"1.2.0":"<p>This version adds all missing hockeydata LOS widgets plus several new features like division aliases and additional widget options.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2240038,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2240038,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0","1.2.1","1.2.2","1.2.3","1.2.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1994900,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1996330,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1996330,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"General settings","2":"Division management","3":"Styling options"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[165587,6167,521,241],"plugin_category":[36,37,43],"plugin_contributors":[165588],"plugin_business_model":[],"class_list":["post-94779","plugin","type-plugin","status-closed","hentry","plugin_tags-hockeydata","plugin_tags-sport","plugin_tags-statistics","plugin_tags-widgets","plugin_category-analytics","plugin_category-arts-and-entertainment","plugin_category-customization","plugin_contributors-hockeydata","plugin_committers-hockeydata"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/hockeydata-los.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/hockeydata-los\/assets\/screenshot-1.png?rev=1994900","caption":"General settings"},{"src":"https:\/\/ps.w.org\/hockeydata-los\/assets\/screenshot-2.png?rev=1996330","caption":"Division management"},{"src":"https:\/\/ps.w.org\/hockeydata-los\/assets\/screenshot-3.png?rev=1996330","caption":"Styling options"}],"raw_content":"<!--section=description-->\n<p>This plugin provides WordPress widgets to implement the available statistics widgets of <a href=\"https:\/\/apidocs.hockeydata.net\/\">hockeydata Live.Online Statistics API<\/a>, like standings, schedule or top scorers. All of these widgets start with \"hockeydata LOS\".<\/p>\n\n<p>To implement a widget, e.g. the schedule, on a WordPress page, you need to install a WordPress plugin (e.g. <a href=\"https:\/\/wordpress.org\/plugins\/siteorigin-panels\/\">Page Builder by SiteOrigin<\/a>) which allows adding WordPress widgets on simple pages. Alternatevely, you may also use shortcodes.<\/p>\n\n<h3>Shortcodes<\/h3>\n\n<p>All hockeydata LOS widgets can also be implemented with shortcodes:<\/p>\n\n<pre><code>[hd-los-game-full-report]       = hockeydata.los.Game.FullReport\n[hd-los-game-slider]            = hockeydata.los.GameSlider\n[hd-los-game-ticker]            = hockeydata.los.GameTicker\n[hd-los-knockout-stage]         = hockeydata.los.KnockoutStage\n[hd-los-knockout-stage-compact] = hockeydata.los.KnockoutStage.Compact\n[hd-los-leaders]                = hockeydata.los.Leaders\n[hd-los-live-games]             = hockeydata.los.LiveGames\n[hd-los-player-full-page]       = hockeydata.los.Player.FullPage\n[hd-los-players]                = hockeydata.los.Players\n[hd-los-schedule]               = hockeydata.los.Schedule\n[hd-los-standings]              = hockeydata.los.Standings\n[hd-los-team-full-page]         = hockeydata.los.Team.FullPage\n[hd-los-team-stats]             = hockeydata.los.TeamStats\n<\/code><\/pre>\n\n<p>All widgets options must be provided in lower case with hyphens, not as defined in the JavaScript API in CamelCase format. E.g. <code>division-id<\/code> instead of <code>divisionId<\/code>. More examples:<\/p>\n\n<pre><code>additional-columns \u203a additionalColumns\ncolumn-set         \u203a columnSet\nshow-legend        \u203a showLegend\n<\/code><\/pre>\n\n<p>Shortcode example:<\/p>\n\n<pre><code>[hd-los-schedule division-id=ebel-gd]\n<\/code><\/pre>\n\n<h3>Upgrade Notices<\/h3>\n\n<p>If you upgrade from a version lower than 1.2.0 please<\/p>\n\n<ol>\n<li>Check the settings in Settings &gt; hockeydata LOS.<\/li>\n<li>Replace widgets and shortcodes.<\/li>\n<li>Check all widget links (rowLink, playerLink, etc.).<\/li>\n<\/ol>\n\n<p>Ad 2.: In version 1.2.0 we had to add the prefixes <code>hd-<\/code> and <code>hd_<\/code> to the shortcodes and widget id's, respectively. Unfortunately, all of your widgets you implemented prior to version 1.2.0 won't work anymore. But there's a silver lining:<\/p>\n\n<p>You can use a plugin to replace all old shortcodes and widgets at once. Here is an example of how to do this with \"Better Search Replace\":<\/p>\n\n<ol>\n<li>Install and activate the plugin \"Better Search Replace\" (go to Plugins \u203a Add New and search for \"Better Search Replace\" or download from <a href=\"https:\/\/wordpress.org\/plugins\/better-search-replace\/\">https:\/\/wordpress.org\/plugins\/better-search-replace\/<\/a>).<\/li>\n<li>Go to Tools \u203a Better Search Replace<\/li>\n<li>Replace the following strings (do not activate the option \"Case-Insensitive?\"):<\/li>\n<\/ol>\n\n<p><strong>Important<\/strong>: before replacing, please <a href=\"https:\/\/codex.wordpress.org\/WordPress_Backups\">back up your database and files<\/a>.<\/p>\n\n<pre><code>Search for                      Replace with\n\n[los-game-full-report           [hd-los-game-full-report\n[los-game-slider                [hd-los-game-slider\n[los-leaders                    [hd-los-leaders\n[los-player-full-page           [hd-los-player-full-page\n[los-schedule                   [hd-los-schedule\n[los-standings                  [hd-los-standings\n[los-team-full-page             [hd-los-team-full-page\n[los-team-stats                 [hd-los-team-stats\nlos_widget_game_full_report     hd_los_widget_game_full_report\nlos_widget_game_slider          hd_los_widget_game_slider\nlos_widget_leaders              hd_los_widget_leaders\nlos_widget_player_full_page     hd_los_widget_player_full_page\nlos_widget_schedule             hd_los_widget_schedule\nlos_widget_standings            hd_los_widget_standings\nlos_widget_team_full_page       hd_los_widget_team_full_page\nlos_widget_team_stats           hd_los_widget_team_stats\nLOS_Widget_GameFullReport       HD_LOS_Widget_GameFullReport\nLOS_Widget_GameSlider           HD_LOS_Widget_GameSlider\nLOS_Widget_Leaders              HD_LOS_Widget_Leaders\nLOS_Widget_PlayerFullPage       HD_LOS_Widget_PlayerFullPage\nLOS_Widget_Schedule             HD_LOS_Widget_Schedule\nLOS_Widget_Standings            HD_LOS_Widget_Standings\nLOS_Widget_TeamFullPage         HD_LOS_Widget_TeamFullPage\nLOS_Widget_TeamStats            HD_LOS_Widget_TeamStats\n<\/code><\/pre>\n\n<p>Of course you only need to replace strings containing the shortcodes and widgets you're using. After you're done replacing you can remove the plugin.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/hockeydata-los<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Use the Settings \u203a hockeydata LOS screen to configure the plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20can%20i%20add%20widgets%20to%20posts%20and%20pages%3F'><h3>How can I add widgets to posts and pages?<\/h3><\/dt>\n<dd><p>You can either use shortcodes or a page builder plugin like <a href=\"https:\/\/wordpress.org\/plugins\/siteorigin-panels\/\">Page Builder by SiteOrigin<\/a> which allows you to add WordPress widgets to your posts and pages.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.4<\/h4>\n\n<ul>\n<li>PHP 7.4 compatibility<\/li>\n<\/ul>\n\n<h4>1.2.3<\/h4>\n\n<ul>\n<li>Fixed a bug where permalinks with ? in the URL broke the widget URL's<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Implemented widget option \"teamName\" in [hd-los-schedule] shortcode as \"team-name\"<\/li>\n<li>Support for Elementor Page Builder<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Minor bug fix to set correct widget language<\/li>\n<li>Added widget and shortcode option \"Calculate Total Score\" to Knockout Stage widget<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>New widgets: Game Ticker, Knockout Stage, Knockout Stage Compact, Live Games and Players<\/li>\n<li>More widget options<\/li>\n<li>Division aliases to easily manage your divisions<\/li>\n<li>New template \"Soda\"<\/li>\n<li>Add additional widget options<\/li>\n<li>Automatically created Divisions Pickers<\/li>\n<\/ul>","raw_excerpt":"Add statistic widgets by hockeydata with a view clicks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/94779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=94779"}],"author":[{"embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hockeydata"}],"wp:attachment":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=94779"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=94779"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=94779"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=94779"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=94779"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=94779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}