- Languages (lang.de.php) (Needs a Translate in other Languages)-
Add: $lang["navbar"]["groupassigner"], $lang["grouppage"]["title"], $lang["grouppage"]["tsuid"], $lang["grouppage"]["tsgroup"], $lang["grouppage"]["send"], $lang["grouppage"]["error"]["offline"], $lang["grouppage"]["error"]["notallowed"], $lang["grouppage"]["error"]["duplicate"], $lang["grouppage"]["success"]["success"] - Config (config.template.php) (Needs a Change in your Config) - Add: $config["groupassigner"], $config["groups"]["allowgroups"] - Header (header.php) - When the Groupassigner is active, then "Server Viewer" is a Dropdown Menu with the Link for the Groupassigner, when is inactive then is only a Link to the "Server Viewer" - Groupassigner (groupassigner.php) When the Groupassigner is active, then shows a Form with the UID and the ServerGroups was in the Config ($config["groups"]["allowgroups"]). If the form is manipulated, and the server group is not in $config["groups"]["allowgroups"] then it will also output an error if the server is offline, or the login data for Server Query is incorrect.
This commit is contained in:
@ -75,3 +75,12 @@ $config['contact']['items'][] = ["TeamSpeak", "Support channel", "ts3server://te
|
||||
$config['contact']['items'][] = ["Email", "contact@email.com", "mailto:contact@email.com"];
|
||||
$config['contact']['items'][] = ["Telegram", "@Telegram", "https://t.me/Telegram"];
|
||||
$config['contact']['items'][] = ["Twitter", "@Twitter", "https://twitter.com/Twitter"];
|
||||
|
||||
/************* Groupassigner configuration *************/
|
||||
|
||||
// Enable / Disable the GroupAssigner
|
||||
$config["groupassigner"] = 1;
|
||||
|
||||
// Server groups to be assigned
|
||||
$config["groups"]["allowgroups"] = array("41","42");
|
||||
|
||||
|
Reference in New Issue
Block a user