Teamspeak Integration

Teamspeak Integration 1.3.8 Alpha

No permission to download
Yeah i saw that. Seems to be a "switch" kind of glitch. Like, each time you do it it switches, not when it's actually on.

(Example: I removed a usergroup while in an existing one before teamspeak handled the changes, and then teamspeak gave me the usergroup anyways.)

Also, an option to "layer" them would be nice. (multiple usergroups in TS)

This will fix issues with the multi-usergroups. Because right now our low-level usergroup is winning out over our admin usergroup. haha. ;)

Looking pretty awesome though!
Hmmm could you elaborate please :C
 
This addons looks awesome.

Does it exists a TS Viewer Demo? And some screenshots would be nice.
 
Basically it switches if there is a change.


Example A: how it should work



No problems there. Works fine. Now let's say you have a usergroup added before the plugin is installed

Example B:
So like if a usergroup doesn't have the permission set, it shouldn't remove any users in said usergroup upon editing a user?
 
Ok next update is done, just need more bugs explained and maybe a few features.
It will have the following:
- Allow users to toggle alerts being sent to the Teamspeak server
- A global option to disable alerts being sent (no usergroup option since I can't think of a legitimate purpose for it)
- Widget for the Teamspeak Viewer
- Cronjob that dumps the Teamspeak server activity into an html file (super fast and viewer page + widget will have zero slowtime)(cornjob runs every 15 minutes. Yes you read that right. cornjob)
 
Alright I updated to the latest version. How do I make it so that alerts are sent to people on TS? Can't seem to get that part to work.
 
I just found an insane amount of these errors in my log.

TeamSpeak3_Helper_Exception: invalid URI supplied - library/Teamspeak/API/Helper/Uri.php:133
Generated By: Unknown Account, 1 minute ago
Stack Trace
#0 /home/rpdom/public_html/library/Teamspeak/API/TeamSpeak3.php(303): TeamSpeak3_Helper_Uri->__construct('serverquery://R...') #1 /home/rpdom/public_html/library/Teamspeak/Helper/Query.php(28): TeamSpeak3::factory('serverquery://R...') #2 /home/rpdom/public_html/library/Teamspeak/Helper/Alert.php(7): Teamspeak_Helper_Query->_queryInstance('Unbridled Origi...') #3 /home/rpdom/public_html/library/Teamspeak/Deferred/Alert.php(9): Teamspeak_Helper_Alert->_sendAlert('You have receiv...', 'Unbridled Origi...', Array) #4 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(198): Teamspeak_Deferred_Alert->execute(Array, Array, 9.7084479332, 'Teamspeak_Defer...') #5 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 9.7084479332, 'Teamspeak_Defer...', false) #6 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, 'Teamspeak_Defer...', false) #7 /home/rpdom/public_html/deferred.php(18): XenForo_Model_Deferred->run(false) #8 {main}
Request State
array(3) { ["url"] => string(33) "http://www.rpdom.com/deferred.php" ["_GET"] => array(0) { } ["_POST"] => array(4) { ["_xfRequestUri"] => string(15) "/account/alerts" ["_xfNoRedirect"] => string(1) "1" ["_xfToken"] => string(8) "********" ["_xfResponseType"] => string(4) "json" } }


Any ideas?
 
Heres another bug that keeps appearing in over 45 pages:


TeamSpeak3_Adapter_ServerQuery_Exception: max clients protocol limit reached - library/Teamspeak/API/Adapter/ServerQuery/Reply.php:314
Generated By: Unknown Account, 29 minutes ago
Stack Trace
#0 /home/rpdom/public_html/library/Teamspeak/API/Adapter/ServerQuery/Reply.php(91): TeamSpeak3_Adapter_ServerQuery_Reply->fetchError(Object(TeamSpeak3_Helper_String)) #1 /home/rpdom/public_html/library/Teamspeak/API/Adapter/ServerQuery.php(141): TeamSpeak3_Adapter_ServerQuery_Reply->__construct(Array, 'login client_lo...', Object(TeamSpeak3_Node_Host), true) #2 /home/rpdom/public_html/library/Teamspeak/API/Node/Abstract.php(73): TeamSpeak3_Adapter_ServerQuery->request('login client_lo...', true) #3 /home/rpdom/public_html/library/Teamspeak/API/Node/Abstract.php(97): TeamSpeak3_Node_Abstract->request('login client_lo...') #4 /home/rpdom/public_html/library/Teamspeak/API/Node/Host.php(839): TeamSpeak3_Node_Abstract->execute('login', Array) #5 /home/rpdom/public_html/library/Teamspeak/API/TeamSpeak3.php(318): TeamSpeak3_Node_Host->login(Object(TeamSpeak3_Helper_String), Object(TeamSpeak3_Helper_String)) #6 /home/rpdom/public_html/library/Teamspeak/Helper/Query.php(28): TeamSpeak3::factory('serverquery://R...') #7 /home/rpdom/public_html/library/Teamspeak/Helper/Alert.php(7): Teamspeak_Helper_Query->_queryInstance('Deus's-Bot') #8 /home/rpdom/public_html/library/Teamspeak/Deferred/Alert.php(9): Teamspeak_Helper_Alert->_sendAlert('You have receiv...', 'Deus', false) #9 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(198): Teamspeak_Deferred_Alert->execute(Array, Array, 6.55675792694, 'Teamspeak_Defer...') #10 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 6.55675792694, 'Teamspeak_Defer...', false) #11 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, 'Teamspeak_Defer...', false) #12 /home/rpdom/public_html/deferred.php(18): XenForo_Model_Deferred->run(false) #13 {main}
Request State
array(3) { ["url"] => string(33) "http://www.rpdom.com/deferred.php" ["_GET"] => array(0) { } ["_POST"] => array(4) { ["_xfRequestUri"] => string(30) "/threads/silver-surfers.57668/" ["_xfNoRedirect"] => string(1) "1" ["_xfToken"] => string(8) "********" ["_xfResponseType"] => string(4) "json" } }
 
Heres another bug that keeps appearing in over 45 pages:


TeamSpeak3_Adapter_ServerQuery_Exception: max clients protocol limit reached - library/Teamspeak/API/Adapter/ServerQuery/Reply.php:314
Generated By: Unknown Account, 29 minutes ago
Stack Trace
#0 /home/rpdom/public_html/library/Teamspeak/API/Adapter/ServerQuery/Reply.php(91): TeamSpeak3_Adapter_ServerQuery_Reply->fetchError(Object(TeamSpeak3_Helper_String)) #1 /home/rpdom/public_html/library/Teamspeak/API/Adapter/ServerQuery.php(141): TeamSpeak3_Adapter_ServerQuery_Reply->__construct(Array, 'login client_lo...', Object(TeamSpeak3_Node_Host), true) #2 /home/rpdom/public_html/library/Teamspeak/API/Node/Abstract.php(73): TeamSpeak3_Adapter_ServerQuery->request('login client_lo...', true) #3 /home/rpdom/public_html/library/Teamspeak/API/Node/Abstract.php(97): TeamSpeak3_Node_Abstract->request('login client_lo...') #4 /home/rpdom/public_html/library/Teamspeak/API/Node/Host.php(839): TeamSpeak3_Node_Abstract->execute('login', Array) #5 /home/rpdom/public_html/library/Teamspeak/API/TeamSpeak3.php(318): TeamSpeak3_Node_Host->login(Object(TeamSpeak3_Helper_String), Object(TeamSpeak3_Helper_String)) #6 /home/rpdom/public_html/library/Teamspeak/Helper/Query.php(28): TeamSpeak3::factory('serverquery://R...') #7 /home/rpdom/public_html/library/Teamspeak/Helper/Alert.php(7): Teamspeak_Helper_Query->_queryInstance('Deus's-Bot') #8 /home/rpdom/public_html/library/Teamspeak/Deferred/Alert.php(9): Teamspeak_Helper_Alert->_sendAlert('You have receiv...', 'Deus', false) #9 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(198): Teamspeak_Deferred_Alert->execute(Array, Array, 6.55675792694, 'Teamspeak_Defer...') #10 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(321): XenForo_Model_Deferred->runDeferred(Array, 6.55675792694, 'Teamspeak_Defer...', false) #11 /home/rpdom/public_html/library/XenForo/Model/Deferred.php(274): XenForo_Model_Deferred->_runInternal(Array, NULL, 'Teamspeak_Defer...', false) #12 /home/rpdom/public_html/deferred.php(18): XenForo_Model_Deferred->run(false) #13 {main}
Request State
array(3) { ["url"] => string(33) "http://www.rpdom.com/deferred.php" ["_GET"] => array(0) { } ["_POST"] => array(4) { ["_xfRequestUri"] => string(30) "/threads/silver-surfers.57668/" ["_xfNoRedirect"] => string(1) "1" ["_xfToken"] => string(8) "********" ["_xfResponseType"] => string(4) "json" } }
Oh gawd that means it's reached the 200 max query client D: I haven't experienced this on my server, so I'm not sure. I'm reading a restart fixes it but I'm trying to think if the addon would be doing this.
 
Oh gawd that means it's reached the 200 max query client D: I haven't experienced this on my server, so I'm not sure. I'm reading a restart fixes it but I'm trying to think if the addon would be doing this.

Why would it be reaching the max D:?

Also what about the other error and how does one get alerts?
 
Why would it be reaching the max D:?

Also what about the other error and how does one get alerts?
It should be just sending them. I think there is a glitch though when I was trying to fix the identity issue. Can you check your identity and see if it contains like extra backslashes for me?
 
It should be just sending them. I think there is a glitch though when I was trying to fix the identity issue. Can you check your identity and see if it contains like extra backslashes for me?

No slashes that don't belong in identities.

How are alerts supposed to look like on TS? Is it like when someone pokes you or something?

still getting more of the following error:

invalid URI supplied
 
No slashes that don't belong in identities.

How are alerts supposed to look like on TS? Is it like when someone pokes you or something?

still getting more of the following error:

invalid URI supplied
Oh I fixed that. Right now it makes a bot called {$username}'s Bot and sends you a message that's listed as 'You have received an Alert on the forum!'
I was only having that error on the new version, but try this fix:

Go to 'library/Teamspeak/Helper/Alert.php' and find this line:
PHP:
    $instance = $this->_queryInstance($username . "'s-Bot");

Replace that with this:
PHP:
    $botname= urlencode($username . "'s Bot");
    $instance = $this->_queryInstance($botname);

Hopefully I can get the next update out today :D
 
Oh I fixed that. Right now it makes a bot called {$username}'s Bot and sends you a message that's listed as 'You have received an Alert on the forum!'
I was only having that error on the new version, but try this fix:

Go to 'library/Teamspeak/Helper/Alert.php' and find this line:
PHP:
    $instance = $this->_queryInstance($username . "'s-Bot");

Replace that with this:
PHP:
    $botname= urlencode($username . "'s Bot");
    $instance = $this->_queryInstance($botname);

Hopefully I can get the next update out today :D

Nothing seems to have changed. Not getting any messages. I'll just wait for your update.

Hopefully you get rid of the two annoying errors that keep appearing in the log hundreds of times as well. Other then that looking good so far!

Might work on some template edits to make the index/integration pages different.
 
Nothing seems to have changed. Not getting any messages. I'll just wait for your update.

Hopefully you get rid of the two annoying errors that keep appearing in the log hundreds of times as well. Other then that looking good so far!

Might work on some template edits to make the index/integration pages different.
I would love for that to be included in the update!
I finally learned how to use constructors properly (learning as I go lol) so all errors are gone. Can you list those exact errors (just the title, no description pwease :C ), it would be appreciated!
 
I would love for that to be included in the update!
I finally learned how to use constructors properly (learning as I go lol) so all errors are gone. Can you list those exact errors (just the title, no description pwease :C ), it would be appreciated!

Perhaps next update! We are working on a style, so I have do finish other things first, sorry ;(.

name of errors:
max clients protocol limit reached
invalid URI supplied

Once I do something neat with the templates I'll just PM it to you.

I have to leave for now, so I won't be able to respond for atleast 6 hours but hopefully there will be a shiny new update when I return :D!
 
Perhaps next update! We are working on a style, so I have do finish other things first, sorry ;(.

name of errors:
max clients protocol limit reached
invalid URI supplied

Once I do something neat with the templates I'll just PM it to you.

I have to leave for now, so I won't be able to respond for atleast 6 hours but hopefully there will be a shiny new update when I return :D!
Not promising anything, I'm currently coding up grabbing user statistics so you can track stuff like time online and other fun stuff :3 I might just code grabbing it and finish the front-end later so we get the bugs sorted out!
 
Here is another bug: invalid parameter size

Really looking forward to your update :)!

600+ errors is quite annoying especially when they are all the same.
 
Top Bottom