Forum

Results 1 to 4 of 4
  1. #1
    Join Date
    September 2015
    Location
    UK
    Posts
    3

    Client Description updates using TS3 PHP Framework

    Hello all!

    Is it possible to set a clients description using the TS3 PHP Framework?

    I've successfully written a robot to push the correct icons to our users based on their IP address matching the community database, but I would like, if possible, to set their description to their registered name/ID.

    Does anyone know if this is possible as I've looked through the Framework docs and can't seem to find anything that suggests this is possible.

    Thank you!

    Tim Walters
    advert removed
    Last edited by dante696; September 13th, 2015 at 07:56 PM.

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    Use either clientedit or clientdbedit.

  3. #3
    Join Date
    September 2015
    Location
    UK
    Posts
    3
    Quote Originally Posted by numma_cway View Post
    Use either clientedit or clientdbedit.
    http://prntscr.com/8g5341

    I can't find either!!?

  4. #4
    Join Date
    September 2015
    Location
    UK
    Posts
    3
    OK - I've found the solution:

    Code:
    $myname = "Fred Bloggs";
    $descpush = "Commercial Pilot";
    $clDBid = 95;   //  the database id of the client you wish to update.
    
    $props = array(
      "client_description" => $myname." - ".$descpush,
    );
    
    try{$ts3_VirtualServer->clientmodifydb($clDBid,$props);}
    catch(Exception $e)
    {
      echo "<font color = 'Red'>   [WARNING]  " . $e->getMessage() . "!</font><br/>";
    }
    I'm a happy chappy...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Teamspeak 3 PHP Framework - Channel ID from Client
    By hadshoo12 in forum Server Support
    Replies: 0
    Last Post: October 21st, 2013, 12:20 AM
  2. Replies: 5
    Last Post: May 22nd, 2013, 04:42 PM
  3. [not possible] ip for client description
    By El_makong in forum Skins / Icon & Sound Packs
    Replies: 13
    Last Post: June 8th, 2012, 03:08 PM
  4. client description
    By Lyxal in forum Suggestions and Feedback
    Replies: 3
    Last Post: January 13th, 2010, 01:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •