Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
TS3 Group Manager Details »»
TS3 Group Manager
Version: 1.02, by WhatPulse WhatPulse is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.0.x Rating:
Released: 09-21-2010 Last Update: 09-22-2010 Installs: 23
Uses Plugins
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

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

File Type: zip ts3groupmanager.zip (13.6 KB, 187 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 09-23-2010, 06:50 AM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also what about handling banned users?
Reply With Quote
  #13  
Old 09-23-2010, 03:04 PM
WhatPulse WhatPulse is offline
 
Join Date: Sep 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 09-24-2010, 01:38 AM
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Posts: 877
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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?
Reply With Quote
  #15  
Old 09-24-2010, 10:12 PM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also when a user changes usergroup via the user cp with permission groups.
Reply With Quote
  #16  
Old 09-24-2010, 11:30 PM
Devil_Dog Devil_Dog is offline
 
Join Date: Jan 2010
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does someone have this running live. I'd like to check it out.
Reply With Quote
  #17  
Old 09-25-2010, 01:04 AM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Devil_Dog View Post
Does someone have this running live. I'd like to check it out.
We are running it but its for guild mates only. I can say this it works great it just needs a couple more features so its more automated. The admin interface could be better but it works. Run run our own teamspeak server off our dedicated server and it has no trouble interfacing with our server.
Reply With Quote
  #18  
Old 09-25-2010, 03:09 PM
optimatez optimatez is offline
 
Join Date: Oct 2009
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

we are running it on our server, as the developer is in our team :-p

you are welcome to come see it in action if you want. Rush is the one who made it (whatpulse here). ts3: voice.teampulverize.com:9987
website: teampulverize.com

i wont be around until sunday night though.
Reply With Quote
  #19  
Old 09-28-2010, 10:01 PM
WhatPulse WhatPulse is offline
 
Join Date: Sep 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post any other loose ends you can think of, I'm going to put out a big update next with everything and vbExperience support when the vbExperience dev fixes something.
Reply With Quote
  #20  
Old 09-29-2010, 03:10 PM
ImmortalForums ImmortalForums is offline
 
Join Date: Feb 2007
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instead of disabling the hook could you check for duplicate unique id's in the DB when submitting?
Reply With Quote
  #21  
Old 09-30-2010, 10:44 PM
6FRGaming 6FRGaming is offline
 
Join Date: Jul 2010
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit: NM. I guess my server provider doesn't allow a permission that this script requires.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 04:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13778 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete