09.02.2025, 11:59
(Dieser Beitrag wurde zuletzt bearbeitet: 09.02.2025, 12:18 von Manfred Aabye.)
Webinterface
für den OpenSimulator geschrieben in PHP 8.3
Hier entsteht ein Webinterface für den OpenSimulator dieser ist noch nicht voll funktionsfähig,
aber zum Testen reicht es schon.
Das Webinterface hat die Aufgabe, die in der Robust.ini aufgeführten Seiten zu unterstützen.
Eine Unterstützung für Economy ist nicht mehr erforderlich, ich möchte aber eine kleine Übersicht des Kontos der Nutzer bereitstellen.
Die Inex.php ist nur eine Testseite, in der man die Einzelteile bequem aufrufen kann.
In der Datei /include/config.php (config.php.example) müsst ihr eure Daten eingeben.
Folgende Daten der Robust Datenbank sind erforderlich:
// MySQL Verbindungsdaten
define('DB_USERNAME', 'your_username');
define('DB_PASSWORD', 'your_password');
define('DB_NAME', 'your_database');
// Seitenadressen
define('BASE_URL', 'http://yourdomain.com');
define('SITE_NAME', 'Dein Grid Name');
Dann muss noch die Robust.ini Konfiguration angepasst werden:
[LoginService]
; For V2 map
MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/webinterface/maptile.php";
; Url to search service
SearchURL = "${Const|BaseURL}:${Const|PublicPort}/webinterface/searchservice.php";
; For V3 destination guide
DestinationGuide = "${Const|BaseURL}/webinterface/guide.php"
; For V3 avatar picker (( work in progress ))
AvatarPicker = "${Const|BaseURL}/webinterface/avatarpicker.php"
[GridInfoService]
; login page: optional: if it exists it will be used to tell the client to use
; this as splash page
welcome = ${Const|BaseURL}/webinterface/welcomesplashpage.php
; helper uri: optional: if it exists it will be used to tell the client to use
; this for all economy related things
economy = ${Const|BaseURL}:8008/
; web page of grid: optional: page providing further information about your grid
about = ${Const|BaseURL}/webinterface/aboutinformation.php
; account creation: optional: page providing further information about obtaining
; a user account on your grid
register = ${Const|BaseURL}/webinterface/registeruser.php
; help: optional: page providing further assistance for users of your grid
help = ${Const|BaseURL}/webinterface/help.php
; password help: optional: page providing password assistance for users of your grid
password = ${Const|BaseURL}/webinterface/passwordreset.php
; partner help: optional: page providing partner assistance for users of your grid
partner = ${Const|BaseURL}/webinterface/partner.php
; a http page for grid status
GridStatus = ${Const|BaseURL}:${Const|PublicPort}/webinterface/gridstatus.php
; a RSS page for grid status
GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/webinterface/gridstatusrss.php
Download Github:
https://github.com/ManfredAabye/OpenSim.Webinterface
für den OpenSimulator geschrieben in PHP 8.3
Hier entsteht ein Webinterface für den OpenSimulator dieser ist noch nicht voll funktionsfähig,
aber zum Testen reicht es schon.
Das Webinterface hat die Aufgabe, die in der Robust.ini aufgeführten Seiten zu unterstützen.
Eine Unterstützung für Economy ist nicht mehr erforderlich, ich möchte aber eine kleine Übersicht des Kontos der Nutzer bereitstellen.
Die Inex.php ist nur eine Testseite, in der man die Einzelteile bequem aufrufen kann.
In der Datei /include/config.php (config.php.example) müsst ihr eure Daten eingeben.
Folgende Daten der Robust Datenbank sind erforderlich:
// MySQL Verbindungsdaten
define('DB_USERNAME', 'your_username');
define('DB_PASSWORD', 'your_password');
define('DB_NAME', 'your_database');
// Seitenadressen
define('BASE_URL', 'http://yourdomain.com');
define('SITE_NAME', 'Dein Grid Name');
Dann muss noch die Robust.ini Konfiguration angepasst werden:
[LoginService]
; For V2 map
MapTileURL = "${Const|BaseURL}:${Const|PublicPort}/webinterface/maptile.php";
; Url to search service
SearchURL = "${Const|BaseURL}:${Const|PublicPort}/webinterface/searchservice.php";
; For V3 destination guide
DestinationGuide = "${Const|BaseURL}/webinterface/guide.php"
; For V3 avatar picker (( work in progress ))
AvatarPicker = "${Const|BaseURL}/webinterface/avatarpicker.php"
[GridInfoService]
; login page: optional: if it exists it will be used to tell the client to use
; this as splash page
welcome = ${Const|BaseURL}/webinterface/welcomesplashpage.php
; helper uri: optional: if it exists it will be used to tell the client to use
; this for all economy related things
economy = ${Const|BaseURL}:8008/
; web page of grid: optional: page providing further information about your grid
about = ${Const|BaseURL}/webinterface/aboutinformation.php
; account creation: optional: page providing further information about obtaining
; a user account on your grid
register = ${Const|BaseURL}/webinterface/registeruser.php
; help: optional: page providing further assistance for users of your grid
help = ${Const|BaseURL}/webinterface/help.php
; password help: optional: page providing password assistance for users of your grid
password = ${Const|BaseURL}/webinterface/passwordreset.php
; partner help: optional: page providing partner assistance for users of your grid
partner = ${Const|BaseURL}/webinterface/partner.php
; a http page for grid status
GridStatus = ${Const|BaseURL}:${Const|PublicPort}/webinterface/gridstatus.php
; a RSS page for grid status
GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/webinterface/gridstatusrss.php
Download Github:
https://github.com/ManfredAabye/OpenSim.Webinterface
Ein Metaversum sind viele kleine Räume, die nahtlos aneinander passen,
sowie direkt sichtbar und begehbar sind, als wäre es aus einem Guss.
sowie direkt sichtbar und begehbar sind, als wäre es aus einem Guss.