{"id":20365,"date":"2012-10-15T00:09:28","date_gmt":"2012-10-15T00:09:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ttlive\/"},"modified":"2017-03-20T17:00:39","modified_gmt":"2017-03-20T17:00:39","slug":"ttlive","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ttlive\/","author":10478299,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.9.7","stable_tag":"trunk","tested":"4.7.33","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"TTLive","header_author":"finalan","header_description":"","assets_banners_color":"","last_updated":"2017-03-20 17:00:39","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.svbb-tischtennis.de\/","header_author_uri":"http:\/\/www.svbb-tischtennis.de","rating":5,"author_block_rating":0,"active_installs":20,"downloads":2720,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.8.1","0.8.2","0.8.3","0.8.4","0.9","0.9.1","0.9.2","0.9.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[94026],"plugin_business_model":[],"class_list":["post-20365","plugin","type-plugin","status-publish","hentry","plugin_contributors-finalan","plugin_committers-finalan"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ttlive.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A simple wordpress plugin to get the data from the ttlive-system and display in your wp-post or wp-page with shortcode. You can also use a widget to show the match-results and preview in a sidebar.<\/p>\n\n<p>Tischtennislive is a german online sport result system (http:\/\/www.tischtennislive.de). TTLive-Plugin help you, to show current team results on your WP-Page or WP-Posts.<\/p>\n\n<p>Mit Hilfe dieses Plugins kann man die aktuellen Ergebnisse und Daten vom Tischtennislive-System ziehen und auf seiner eigenen Vereinsseite darstellen.<\/p>\n\n<p>Es k\u00f6nnen die Elemente Mannschaft, Spielplan, Tabelle und 14Tage angezeigt werden. Dabei aktualisiert dieses Plugin regelm\u00e4\u00dfig die Daten und speichert die entsprechende XML-Datei.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and unzip <code>ttlive<\/code>-zip-file<\/li>\n<li>Upload <code>ttlive<\/code>-directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Set base url in admin settings\/options.<\/li>\n<li>Place <code>[ttlive]<\/code> shortcode in your posts or pages. Use parameter to select which data you will show.<\/li>\n<\/ol>\n\n<p>Parameters:\n    elementname - Rueckgabe-Element - m\u00f6gliche Werte: Mannschaft, Spielplan, Tabelle, 14Tage oder Rangliste\n    mannschaft_id - TTLive Mannschaft ID\n    staffel_id - TTLive Staffel ID\n    tableclassname - css-Klassenname der Tabelle\n    own_team -  Name des eigenen Teams\n    runde -  Vorrunde = [ttlive runde=1] (default), R\u00fcckrunde = [ttlive runde=2]\n    showxdays -  14Tage: Anzahl der Tage die dargestellt werden sollen (default = 14)\n    max -    14Tage: Anzahl der Tage die maximal dargestellt werden sollen (default = 0)\n    widget -  14Tage: F\u00fcr die Darstellung in einem Widget - default = 0 --&gt; legt man den Schalter auf 1, wird eine Darstellung optimiert f\u00fcr ein Sidebar-Widget verwendet \n    teamalias - Nur f\u00fcr die Tabelle: \"Teamname:Alias;Teamname2:Alias2;...\"\n    showleague - Nur f\u00fcr die Tabelle: Ueberschrift-Anzeige der Liga (default: 1)\n    showmatchecount - Nur f\u00fcr die Tabelle: Anzahl der gemachten Spiele (default: 1)\n    showsets - Nur f\u00fcr die Tabelle:  Anzahl der gewonnenen\/verlorenen Saetze (default: 1)\n    showgames - Nur f\u00fcr die Tabelle:  Anzahl der gewonnenen\/verlorenen Spiele (default: 1)\n    aufstiegsplatz - Nur f\u00fcr die Tabelle:  Aufstiegsplaetze bis (default: 2)\n    abstiegsplatz - Nur f\u00fcr die Tabelle:  Abstiegsplaetze ab (default: 9)\n    relegation - Nur f\u00fcr die Tabelle:  Relegationspl\u00e4tze (default: '') Beispiel: relegation=\"2,8\" -&gt; 2 f\u00fcr die Relegation Aufstieg, und 8 f\u00fcr Abstieg\n    saison - Nur f\u00fcr Hallenplan: (default: '') Wenn '', dann wird kein Hallenplan angezeigt. Das erste Jahr der Saison muss hier gesetzt werden.\n    display_type - Nur f\u00fcr Rangliste: (default: 1) Wenn 0, dann werden nur die Spieler angezeigt die eine g\u00fcltige LivePZ haben\n    display_type - Nur f\u00fcr die 14Tage: die letzten 14Tage (0 - default) oder die naechsten 14Tage (1)<br \/>\n    refresh - Anzahl Stunden bis die Daten erneut vom Live-System aktualisiert werden sollen<\/p>\n\n<p>Examples with base url (http:\/\/bettv.tischtennislive.de):\n    [ttlive elementname=\"Mannschaft\" mannschaft_id=\"25340\" staffel_id=\"3904\"]\n    [ttlive elementname=\"Spielplan\" own_team=\"SV Berliner Brauerei\" mannschaft_id=\"25340\" staffel_id=\"3904\" tableclassname=\"TTLiveSpielplan\"]\n    [ttlive elementname=\"Tabelle\" own_team=\"SV Berliner Brauereien e.V.\" mannschaft_id=\"25340\" staffel_id=\"3904\" tableclassname=\"TTLiveTabelle\" aufstiegsplatz=2 abstiegsplatz=9 relegation=\"2,8\" teamalias=\"SV Berliner Brauereien e.V.:SVBB1; SV Lichtenberg 47:Lichtenberg\"]\n    [ttlive elementname=\"14Tage\" tableclassname=\"TTLive14Tage\" display_type=0]\n    [ttlive elementname=\"14Tage\" tableclassname=\"TTLive14Tage\" display_type=1]\n    [ttlive elementname=\"Rangliste\" tableclassname=\"TTLiveRangliste\" display_all=0]\n    [ttlive elementname=\"Hallenplan\" saison=\"2014\" runde=\"1\"]<\/p>\n\n<p>css Example:\n    .even { background-color: whitesmoke; }\n    .cAufstieg{ color:green; }\n    .cAbstieg{ color:red; }\n    .cRelegation{ color:DarkOrange; }\n    .cOwnTeam td { font-weight: bold; }\n    .cOwnTeam:hover{\n        background-color: #ddd;\n        cursor:pointer;\n    }\n    .TTLiveRangliste { width: 100%; }\n    .TTLive14Tage { width: 100%; }\n    .TTLiveTabelle { width: 100%; }\n    .TTLiveMannschaft { width: 100%; }\n    .TTLiveHallenplan { width: 100%; }\n    .TTLiveSpielplan { width: 100%; }\n    th { text-align: left; }<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Where i can i find this plugin in action?<\/dt>\n<dd><p>Check the [plugin homepage] (http:\/\/www.svbb-tischtennis.de\/).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.9.7<\/h4>\n\n<ul>\n<li>fixed a bug and several php warnings\/notice<\/li>\n<\/ul>\n\n<h4>0.9.6<\/h4>\n\n<ul>\n<li>because of different errors --&gt; back to 0.9.3; sorry, for that!<\/li>\n<\/ul>\n\n<h4>0.9.5<\/h4>\n\n<ul>\n<li>changed Tested up to 4.7.3<\/li>\n<\/ul>\n\n<h4>0.9.4<\/h4>\n\n<ul>\n<li>new Options to set global field names \"mannschafts id\" and \"staffel id\" for team-pages to work with ACF-Plugin or user-defined fields<\/li>\n<li>calculates the difference in \"Rangliste\" between LivePZ and Stichtagen<\/li>\n<\/ul>\n\n<h4>0.9.3<\/h4>\n\n<ul>\n<li>bugfix: calculated color in TTLive Widget, Spielplan, Hallenplan<\/li>\n<\/ul>\n\n<h4>0.9.2<\/h4>\n\n<ul>\n<li>added new elementname: Hallenplan - displays Hallenplan (example: [ttlive elementname=\"Hallenplan\" saison=\"2014\" runde=\"1\"])<\/li>\n<li>new parameter for element \"Hallenplan\": saison (default: '') - saison is the current year (only first year \"2014\" - NOT \"2014\/2015\")<\/li>\n<li>added tableclassname in configuration for elementname Rangliste and Hallenplan<\/li>\n<\/ul>\n\n<h4>0.9.1<\/h4>\n\n<ul>\n<li>added new elementname: Rangliste - displays Rangliste by LivePZ (example: [ttlive elementname=\"Rangliste\"])<\/li>\n<li>new parameter for element \"Rangliste\": display_all (default: 1) - display_all=0, hides players with LivePZ \"k.A.\"<\/li>\n<li>bugfix in widget: if there is no value to display, the header will be hidden<\/li>\n<\/ul>\n\n<h4>0.9<\/h4>\n\n<ul>\n<li>changed from LPZ to LivePZ<\/li>\n<li>bugfix: if there is no PK1 or PK2 in Team-Table, it will be hidden<\/li>\n<\/ul>\n\n<h4>0.8.5<\/h4>\n\n<ul>\n<li>bugfix: added \"Mini\" as possible own team to display color in 14Tage<\/li>\n<\/ul>\n\n<h4>0.8.4<\/h4>\n\n<ul>\n<li>bugfix: if search&amp;replace is not replacing anything in the league-name, then the full league-name is been displayed <\/li>\n<\/ul>\n\n<h4>0.8.3<\/h4>\n\n<ul>\n<li>added sorting for last matches, to show the max number of matches by date <\/li>\n<\/ul>\n\n<h4>0.8.1<\/h4>\n\n<ul>\n<li>bugfix: Error in 14Tage: PHP Class DateInterval is only available with PHP Version 5.3 and higher - Problem fixed with a workaround<\/li>\n<\/ul>\n\n<h4>0.8<\/h4>\n\n<ul>\n<li>added new parameter showxdays --&gt; 14Tage: Anzahl der Tage die dargestell werden sollen (default = 14)<\/li>\n<li>added new parameter max --&gt; 14Tage: Anzahl der Tage die maximal dargestellt werden sollen (default = 0)<\/li>\n<li>added TTLive_Widget --&gt; you can use the widget to show the 14Tage-View in a sidebar<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>bugfix: classes even and odd - to show tablerows in different colors<\/li>\n<li>added new parameter relegation, for displaying relegation-position in a different color<\/li>\n<li>changed from hardcoded colors for aufstieg, abstieg, relegation and own-team to css-classes (class-names: cAufstieg, cAbstieg, cRelegation, cOwnTeam)<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>added new parameter runde --&gt; Vorrunde = [ttlive runde=1] (default), R\u00fcckrunde = [ttlive runde=2]<\/li>\n<li>added Abteilungs\/SpartenID as option in TTLive-settings for the 14Tage-Function <\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>added tableclassname as default-value-setting in TTLive-options for Mannschaft, 14Tage, Tabelle and Spielplan (you don't need to add these parameters to your shortcode, but if you do, it will override setting)<\/li>\n<li>custom fields support for default values - if you add custom fields \"mannschaft_id\" or \"staffel_id\" to a team page, then it will be the default-value (you don't need to add these parameters to your shortcode, but if you do, it will override the custom field)<\/li>\n<li>added description for using the teamalias-parameter <\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>changed error<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"A simple wordpress plugin to get the data from the ttlive-system and display in your wp-post or wp-page with shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20365"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/finalan"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20365"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20365"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20365"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20365"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20365"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}