MyBB Community Forums

Full Version: Need help by TS Link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hello,

i intalled the plugin TS LInk, but i dont know how i make it work.

What i must do, that Users can use that plugin?
Pls help me

Thx
NiceKype
can you please tell us what you expected from the plugin .. have you seen the details on the plugin's page ..
i read all of the site. I change some details, but i dont understand all. I cant make it work.
I need help.
I cant post all of the config, safety for hacker but i hope that is enough.
I need help with all ???

<?php

    // Disallow direct access to this file for security reasons.
    if (!defined('IN_LINKTS')) {
        die('Direct initialization of this file is not allowed.');
    }

    // Database configuration.
    $hostname = 'theta.server4voice.de:1182';
    $username = '???';
    $password = '???';
    $database = '???';

    // The MyBB users table in the DB. This should be just fine, but if you are also using this plugin from outside MyBB you'll have to enter it fully like in the second (disabled) line.
    $table = TABLE_PREFIX.'users';
    //$table = 'mybb_users';

    // Teamspeak connection.
    $ts3_server = 'ts.dzk-network.de';
    $ts3_server_port = '1182'; // 9987 is default
    $ts3_query_port = '10063'; // 10011 is default
    $ts3_username = '???';
    $ts3_password = '???';
    $ts3_nickname = '???';

    // Teamspeak groups.
    $ts3_sgid_member = '4224'; // the group id of the group which should be added to a user on teamspeak after they register on the forum
    $ts3_sgid_don_member = '5339'; // the group id of the group which should be set when a user is a Donating member
    $ts3_sgid_vip_member = '5340'; // the group id of the group which should be set when a user is a vip member

    // Define the servergroups the plugin shouldn't even try to remove.
    $ts3_sgid_dont_remove = ['6', '14', '10', '24', '25', '26', '27', '28', '31', '33'];

    // Define which groups should have access to the TS Link ModCP module.
    $tslink_modcp_groups = ('5465');

    // DONT CHANGE ANYTHING UNDERNEATH!!!!
    // Piece of pie to determine which IP to work with.
    if (!isset($givenip)) {
        $givenip = '';
    }

    if ($givenip == '') {
        $givenip = $_SERVER['REMOTE_ADDR'];
        $mybb_ip = bin2hex(inet_pton($givenip));
    } else {
        $mybb_ip = bin2hex(inet_pton($givenip));
    }
// Database configuration.
   $hostname = 'theta.server4voice.de:1182';
   $username = '???';
   $password = '???';
   $database = '???';
above are your forum's database details

below should be your teamspeak account details
 // Teamspeak connection.
   $ts3_server = 'ts.dzk-network.de';
   $ts3_server_port = '1182'; // 9987 is default
   $ts3_query_port = '10063'; // 10011 is default
   $ts3_username = '???';
   $ts3_password = '???';
   $ts3_nickname = '???';
oke but where i find hostname and database name from my forum. I know this is a stupid question ^^
^ when you installed MyBB you should have filled those values and they are saved in config.php file in inc folder
$config['database']['database'] =  '___________';

$config['database']['hostname'] = '___________';
$config['database']['username'] = '___________';
$config['database']['password'] = '___________';
oke from the ts link config. Ts username and passwort, means that query login or what? because i create a query login and it says me that is false username or passwort
^ should be query user login. can you try it again ..
it remove me the serveradmin group but dont add me to the member group
^ sorry, I have no knowledge of it. please see plugin's release topic
Pages: 1 2