1. Рады видеть Вас на русскоязычном форуме TeamSpeak!

    У нас Вы можете скачать последнюю версию:

    Перед регистрацией рекомендуем ознакомиться

    с Правилами форума.

    Присоединяйтесь! Учите и обучайтесь!

    Скрыть объявление
  2. Новая группа "Новичок" на нашем форуме!

    Новые пользователи будут попадать в группу "Новичок".

    Это сделано для того чтобы "Новички" ознакомились с форумом, так как в большинстве случаев проблема с которой вы хотите обратиться уже обсуждалась.

    Перейти в тему обсуждения
    Быстрый переход в группу Пользователь
  3. VPS/VDS и дедикейт сервера в аренду с DDoS защитой

    • Низкий пинг
    • Действующий SLA
    • Рублевые цены без привязки к курсу валют

    Бесплатный тестовый период VPS-OpenVZ

    Попробовать

Интеграция ts3admin.class для PHP 1.0.2.1

ts3admin.class для PHP

  1. PaCTa

    PaCTaIcon TeamSpeak Addic Администратор

    Регистрация:
    15 ноя 2007
    Сообщения:
    1.231
    Симпатии:
    326
    Баллы:
    898
    ts3admin.class мощная библиотека запросов для TeamSpeak 3 сервера, написанная на PHP и содержащая в себе много полезных функций.
    Код:
    Tested compatibility to version: 3.0.8 x64
    __________________________________________
    
    Version: 0.6.9.0 - Sat, 17 Aug 2013
    ~ changed documentation of sendMessage
    ~ fixed conversion error in tokenAdd function (thanks to PickleKillz from Iron Vengeance)
    ~ fixed misnamed parameter in channelGroupAddPerm function (thanks to Xerxates)
    
    Version: 0.6.8.1 - Sun, 03 Mar 2013
    ~ hotfix, fixed a bug in permOverview that permid can be used with permid = 0
    
    Version: 0.6.8.0 - Sun, 03 Mar 2013
    ! permissionList with parameter new can just be used in version >= 3.0.7
    + added parameter new to permissionList
    ~ changed logic of permissionList to be compatible with server version 3.0.7
    ~ fixed a bug in selectServer (thanks to Psychokiller)
    ~ fixed a bug in serverTempPasswordAdd (thanks to Mauri Meskanen)
    
    Version: 0.6.7.0 - Fri, 22 Feb 2013
    ! changed version numbers to 4 seperated numbers
    ! changed documentation generator to phpDocumentor 2
    + added groupDbType parameter to channelGroupAdd function
    + added release date to changelog
    + added new parameters to ftRenameFile function
    + added succeeded function
    + added cpw parameter to serverTemppasswordAdd function
    ~ overworked each method description
    ~ overworked most functions to a shorter code
    ~ changed logic of channelAddPerm function to a safer way
    ~ changed logic of channelClientAddPerm function to a safer way
    ~ changed logic of channelGroupAddPerm function to a safer way
    ~ changed logic of clientAddPerm function to a safer way
    ~ changed logic of clientDelPerm function to a safer way
    ~ changed logic of serverGroupAddPerm function to a safer way
    ~ clientAddPerm also accepts permsid's right now
    ~ clientDelPerm also accepts permsid's right now
    ~ channelAddPerm also accepts permsid's right now
    ~ channelClientAddPerm also accepts permsid's right now
    ~ channelDelPerm also accepts permsid's right now
    ~ channelGroupAddPerm also accepts permsid's right now
    ~ channelGroupDelPerm also accepts permsid's right now
    ~ channelGroupPermList also accepts permsid's right now
    ~ serverGroupAddPerm also accepts permsid's right now
    
    Version: 0.6.6
    ~ fixed parameternames of channelgroupclientlist()
    
    Version: 0.6.5
    + added function serverTemppasswordAdd
    + added function serverTemppasswordDel
    + added function serverTemppasswordList
    + added new example to view the return value of a command
    ~ fixed misbehavior in all examples
    
    Version: 0.6.4
    ~ adjust code of logView to be compatible with v3.0.1
    
    Version: 0.6.3
    ~ fixed bug in tokenAdd function
    
    Version: 0.6.2
    ~ changed domain name in every file
    ~ compatibility check
    
    Version: 0.6.1
    + added missing php close tag at the end of the file
    ~ fixed error in clientDbList by execution without parameters
    
    Version: 0.6.0
    + added clientDbInfo method
    ~ changed serverCreate parameter to optional
    ~ changed serverCreate method to prevent errors
    ~ changed comments of methods
    
    Version: 0.5.9
    ~ changed license version
    ~ changed readme
    
    Version: 0.5.8
    + added serverGroupCopy method
    + added channelGroupCopy method
    
    Version: 0.5.7
    + added type parameter to serverGroupAdd
    ~ changed all addPerm methods to prevent errors
    
    Version: 0.5.6
    + added __call method
    ~ fixed infinite loop when script got banned
    
    Version: 0.5.5
    ! this version is now compatible with psychokillers webinterface
    + added permOverview method
    + added char(01) to escape method
    ~ changed executeCommand packet splitting to prevent errors
    
    Version: 0.5.4
    ! changed way of sending data to support beta30-pre again
    ~ fixed missed return value in serverGroupAdd method
    ~ fixed missed return value in channelGroupAdd method
    ~ fixed wrong serverquery command in channelGroupDelPerm method
    
    Version: 0.5.3
    ~ fixed wrong parameter handling in gm method
    ~ changed parameter sort order of ftInitUpload method
    ~ fixed 3 bugs in clientDbList method
    ~ fixed wrong serverquery command in channelClientDelPerm
    ~ fixed wrong parameter in serverGroupDeletePerm method
    ~ changed error handling in executeCommand method
    
    Version: 0.5.2
    ! changed way of sending data to support beta30-pre
    ~ changed replacement order in escape methods
    ~ change some method comments (missed newlines)
    
    Version: 0.5.1
    + added backslash escaping to escape methods
    + added permIdGetByName method
    ~ enabled dns support in connect method
    ~ changed description of many methods
    ~ fixed error trigger in getData method (Undefined offset: 1 notice)
    ~ fixed return of banClient method
    ~ fixed error that occures if server returns empty database result
    ~ fixed wrong param in channelList method
    ~ fixed wrong param in clientDelPerm method
    ~ fixed wrong param in selectServer method
    ~ fixed wrong param in selectEdit method
    ~ fixed wrong method execution in serverGroupDeleteClient
    ~ fixed wrong method execution in serverGroupRename
    ~ method gm now checks for empty message
    ~ filter for empty params in serverCreate
    - removed valid_ip method
    
    Version: 0.5.0
    ! complete class rewrited
    ! changed output of every method
    ! added fileTransfer management
    ! rewrote network methods
    ! changed debugManagement to a complex system
    
    I changed so much that it is impossible to notice everything.
    Fact is, that everything has changed to a faster, bigger and safer system.
    Please take a look at the documentation to understand the new way of returning data.
    
    Skip from 0.2.0 to 0.5.0
    
    Version: 0.2.0
    + added convertSecondsToStrTime method
    + added convertSecondsToArrayTime method
    + added channelAddPerm method
    + added channelClientAddPerm method
    + added channelClientDelPerm method
    + added channelClientPermList method
    + added channelDelPerm method
    + added channelGroupAddPerm method
    + added channelGroupDelPerm method
    + added clientAddPerm method
    + added clientDelPerm method
    + added ftGetFileList method
    ~ changed output of convertMillisecondsToStrTime method
    
    Version: 0.1.9
    + added instanceEdit method
    + added logView method
    + added logAdd method
    + added banAddByIp method
    + added banAddUid method
    + added banAddByName method
    + added clientGetDbIdFromUid method
    + added clientGetNameFromDbid method
    + added clientGetNameFromUid method
    + added $fullInfo param in serverCreate to get more informations
    ~ execOwnCommand now filters for forbidden help command
    ~ changed code of clientBan method
    ~ updated a lot of method descriptions
    
    Version: 0.1.8
    + added param to connect method to use it with old ts3 versions
    ~ changed connect method for Server Version >= Beta29
    
    Version: 0.1.7
    ~ changed contact data
    
    Version: 0.1.6
    + added execOwnCommand method
    + added tokenAdd method
    + added tokenDelete method
    + added setClientChannelGroup method
    + added channelGroupPermList method
    + added channelPermList method
    + added clientPermList method
    + added channelGroupList method
    + added channelGroupAdd method
    + added channelGroupRename method
    + added channelGroupDelete method
    + added channelCreate method
    + added channelEdit method
    + added channelDelete method
    + added channelMove method
    + added convertMillisecondsToArrayTime method
    ~ changed comment of serverGroupPermList
    
    Version: 0.1.5
    + added connect() check for networking methods
    + added clientFind method
    + added clientEdit method
    + added clientDbFind method
    + added clientDbEdit method
    + added clientDbDelete method
    + added clientGetIds method
    + added tokenList method
    ~ changed the login way of connect method
    ~ changed some comments
    
    Version: 0.1.4
    + added debug var
    + added debug fetching in all methods which need a selected server
    + added debug fetching in methods which manages network communication
    + added selectServerByPort method
    + added param $params for optinal params on serverList method
    + added param $params for optinal params on clientList method
    + added param $params for optinal params on clientDbList method
    + added param $params for optinal params on channelList method
    + added param $params for optinal params on banList method
    + added version method
    + added permissionlist method
    + added complainList method
    + added complainAdd method
    + added complainDelete method
    + added complainDeleteAll method
    + added serverGroupList method
    + added serverGroupAdd method
    + added serverGroupDelete method
    + added serverGroupRename method
    + added serverGroupPermList method
    + added serverGroupAddPerm method
    + added serverGroupDeletePerm method
    + added serverGroupAddClient method
    + added serverGroupDeleteClient method
    + added serverGroupClientList method
    + added serverGroupsByClientID method
    + added convertMillisecondsToStrTime method
    + added getDebugLog method
    ~ fixed return of login / logout methods
    ~ fixed newlines in serverList comment
    ~ fixed serverSelect check in sendMessage method
    ~ fixed error in __destruct method
    ~ fixed loop when you are banned
    ~ fixed an error in implodeText comment
    - removed login check because of different server configs
    - removed instanceAdmin check because of different server configs
    - removed loginSuperAdmin() because it uses the same method as login()
    - removed instanceAdmin var
    
    Version: 0.1.3
    + added some private vars
    + added __construct and __destruct method
    + added connect method
    + added a lot of new code comments
    + added sendMessage method
    ~ changed methods order
    ~ renamed changeName method to setName
    - removed connectToTeamspeak method
    
    Version: 0.1.2
    + added serverList method
    + added serverCreate method
    + added serverDelete method
    + added serverEdit method
    + added serverStart method
    + added serverStop method
    + added getServerIdByPort method
    + added serverRequestConnectionInfo method
    ~ fixed return value in login, logout and selectServer method
    ~ fixed error with a uninitialized var
    ~ changed the filtering method of executeCommand method
    
    Version: 0.1.1
    + added loginSuperadmin method
    + added instanceAdmin control var
    ~ fixed some output errors
    ~ changed the logic of a few methods
    
    Version: 0.1.0
    + added clientKick method
    + added clientBan method
    + added banList method
    + added banDelete method
    + added banDeleteAll method
    ~ fixed a problem with empty server response in multiarrays
    ~ changed some comments
    
     
  2. Persei

    Persei Пользователь

    Регистрация:
    15 фев 2014
    Сообщения:
    3
    Симпатии:
    0
    Баллы:
    32
    А какие именно функции содержатся?
     
  3. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
    почти все SQ, кроме customsearch и custominfo. это это быстро исправляется, сорцы очень читабельны по сравнению с TS3 PHP Framework :)

    ПыСы. в топике описана старая версия. текущая: 0.7.0.0 (28. January 2014)
     
  4. darkangel66

    darkangel66Icon TEAM-HOST.RU ATHP Премиум Пользователь

    Регистрация:
    12 июн 2012
    Сообщения:
    471
    Симпатии:
    201
    Баллы:
    672
    использовал данный класс в огромном числе проектов в том числе коммерческих, работает как часы! очень прост , нагляден и быстр.
    Однозначно рекомендую.
     
  5. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
    но у TS3 PHP Framework есть очень неплохая фишка: евенты в фоне
    Код:
    php -h /path/to/file.php &
     
  6. PaCTa

    PaCTaIcon TeamSpeak Addic Администратор

    Регистрация:
    15 ноя 2007
    Сообщения:
    1.231
    Симпатии:
    326
    Баллы:
    898
    Пользователь PaCTa обновил ресурс ts3admin.class для PHP новой записью:

    ts3admin.class для PHP 0.7.0.0

    Узнать больше об этом обновлении...
     
  7. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
    Пользователь VJean обновил ресурс ts3admin.class для PHP новой записью:

    ts3admin.class для PHP 0.8.0.0

    Узнать больше об этом обновлении...
     
  8. PaCTa

    PaCTaIcon TeamSpeak Addic Администратор

    Регистрация:
    15 ноя 2007
    Сообщения:
    1.231
    Симпатии:
    326
    Баллы:
    898
    Код:
    Version: 0.9.0.0 - Tue, 19 Jul 2016
    + added "-mapping" to the serversnapshotdeploy command
    + added customSearch function (thanks to VJe@n, who let me know that this function is missing)
    + added customInfo function (thanks to VJe@n, who let me know that this function is missing)
    ~ changed clientList example, because b_virtualserver_client_list's new default value
    ~ did some error prevention in tokenAdd function
    ! fixed bug in tokenAdd function that just the first ident of customset will be imported
    Подробнее об этом обновлении...
     
  9. PaCTa

    PaCTaIcon TeamSpeak Addic Администратор

    Регистрация:
    15 ноя 2007
    Сообщения:
    1.231
    Симпатии:
    326
    Баллы:
    898
    Код:
    Version: 1.0.0.0 - Tue, 19 Jul 2016
    + added permReset function
    + added permGet function
    + added permFind function
    + added messageAdd function
    + added messageDelete function
    + added messageGet function
    + added messageUpdateFlag function
    + added messageList function
    + added servergroupautoaddperm function
    + added servergroupautodelperm function
    + added -seconds_empty parameter to channelList documentation
    + added missing parameters to channelInfo documentation
    + added missing parameters to clientInfo documentation
    + added missing parameters to serverInfo documentation
    + added alias functions starting with 'priviledge' for token functions
    ~ changed internal code of permOverview (you don't need to change your code)
    ~ made time parameter in banAddByIp function optional
    ~ made time parameter in banAddByUid function optional
    ~ made time parameter in banAddByName function optional
    ~ made time parameter in banClient function optional
    Подробнее об этом обновлении...
     
    • Нравится Нравится x 1
  10. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
    GitHub release: https://github.com/par0noid/ts3admin.class/releases/tag/1.0.1.1 Подробнее об этом обновлении...
     
  11. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
  12. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
  13. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
  14. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
    ts3admin.class v1.0.2.0 (06 февраля 2017)
    • added channelClientList function
    • added channelGroupAddClient as alias for setClientChannelGroup function

    ts3admin.class v1.0.1.9 (31 января 2017)
    • added getIconByID function
    • added channelGroupGetIconByCGID function
    • added serverGroupGetIconBySGID function
    • added uploadIcon function
    • ftUploadFile seems to need no newline after sending fileTransferKey anymore, so I removed it
    • changed description of ftGetFileInfo +removed channelGetIconByID function, replacement is getIconByID

    Version: 1.0.1.8 (04 ноября 2016)
    • Changed misspelled property CHANNEL_CODEC (Thanks to Micky5991)
    • Force lowercase property-names for all create and edit functions (Thanks to Micky5991)
    Version: 1.0.1.7 (02 ноября 2016)
    • Added constants for opus codec (thanks to Nik99)
    Подробнее об этом обновлении...
     
  15. VJean

    VJean ǝноɯʚıqж Администратор Знаток

    Регистрация:
    26 июл 2014
    Сообщения:
    1.772
    Симпатии:
    389
    Баллы:
    775
Загрузка...