Banner for Ttlive
A simple wordpress plugin to get the data from the ttlive-system and display in your wp-post or wp-page with shortcode. Wordpress Tutorial
Noted That:
  • To install correctly this ttlive.zip .
  • Fisrt Download the ttlive.zip to your computer
  • Extract/Open ttlive.zip to Your Computer.
  • Then, Find readme.txt file inside ttlive.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " ttlive.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Ttlive

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Ttlive

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Ttlive

Step-5 : Now, Browse " ttlive.zip " Downloaded plugin from your computer, Where you downloaded " ttlive.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Ttlive

Step-6 : Now, Click on " Active Plugin "

Activate Ttlive

Step-7 : Then, See left Side Menu. " Ttlive " folder is added on left Side Menu. Now, Click on " Ttlive " folder.

Noted that: If you do not see " Ttlive " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Ttlive Configurations and Settings or How to work " Ttlive " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " TTLive " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is TTLive
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Download and unzip ttlive -zip-file
  2. Upload ttlive -directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Set base url in admin settings/options.
  5. Place [ttlive] shortcode in your posts or pages. Use parameter to select which data you will show.

Parameters:
elementname – Rueckgabe-Element – mögliche Werte: Mannschaft, Spielplan, Tabelle, 14Tage oder Rangliste
mannschaft_id – TTLive Mannschaft ID
staffel_id – TTLive Staffel ID
tableclassname – css-Klassenname der Tabelle
own_team – Name des eigenen Teams
runde – Vorrunde = [ttlive runde=1] (default), Rückrunde = [ttlive runde=2]
showxdays – 14Tage: Anzahl der Tage die dargestellt werden sollen (default = 14)
max – 14Tage: Anzahl der Tage die maximal dargestellt werden sollen (default = 0)
widget – 14Tage: Für die Darstellung in einem Widget – default = 0 –> legt man den Schalter auf 1, wird eine Darstellung optimiert für ein Sidebar-Widget verwendet
teamalias – Nur für die Tabelle: “Teamname:Alias;Teamname2:Alias2;…”
showleague – Nur für die Tabelle: Ueberschrift-Anzeige der Liga (default: 1)
showmatchecount – Nur für die Tabelle: Anzahl der gemachten Spiele (default: 1)
showsets – Nur für die Tabelle: Anzahl der gewonnenen/verlorenen Saetze (default: 1)
showgames – Nur für die Tabelle: Anzahl der gewonnenen/verlorenen Spiele (default: 1)
aufstiegsplatz – Nur für die Tabelle: Aufstiegsplaetze bis (default: 2)
abstiegsplatz – Nur für die Tabelle: Abstiegsplaetze ab (default: 9)
relegation – Nur für die Tabelle: Relegationsplätze (default: ”) Beispiel: relegation=”2,8? -> 2 für die Relegation Aufstieg, und 8 für Abstieg
saison – Nur für Hallenplan: (default: ”) Wenn ”, dann wird kein Hallenplan angezeigt. Das erste Jahr der Saison muss hier gesetzt werden.
display_type – Nur für Rangliste: (default: 1) Wenn 0, dann werden nur die Spieler angezeigt die eine gültige LivePZ haben
display_type – Nur für die 14Tage: die letzten 14Tage (0 – default) oder die naechsten 14Tage (1)
refresh – Anzahl Stunden bis die Daten erneut vom Live-System aktualisiert werden sollen

Examples with base url (http://bettv.tischtennislive.de):
[ttlive elementname=”Mannschaft” mannschaft_id=”25340? staffel_id=”3904?]
[ttlive elementname=”Spielplan” own_team=”SV Berliner Brauerei” mannschaft_id=”25340? staffel_id=”3904? tableclassname=”TTLiveSpielplan”]
[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”]
[ttlive elementname=”14Tage” tableclassname=”TTLive14Tage” display_type=0]
[ttlive elementname=”14Tage” tableclassname=”TTLive14Tage” display_type=1]
[ttlive elementname=”Rangliste” tableclassname=”TTLiveRangliste” display_all=0]
[ttlive elementname=”Hallenplan” saison=”2014? runde=”1?]

css Example:
.even { background-color: whitesmoke; }
.cAufstieg{ color:green; }
.cAbstieg{ color:red; }
.cRelegation{ color:DarkOrange; }
.cOwnTeam td { font-weight: bold; }
.cOwnTeam:hover{
background-color: #ddd;
cursor:pointer;
}
.TTLiveRangliste { width: 100%; }
.TTLive14Tage { width: 100%; }
.TTLiveTabelle { width: 100%; }
.TTLiveMannschaft { width: 100%; }
.TTLiveHallenplan { width: 100%; }
.TTLiveSpielplan { width: 100%; }
th { text-align: left; }


Name