Forum

Page 7 of 100 FirstFirst ... 567891757 ... LastLast
Results 91 to 105 of 1493
  1. #91
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    Quote Originally Posted by Clone1B View Post
    I can't seem to get the custominfo working with the tokenCreate() function.

    My function is:
    Code:
    tokenCreate(TeamSpeak3::TOKEN_SERVERGROUP,12,0,"Auth Token","ident=name value=Testing")
    Am I doing something wrong here?
    Try it with TeamSpeak3_Helper_String instead of plain strings

  2. #92
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,495
    Quote Originally Posted by faralsimbor View Post
    Try it with TeamSpeak3_Helper_String instead of plain strings
    That shouldn't make any difference...

  3. #93
    Join Date
    June 2010
    Location
    England
    Posts
    17
    Quote Originally Posted by ScP View Post
    I think what you did is correct. Please note that the client does NOT show the custom properties of the token. Instead the ident => value pairs will be PERMANENTLY bound to a client in the database (the person who uses the token) and you can query them later using the customsearch and custominfo commands.

    This feature is intended to be used when implementing TS3's auth system into an external login script (e.g. what you're trying to do with the EVE API).
    What I ment was, when I run this command it dosn't error, but when trying to search for someone using the custom info a non-found error is returned.

  4. #94
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,495
    The new version is now available for download. Here's the changelog:

    Code:
    === Release 1.0.33-beta - 19 Sep 2010 ===
     ! upgrading your servers to 3.0.0-beta29 (build >= 12327) is mandatory
     ! example pages will no longer support outdated Internet Explorer versions
       so please be sure to use a modern browser
     + added TeamSpeak3_Node_Server::permReset()
     - fixed "convert error" issues when using a TeamSpeak3_Node_Abstract object
       as command parameter
     * TeamSpeak3_Node_Client::getIcon() now respects client_flag_talking again
     * TeamSpeak3_Viewer_Html interface now supports client country flags
    
    === Release 1.0.32-beta - 25 Aug 2010 ===
     + added TeamSpeak3_Helper_String::isInt()
     + added TeamSpeak3_Node_Host::setLoadClientlistFirst()
     * TCP/UDP streams will by default be opened in blocking mode
     * factory URI now accepts all flags as options thus supporting multiple flags
       at once including both TeamSpeak 3 Client display modes for viewer scripts
     - fixed invalid usage of parameter for blocking/non-blocking mode on a stream
     - fixed invalid conversion of float values while parsing ServerQuery replies
     * internal release only
    Happy testing!


  5. #95
    Join Date
    July 2010
    Location
    Stuttgart
    Posts
    6
    Hi!

    The Download links to TS3_PHP_Framework-1.0.31b.zip. Not 1.0.33

  6. #96
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,495
    Quote Originally Posted by floeH View Post
    Hi!

    The Download links to TS3_PHP_Framework-1.0.31b.zip. Not 1.0.33
    Fixed. Thanks for the hint...


  7. #97
    Join Date
    July 2010
    Location
    Stuttgart
    Posts
    6
    Thanks for fixing. Great improvements and nice new features!
    Still in love with this framework!

    But since some days I could not create tokens. There is always a exception "invalid parameter". But when I compare the command with an other webinterface there is no difference (same selected vserver). Is there any change that I have overslept? :/

  8. #98
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,495
    Quote Originally Posted by floeH View Post
    But since some days I could not create tokens. There is always a exception "invalid parameter". But when I compare the command with an other webinterface there is no difference (same selected vserver). Is there any change that I have overslept? :/
    I don't know, but I wanted to re-test the token stuff anyway since Clone1B reported a problem with the customset parameter. If there's an issue I'll fix it asap.



    Thank you for your feedback!

  9. #99
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    Hey ScP,

    I've tested the non-blocking mode, but i don't understand why your readline() function appears to run in blocking mode allways?

    e.g.
    if i connect your factory in non-blocking mode i except that getTransport()->readline() returns immediatly after call if no data available on the stream. But your function waits for incomming data.

  10. #100
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,495
    Quote Originally Posted by faralsimbor View Post
    Hey ScP,

    I've tested the non-blocking mode, but i don't understand why your readline() function appears to run in blocking mode allways?

    e.g.
    if i connect your factory in non-blocking mode i except that getTransport()->readline() returns immediatly after call if no data available on the stream. But your function waits for incomming data.
    Sounds reasonable... but the reason I solved the existing non-blocking mode issue like this is that I'm going to implement another event based ServerQuery adapter class that will also deal with the notification messages sent by the server. The current ServerQuery adapter simply ignores those messages.



    I'm currently in the process of implementing signal slots so you'll be able to register for various events (i.e. QUERY_CONNECTED, QUERY_DISCONNECTED, ...) so you can extend the functionality of the libraries without changing the code.
    Last edited by ScP; September 21st, 2010 at 08:17 PM.

  11. #101
    Join Date
    January 2010
    Location
    france
    Posts
    4
    hi ,


    sory for my bad english ..

    I'll try to display on the a:hover , the client avatar .. , but it only display the name of the client avatar

    $detail .= "Pseudo: " . $node["client_nickname"] . " | Version: " . $node["client_flag_avatar"] . " | Platform: " . $node["client_platform"].

    how can i do to display the client flag avatar please ?

  12. #102
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,495
    I think you're on the wrong side of the road buddy...
    1. The property called client_flag_avatar only contains the filename of the clients avatar on the server and has no value when no avatar is set.
    2. You cannot display images using the HTML title attribute.
    You'll need to download the image through a file transfer connection. Please check the example pages as they contain the code snippets to do this. Also, you need to use a different type of tooltip that can display images.

  13. #103
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    Is there an easy way to get the effective client rights ?

  14. #104
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,495
    Quote Originally Posted by faralsimbor View Post
    Is there an easy way to get the effective client rights ?
    Yes. To get a list of your own permissions, simply execute the TeamSpeak3_Node_Server::selfPermOverview() method.

  15. #105
    Join Date
    January 2010
    Location
    Germany
    Posts
    252
    Quote Originally Posted by ScP View Post
    Yes. To get a list of your own permissions, simply execute the TeamSpeak3_Node_Server::selfPermOverview() method.
    yea, but how do i call this within TeamSpeak3_Node_Client ?

    found.

    TeamSpeak3_Node_Client:: permOverview()
    Last edited by faralsimbor; September 27th, 2010 at 10:01 PM. Reason: solved

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •