Forum

Page 1 of 19 12311 ... LastLast
Results 1 to 15 of 1493

Hybrid View

  1. #1
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,510

    [API] TS3 PHP Framework

    Current Version: 1.1.24


    DOWNLOAD NOW

    What is the TS3 PHP Framework?
    Initially released in January 2010, the TeamSpeak 3 PHP Framework is a powerful, open source, object-oriented framework implemented in PHP 5 and licensed under the GNU General Public License. It's based on simplicity and a rigorously tested agile codebase. Extend the functionality of your servers with scripts or create powerful web applications to manage all features of your TeamSpeak 3 Server instances.

    Tested. Thoroughly. Enterprise-ready and built with agile methods, the TeamSpeak 3 PHP Framework has been unit-tested from the start to ensure that all code remains stable and easy for you to extend, re-test with your extensions, and further maintain.

    Why should I use the TS3 PHP Framework rather than other PHP libraries?
    The TS3 PHP Framework is a is a modern use-at-will framework that provides individual components to communicate with the TeamSpeak 3 Server.

    There are lots of arguments for the TS3 PHP Framework in comparison with other PHP based libraries. It is the most dynamic and feature-rich piece of software in its class. In addition, it's always up-to-date and 100% compatible to almost any TeamSpeak 3 Server version available.

    What are the key features of the TS3 PHP Framework?
    Features of the TS3 PHP Framework include:

    • Fully object-oriented PHP 5 and E_STRICT compliant components
    • Access to all TeamSpeak 3 Server features via ServerQuery
    • Integrated full featured and customizable TSViewer interfaces
    • Full support for file transfers to up- and /or download custom icons and other stuff
    • Powerful error handling capablities using exceptions and customizable error messages
    • Query mechanisms for several official services such as the blacklist and auto-update servers
    • Dynamic signal slots for event based scripting
    • ...

    Speed up new development and reduce maintenance costs by using the TS3 PHP Framework!
    Last edited by ScP; June 18th, 2016 at 11:12 PM. Reason: new release

  2. #2
    Join Date
    December 2009
    Location
    Germany
    Posts
    44
    why was it deleted? :-o

  3. #3
    Join Date
    December 2009
    Location
    Germany
    Posts
    2,354
    Quote Originally Posted by MichaelP View Post
    why was it deleted? :-o
    http://forum.teamspeak.com/showpost....73&postcount=4

  4. #4
    Join Date
    May 2010
    Location
    Netherlands
    Posts
    11
    I want to generate json with this lib. But i can't find a way to make a difference with channels and subchannels. with the factory i make a connection. than i do a channelList() on the object. Somehow i get all channels (including the subchannels). the subChannelList() wont return any data on all those channels.

    Anyone can see what i am doing wrong? I can make some example if it is needed. But the code i have at the moment is a little bit big to change to something what points out the problem i have.

  5. #5
    Join Date
    March 2006
    Location
    Germany
    Posts
    24
    I like the option of the TS Viewer. But do I need to cache the display? I can imagine that when many users are watching the viewer the ts3 server gehts overloaded when every page impression creates a new serverquery.

  6. #6
    Join Date
    May 2010
    Location
    Netherlands
    Posts
    11
    Your webserver gets banned if it loads too much. So there are 2 things u can do whitelist the ip of the webserver or use cache for 30-45 seconds

  7. #7
    Join Date
    April 2007
    Location
    Spain
    Posts
    17
    Hi,

    First thank for TeamSpeak 3 PHP Framework.

    I'm trying to create PHP scripts to integrate TS3 with vBulletin, I try to delete a specific client on the server by using this script but I get the error: "Error 1537: invalid parameter count".

    "$cldbid = 147" is a Client ID in DB.

    PHP Code:
    include("config.php");
    require_once(
    "TeamSpeak3/TeamSpeak3.php");

    try
    {
        
    $ts3_ServerInstance TeamSpeak3::factory("serverquery://" $config["user"] . ":" $config["pass"] . "@" $config["host"] . ":" $config["port"] . "/");
        
    $selected_sid 1;
        
    $ts3_VirtualServer $ts3_ServerInstance->serverGetById($selected_sid);
        
    $cldbid 147;
        
    $param $ts3_VirtualServer->clientDeleteDb($cldbid);
    }
    catch(
    Exception $e)
    {
      
    $param "<b>Error " $e->getCode() . ":</b> <i>" $e->getMessage() . "</i>";
    }
        echo 
    "<p>".$param."</p>"
    I have tried other methods like POKE or SEND MESSAGE with the same script and work perfectly, for now only this method does not work.

    I appreciate any help.

    Regards

  8. #8
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    Hi,

    is it possible to call

    Code:
    servernotifyregister event=textprivate
    with the TeamSpeak 3 PHP Framework?

  9. #9
    Join Date
    April 2007
    Location
    Spain
    Posts
    17
    Nobody?

    This project is still active?

    Although we can download the version 1.0.27 from this thread on the forum, the Planet TeamSpeak website showing the latest available is 1.0.22, the API documentation is for version 1.0.22 (i think) and the Planet TeamSpeak forums do not work for several days, do not know where I can get help for this problem.

    I'm no expert on these issues, but I think the method clientDeleteDb() are not properly synchronized.

    Thank.

    P.D. Ok,
    I said nothing ... lol
    I've read the latest changelog for next version Release 1.0.28-beta - ?? Jun 2010:
    "- fixed invalid command name in TeamSpeak3_Node_Server::clientDeleteDb()"
    Where can we download the latest 1.0.28 version or when it will be available?
    Last edited by Yoshua; July 1st, 2010 at 12:28 AM. Reason: PD

  10. #10
    Join Date
    December 2009
    Location
    Germany
    Posts
    62
    Hi,
    In this forum you will always find latest version of the! That is also the x.x.28. However, you should wait you yet.

  11. #11
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,510
    Here's a link to my internal test release of version 1.0.27-beta:

    http://download.planetteamspeak.com/...rk-1.0.27b.zip

  12. #12
    Join Date
    July 2010
    Location
    France
    Posts
    15
    I edited my post at the end of page 4 to notify that the TS2 Framework ( Absurd ) also use spl autoload.

    Here the methods of autoload in Absurd TS2

    Code:
      /**
    	 * Initialises Absurdcoding.org Framework
    	 *
    	 * @return void
    	 */
      public static function init()
      {
        self::$libpath   = dirname(__FILE__) . '/';
        self::$extension = '.php';
        spl_autoload_register(array(__CLASS__, 'autoload'));
      }
    
      /**
    	 * Autoloads a class with given name
    	 *
    	 * @param  string $class
    	 * @throws Absurd_Exception
    	 * @return void
    	 */
      public static function autoload($class)
      {
        if (!class_exists($class) && !interface_exists($class)) {
          if (!preg_match('/^[A-Za-z0-9_]+$/', $class)) {
            throw new Absurd_Exception("Class $class contains invalid characters", 0x01);
          } else {
            $file = self::$libpath . str_replace('_', '/', $class) . self::$extension;
            if (!$fp = @fopen($file, 'r', true)) {
              throw new Absurd_Exception("Class file $file was not found", 0x02);
            } else {
              @fclose($fp);
              include_once($file);
              if (!class_exists($class) && !interface_exists($class)) {
                throw new Absurd_Exception("Class $class was not found in the expected place", 0x03);
              }
            }
          }
        }
      }
    Seems that's the TS2 autoload whitch is used in TS3 ... Cant we reset ? =/
    Thanks for help.... This prob is really annoying..

    Mail: menthe.alow a t g m a i l d o t c o m
    Last edited by kedal; July 27th, 2010 at 08:02 PM.

  13. #13
    Join Date
    September 2010
    Location
    Germany
    Posts
    4

    Question concerning your Framework

    I'm new here and I would like to learn from you all

    I would like to develop a functionality that allows me to reset all permissions. There is an Query command permreset which allows to do this, but I could not find any information about this in your framework. Maybe someone has an Idea to handle this functionality.

    thanks for your help

    moppel

  14. #14
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    Quote Originally Posted by moppel View Post
    I'm new here and I would like to learn from you all

    I would like to develop a functionality that allows me to reset all permissions. There is an Query command permreset which allows to do this, but I could not find any information about this in your framework. Maybe someone has an Idea to handle this functionality.

    thanks for your help

    moppel
    add the following code to your Server Node (TeamSpeak3/Node/server.php).

    Code:
     public function permreset()
    {
    $this->request("permreset");
    }
    I Think that could work.

  15. #15
    Join Date
    April 2010
    Location
    Hessen, Germany
    Posts
    15
    everytime i connect to http://domain.tld/ts3phpframe/examples i get the error "Error 0: php_network_getaddresses: getaddrinfo failed: No address associated with hostname"

    Anyone know how to fix this?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. PHP Framework
    By Multivit4min in forum Permission System
    Replies: 1
    Last Post: June 29th, 2015, 11:28 AM
  2. PHP Framework
    By phil998 in forum Server Support
    Replies: 0
    Last Post: February 25th, 2015, 06:27 PM
  3. TS3 PHP Framework Visualizations
    By Ronin Design in forum Tools / Web Based
    Replies: 2
    Last Post: February 22nd, 2015, 05:04 AM
  4. Extraction using the Framework
    By HarryMW in forum Tools / Web Based
    Replies: 1
    Last Post: August 3rd, 2012, 07:04 PM
  5. Teamspeak, PHP Framework?
    By mario2027 in forum General Questions
    Replies: 1
    Last Post: December 21st, 2010, 09:30 AM

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
  •