TeamSpeak Verification with xenForo 1.5

Allow your registered users to verify their TeamSpeak Identität
XenForo TeamSpeak Verification
This small websites allows your registered xenForo users to get a group on your TeamSpeak-Server

Installation
  1. Unzip the file and upload everything to your webspace
  2. Import the SQL-File to your Database
  3. Change the config file under inc/config.inc.php
Your xenForo Installation need to be under the same domain!

Explanation
This site checks the xenForo login state from the visitor (using xenForo SDK). If the visitor is logged in, it shows the form to verify the TeamSpeak-Identity, else it will give "you have to be logged in" message.
The verification form is easy to user, the visitor simply have to enter the TeamSpeak-Identity string and get set group on your TeamSpeak Server. The forums username will be set as client description.
The tool saves the verification in the database with the xenForo-User ID as identifier.
Users can remove the verification with one click.

PHP:
<?php

$db_host = 'localhost';
$db_name = 'mc_forum';
$db_user = 'root';
$db_password = '';
$pdo = new PDO("mysql:host=$db_host;dbname=$db_name", $db_user, $db_password);

$global_desc = "Your description for verified clients";

$global_serveradmin = "serveradmin"; //Query User
$global_password = "test123"; //Query Passwort
$global_ip = "127.0.0.1"; //TeamSpeak Server IP
$global_port = "1101"; //TeamSpeak Query Port
$global_uport = "9987"; //TeamSpeak Server Port
$global_nickname = "Verify"; //Query Nickname

$global_clientGroup = "7"; //Group-ID assigned to verified clients

Demo: https://illux.net/teamspeak-verify

Feel free to ask me any question and get support.

Author

DaShirt

Owner
Author
DaShirt
Downloads
2
Type
Digital product
License duration
Unlimited
Price
5.00 EUR
Views
191
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.