Get User Avatar

MuntadherSafaa

New Member
Jun 7, 2018
2
0
16
Name of the script: avatar script
Functions of the script: It Download User TeamSpeak Avatar And Present it on The Website
Why do you want it: working on panel
Screenshots: don't have
Original source (if any): none
 

EscuderoKevin

Well-Known Member
Jul 2, 2015
380
181
130
PHP:
$cliente = $ts3->clientGetByUid($clientuid);

$clib = $cliente['clid'];

$avatar = $cliente->avatarDownload();


<img src="data:'.TeamSpeak3_Helper_Convert::imageMimeType($avatar).';base64,'.$avatar->toBase64().'"  />

Showme where u like to put and i can adap for u.
 

MuntadherSafaa

New Member
Jun 7, 2018
2
0
16
PHP:
$cliente = $ts3->clientGetByUid($clientuid);

$clib = $cliente['clid'];

$avatar = $cliente->avatarDownload();


<img src="data:'.TeamSpeak3_Helper_Convert::imageMimeType($avatar).';base64,'.$avatar->toBase64().'"  />

Showme where u like to put and i can adap for u.

Can I Please Get The Full Script starting from The libraries
 

phpkiller

Active Member
Aug 29, 2017
22
8
78
he helped u with the important code ,finish it ur self its not that hard to copy past lib from ur pannel u are working in
 
Top