Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
TS3 Group Manager Details »
TS3 Group Manager
Mod Version: 1.02, by WhatPulse (Member) WhatPulse is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (3 votes - 5.00 average) Installs: 23
Released: 22 Sep 2010 Last Update: 23 Sep 2010 Downloads: 171
Not Supported Uses Plugins Additional Files Re-usable Code Translations Is in Beta Stage  

TS3 Group Manager is a lightweight plugin that allows TeamSpeak 3 server groups to integrate with vBulletin usergroups. You can configure the plugin to correlate any number of vBulletin usergroup IDs to TS3 server group IDs.

Mark as Installed to receive support.

Quick note! This is my first ever plugin for vBulletin so if something's wrong just yell at me angrily in all caps and I'll try my best to fix it Everything seems to be working perfectly in my tests though.

This should work with older versions of vBulletin, though I'm not exactly sure how to test it. If anyone knows how I can find out what the minimum version of vBulletin required to run this is, please post.

I do plan to add integration with vbExperience soon that would change a user's group in TS3 based on their vbExperience points.

Instructions
  1. Upload the items in the "upload" folder to your forum directory
  2. Add a custom user profile field (this will contain the user's TS3 unique ID)
    • This should be a single-line textbox
    • I also recommend to set this field to Required: Yes, Always, to avoid possible complications
    • Field length of 50 should suffice
  3. Install the product (product-ts3groupmgr.xml)
  4. Configure the TS3 server info through the plugin menu
  5. Configure group settings through the plugin menu
    • TS3 Unique ID Field Name setting can be viewed in the User Profile Field Manager. Field would most likely be named field1, field2, etc
    • For example, if you want vBulletin usergroup id 9 to correspond to TS3 server group id 333, and vB usergroup 8 to correspond to TS3 server group 334 - in TS3 Group IDs you would type "333,334" and in vBulletin Group IDs you type "9,8".

REMEMBER! You must set a custom user profile field containing each user's TS3 Unique ID!

Hook Information
This plugin activates 2 hooks by default. 1 hook (useradmin_update_save) will update the user's TS3 groups when editing their account with the User Manager in the vBulletin admin panel.

The 2nd hook (profile_updateprofile) will edit their TS3 groups when the user updates their profile.

For security reasons (if you do not want a user to be able to change their TS3 unique ID field to someone else's unique ID) you must de-activate the profile_updateprofile hook.

Suggestions for other areas to hook will be taken into consideration for future updates.

Credits
Par0noid for his outstanding TS3 administration php class
optimatez for the idea

Suggestions
Please make suggestions for new features! This plugin is still in its infancy and there are many more possibilities.

Changes
1.01 -> 1.02 - Fixed bug that deleted all TS3 groups when removing all additional vB usergroups
1.00 -> 1.01 - Fixed bug that didn't read primary usergroup from admin panel hook

If you find this plugin useful, please donate a nice meal to a starving college student

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases vBAdvanced Module: Teamspeak 3 / TS3 Viewer michael5472 vBulletin 3.8 Add-ons 5 15 Jun 2011 19:06
Group Plugins by Product in the ACP Plugin Manager Paul M Modification Graveyard 18 02 Jun 2006 12:22

Comments
  #2  
Old 22 Sep 2010, 14:53
Devil_Dog Devil_Dog is offline
 
Join Date: Jan 2010
Any chance of getting something like this for Ventrilo?
Reply With Quote
  #3  
Old 22 Sep 2010, 14:55
optimatez optimatez is offline
 
Join Date: Oct 2009
Confirmed working on vBulletin 3.8 :-D fantastic work.
Reply With Quote
  #4  
Old 22 Sep 2010, 15:40
WhatPulse WhatPulse is offline
 
Join Date: Sep 2010
Originally Posted by Devil_Dog View Post
Any chance of getting something like this for Ventrilo?
It might be possible, I'm almost positive RCon can be accessed in a similar way as the TS3 serverquery but I'm not interested in making that at the moment. Ventrilo groups and permissions are much more basic than TS3 and I don't feel it would benefit greatly from a plugin.
Reply With Quote
  #5  
Old 22 Sep 2010, 18:54
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Fantastic to see this mod!

What happens if a user gets promoted via the automatic promotion system in vb?

Last edited by ImmortalForums; 22 Sep 2010 at 22:46.
Reply With Quote
  #6  
Old 23 Sep 2010, 03:06
WhatPulse WhatPulse is offline
 
Join Date: Sep 2010
Originally Posted by ImmortalForums View Post
Fantastic to see this mod!

What happens if a user gets promoted via the automatic promotion system in vb?
Unfortunately promotions are done via cronjob script which does not contain any hooks.
Might be possible to hack in there though, I'll look into this for future versions.
Reply With Quote
  #7  
Old 23 Sep 2010, 05:28
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Originally Posted by WhatPulse View Post
Unfortunately promotions are done via cronjob script which does not contain any hooks.
Might be possible to hack in there though, I'll look into this for future versions.
What about putting another cron that follows through on that? Not sure if that's even possible.
Reply With Quote
  #8  
Old 23 Sep 2010, 07:01
WhatPulse WhatPulse is offline
 
Join Date: Sep 2010
Generally the less cronjobs running the better, it would probably just be easier to add a custom hook into the promotions cron script and distribute that along with a plugin. I'm currently working on getting plugins working to integrate with vBExperience, so I'll see about those promotions when I'm done.
Reply With Quote
  #9  
Old 23 Sep 2010, 07:05
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
I found a bug, if the user is in a secondary usergroup and a primary usergroup then you remove all their secondary usergroups but leave their primary usergroup the user is removed from all groups in teamspeak.
Reply With Quote
  #10  
Old 23 Sep 2010, 07:28
WhatPulse WhatPulse is offline
 
Join Date: Sep 2010
Good catch. I've submitted an update and the issue should now be fixed.
Reply With Quote
  #11  
Old 23 Sep 2010, 08:50
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Also what about handling banned users?
Reply With Quote
  #12  
Old 23 Sep 2010, 17:04
WhatPulse WhatPulse is offline
 
Join Date: Sep 2010
I do see a "Ban User" function in the admincp with a length of time to select. It is definitely possible to ban a user in TS3 for a certain amount of time that would be equivalent to their ban length on the forum. Problem is, again, there are no hooks in the ban user script for vBulletin.
I like the idea though and I'll definitely work on seeing if there's another way.

Last edited by WhatPulse; 23 Sep 2010 at 17:10.
Reply With Quote
  #13  
Old 24 Sep 2010, 03:38
ssslippy's Avatar
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Originally Posted by WhatPulse View Post
I do see a "Ban User" function in the admincp with a length of time to select. It is definitely possible to ban a user in TS3 for a certain amount of time that would be equivalent to their ban length on the forum. Problem is, again, there are no hooks in the ban user script for vBulletin.
I like the idea though and I'll definitely work on seeing if there's another way.
Hmm what about if banned via the warning system?
__________________
Immortal Guild - My Guilds Website
Reply With Quote
  #14  
Old 25 Sep 2010, 00:12
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Also when a user changes usergroup via the user cp with permission groups.
Reply With Quote
  #15  
Old 25 Sep 2010, 01:30
Devil_Dog Devil_Dog is offline
 
Join Date: Jan 2010
Does someone have this running live. I'd like to check it out.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:46.

Layout Options | Width: Wide Color: