henshingly/toptipper

With the TopTipper addon you get a display of the table positions in the betting game as a mini table.

dev-main 2024-03-26 12:32 UTC

This package is auto-updated.

Last update: 2024-03-26 12:32:33 UTC


README

68747470733a2f2f7777772e766573742d73706f72742e64652f666f72756d5f66696c65732f6164646f6e5f746f707469707065722e737667

Toptipper

GitHub release download-badge Donate

Deutsch

1. Systemvoraussetzung
2. Zur Erklärung der Dateien
3. Download
Das Addon TopTipper gibt Ihnen eine Anzeige
des Tabellenstandes im Tippspiel des LMO's.)

Systemvoraussetzung

  • Lauffähiger LMO 4 ab Beta 3 mit Tippspiel

Zur Erklärung der Dateien

Der Inhalt des Downloads besteht aus 4 Dateien.

toptipper.php

Addon Datei
befindet sich im Ordner 'addon/tipp/'

kal.tip

befindet sich im Ordner 'config/tipp/'
Ist für die Konfiguration und kann beliebig umbenannt werden. Hauptsache die Dateiendung *.tipp bleibt bestehen und der neue Name wird auch beim einbinden berücksichtigt.

  • Der Inhalt der Datei besteht aus
[config]
modus=1 // Modus auf 1 lassen kann man vielleicht noch mal gebrauchen
anzahl_tipper=10 // Anzahl der Tipper in der Anzeige
all=0 // 0 oder 1, 0 zeigt das file (eine Liga), 1 die gesamt.aus (bei mehreren Ligen)
file=erg_dfb.l98 // eure Liga
template=standard // Template Name ohne die Endung (.tpl.php)

standard.tpl.php

befindet sich im Ordner 'template/tipp/'
Das Template kann beliebig erstellt werden. Verfügbare Platzhalter sind derzeit:

Platzhalter Beschreibung
<!--URLTipp--> Der Link zum Tippspiel
<!--gotoTipp--> Der Name für den Link zum Tippspiel
<!--URLLMO--> Der Link zum LMO
<!--gotoLMO--> Der Name für den Link zum LMO
<!--Platz--> Die Platzierung der Tipper
<!--Name--> Der Name der Tipper
<!--Punkte--> Die Punkte der Tipper

tipp.php

befindet sich direkt im Root_Verzeichniss Ihres LMO's.

Dient zum Einbinden des ganzen Scriptes (Inhalt anpassen)

  • Beispiel:
<?php
  $multi = "kal";  //in diesem Fall wird die von euch angepasste Datei kal.tip eingebunden.
  require(dirname(__FILE__) . '/init.php');
  include(PATH_TO_ADDONDIR . "/tipp/toptipper.php");
?>

Download

English

1. Systemrequirement
2. To explain the files
3. Download
The TopTipper addon gives you a display
of the table standings in the LMO's betting game.)

Systemrequirement

  • Runnable LMO 4 from Beta 3 with betting game

To explain the files

The content of the download consists of 4 files.

toptipper.php

Addon File
is in the folder 'addon/tipp/'

kal.tip

is in the folder 'config/tipp/'
Is for configuration and can be renamed as desired. The main thing is that the file extension *.tipp remains and the new name is also taken into account when integrating.

  • The content of the file consists of
[config]
modus=1 // You might be able to use the mode at 1 again
anzahl_tipper=10 // Number of tipsters in the ad
all=0 // 0 or 1, 0 shows the file (one league), 1 shows the added values ​​(for several leagues)
file=erg_dfb.l98 // your league
template=standard // Template name without the ending (.tpl.php)

standard.tpl.php

is in the folder 'template/tipp/'
The template can be created arbitrarily. Available placeholders are currently:

placeholder Description
<!--URLTipp--> The link to the betting game
<!--gotoTipp--> The name for the link to the betting game
<!--URLLMO--> The Link to the LMO
<!--gotoLMO--> The name for the link to the LMO
<!--Platz--> The placement of the tipsters
<!--Name--> The name of the tipsters
<!--Punkte--> The tipsters' points

tipp.php

is located directly in the root directory of your LMO.

Used to integrate the entire script (adjust content)

  • Example:
<?php
  $multi = "kal";  //In this case, the kal.tip file you customized will be integrated.
  require(dirname(__FILE__) . '/init.php');
  include(PATH_TO_ADDONDIR . "/tipp/toptipper.php");
?>

Download