EscuderoKevin
Well-Known Member
- Jul 2, 2015
- 380
- 181
- 130
you need webhosting not need to start.how can start the script ?
you need webhosting not need to start.how can start the script ?
Again that error , blank page.. can someone help me ?
I managed to fix the problem.
For those who still have problems , delete all you have in crear.php and put this:
<?php
require_once ("TeamSpeak3.php");
include ('config.php');
error_reporting(0);
$ChannelName = $_POST['name'];
$idUnica = $_POST['idts'];
if (!$ChannelName || !$idUnica) {
echo "El nombre del channel y la ID unica tienen que estar";
exit();
}
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://" . $UserAdmin . ":" . $PWQuery . "@" . $IP_TS . ":" . $PuertoQuery . "/?server_port=" . $PuertoTS . "");
$ListaDeChannels = $ts3_VirtualServer->request("channellist")->toString();
if (strpos($ListaDeChannels, $ChannelName)) {
echo "El nombre del channel esta en uso, utiliza otro";
exit();
}
$clID = $ts3_VirtualServer->clientGetByUid($idUnica);
$top_cid = $ts3_VirtualServer->channelCreate(array(
"channel_name" => $ChannelName,
"channel_codec" => TeamSpeak3::CODEC_SPEEX_WIDEBAND,
"channel_flag_permanent" => TRUE,
));
$clID = $ts3_VirtualServer->clientGetByUid($idUnica);
$infoCliente = $ts3_VirtualServer->execute("clientgetnamefromuid", array(
"cluid" => $idUnica
))->toList();
$cldbid = strval($infoCliente['cldbid']);
$ts3_VirtualServer->execute("clientmove", array(
"clid" => $clID,
"cid" => $top_cid
));
$ts3_VirtualServer->execute("setclientchannelgroup", array(
"cldbid" => $cldbid,
"cid" => $top_cid,
"cgid" => '5'
));
echo "El channel se creo correctamente."
?>
<?php
require_once ("TeamSpeak3.php");
include ('config.php');
error_reporting(0);
$ChannelName = $_POST['name'];
$idUnica = $_POST['idts'];
if (!$ChannelName || !$idUnica) {
echo "El nombre del channel y la ID unica tienen que estar";
exit();
}
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://" . $UserAdmin . ":" . $PWQuery . "@" . $IP_TS . ":" . $PuertoQuery . "/?server_port=" . $PuertoTS . "");
$ListaDeChannels = $ts3_VirtualServer->request("channellist")->toString();
if (strpos($ListaDeChannels, $ChannelName)) {
echo "El nombre del channel esta en uso, utiliza otro";
exit();
}
$clID = $ts3_VirtualServer->clientGetByUid($idUnica);
$top_cid = $ts3_VirtualServer->channelCreate(array(
"channel_name" => $ChannelName,
"channel_codec" => TeamSpeak3::CODEC_SPEEX_WIDEBAND,
"channel_flag_permanent" => TRUE,
));
$clID = $ts3_VirtualServer->clientGetByUid($idUnica);
$infoCliente = $ts3_VirtualServer->execute("clientgetnamefromuid", array(
"cluid" => $idUnica
))->toList();
$cldbid = strval($infoCliente['cldbid']);
$ts3_VirtualServer->execute("clientmove", array(
"clid" => $clID,
"cid" => $top_cid
));
$ts3_VirtualServer->execute("setclientchannelgroup", array(
"cldbid" => $cldbid,
"cid" => $top_cid,
"cgid" => '5'
));
echo "El channel se creo correctamente."
?>
on top in file.php put this ->I have no error_log .. hmm , I don't know why.
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
I need that the created channels were located above a spacer. Thanks. Eg, CSGO, League of legends, etcHello friends I came back with this promise update.
This is a 2.0 BETA version, so I expect the opinions and the problems you encounter.
How to install?
1. Read the file first (readmefirst.md)
2. Edit the config.cfg file with your server data
3. Upload the files (php needed)
4. Access the site and test it.
What do I need?
* A web host with php installed.
* An account query with channel creation privileges and user changes and shifts.
What does this version contain?
* Form in 3 interactive parts.
* Updated graphical interface
* Display the date the channel was created and its founder in the channel description.
* Displaying the unique ID and when the channel was created (preferably no one has access to editing the topic) in the channel TOPIC
* The error page in this case.
* Set the password both to the channel and to the channel.
* Set contact address
* Automatically complete the uniq-id.
Image:
Where can I download it?
LINK DOWNLOAD : https://mega.nz/#!lt1yHbJb!7mDsCa_7_FFcxXkXL7SUgLqbertCmdBoupaZNqkGwjw
VIRUS VERIFY : https://www.virustotal.com/#/file/b...8a3adf09770c0ca03bfaab2357f1fac103b/detection
PASS ARHIVE : r4p3itslife