Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Teamspeak 3 Group Sync
#1
Eine neue Erweiterung wurde veröffentlicht: Teamspeak 3 Group Sync

Zitat:A plugin to sync forum groups to TS3 groups.


Requires the Teamspeak 3 PHP Framework installed in the MyBB Root folder!


The project is hosted at GitHub: https://github.com/TerranUlm/MyBB-Plugin...c/releases

Use GitHub for support requests, please.

Quick guide:

TS3 setup:

You need to create a serverquery account - dont use the superadmin account for that! I'll recommend YaTQA (http://yat.qa/) as a TS3 admin tool.
The account needs only an limited set of permissions (I've put them in a Query Group):
  • b_serverinstance_virtualserver_list

  • b_serverquery_login

  • b_serverinstance_textmessage_send

  • b_virtualserver_select

  • b_virtualserver_info_view

  • b_virtualserver_client_dblist

  • b_virtualserver_modify_channel_temp_delete_delay_default

  • i_channel_create_modify_with_temp_delete_delay 86400

  • b_channel_modify_temp_delete_delay

  • b_virtualserver_servergroup_client_list

  • b_virtualserver_channelgroup_client_list

  • i_group_needed_modify_power 99

  • i_group_member_add_power 99

  • i_group_needed_member_add_power 99

  • i_group_member_remove_power 99

  • i_group_needed_member_remove_power 99

  • b_group_is_permanent

  • i_group_auto_update_type 50

  • b_client_permissionoverview_own

  • i_client_needed_kick_from_server_power 100

  • i_client_needed_kick_from_channel_power 100

  • i_client_needed_ban_power 100

  • i_client_needed_move_power 100

  • i_client_needed_complain_power 100

  • b_client_create_modify_serverquery_login

  • i_client_permission_modify_power 99
Adjust the numbers to your servers needs!

MyBB Settings:

The plugin adds a new tab in the ACP for each group where you can configure the correspondig Teamspeak 3 permissions:
  • Server Group ID (Database ID of the Server Group)


  • Teamspeak3 Channel Data:
    • Teamspeak 3 Channel ID (Database ID of the Channel)

    • Sort Order (highest number wins as a user can be member of one channel group per channel only)

    • Teamspeak 3 Channel Group ID (Database ID of the Channel Group)
The plugin also adds a section to the MyBB Settings:
  • Teamspeak 3 Group Sync
    • Teamspeak 3 Server address (Set the Teamspeak 3 Server IP or hostname)

    • Teamspeak 3 Server Query Port (Set the Teamspeak 3 Server Query Port)

    • Teamspeak 3 Server Query User (Set the Teamspeak 3 Server Query User)

    • Teamspeak 3 Server Query User Password (Set the Teamspeak 3 Server Query User Password)

    • Teamspeak 3 Virutal Server Port (Set the Teamspeak 3 Virtual Server Port)

    • Teamspeak 3 Server Guest Channel Group ID (This will be the default group for channels controlled by this plugin)

The plugin adds three new custom profile fields. The users have to put their TS3 unique IDs in those fields. Usually they only need one but some users might have multiple computers and don't know how to transfer the ID and just create a new one.

Now for the fun part: 

Setting up how a forum group is synced to TS3:

E.g. you want to sync the forums administrators groups to the TS3 serveradmin group, so everyone that is a administrator in your forum also becomes a serveradmin at your TS3 server.
  • Edit the Administrator group

  • go to the new "Teamspeak 3" tab

  • go to TS3 and lookup the group ID of your serveradmin group, e.g. 35

  • put "35" in the "Teamspeak 3 Server Group ID" field

  • you could stop here and save now, which would trigger the sync task

  • or you could also setup a channel group, e.g. you have a "Admin only" channel in TS3 and want limit access to that channel by other means than the server group, e.q. for moderators as well which aren't serveradmins in TS3

  • go to TS3 and figure the required values for the "Teamspeak3 Channel Data" section and put them in there

  • save

  • wait a bit (you might want to turn on the "see serverquery users" settings in your TS3 client profile for that server)

  • done
The plugin kinda slows down the group editing as it always syncs on save. 
If users add their ID to the custom profile fields the sync isn't triggered instantly, instead it is started about every 30 minutes. You can change that interval in the tast manager section of the forum.

The plugin also writes a logfile to the cache folder of the forum, so if things aint working properly, check there first.
Zitieren
#2
Eine neue Version wurde veröffentlicht: Teamspeak 3 Group Sync 1.1.1
Zitieren
#3
Eine neue Version wurde veröffentlicht: Teamspeak 3 Group Sync 1.1.5
Zitieren
#4
Hallo,

Ich habe Teamspeak 3 Group Sync erfolgreich installiert und alles eingetragen. Beim ändern der Benutzergruppen (Servergroup_ID eintragen) oder auch andere Einstellung im Bezug von Gruppen bekomme ich folgenden Error:


MyBB has experienced an internal SQL error and cannot continue.

[spoiler]
SQL Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'uf.,uf. FROM mybb_userfields as uf JOIN mybb_users as u ON uf.ufid=u.uid WHERE (' at line 1

Query:select uf.ufid,u.username,u.usergroup,u.additionalgroups,uf.,uf.,uf. FROM mybb_userfields as uf JOIN mybb_users as u ON uf.ufid=u.uid WHERE (uf. IS NOT NULL OR uf. IS NOT NULL OR uf. IS NOT NULL) AND (uf. != '' OR uf. != '' OR uf. != '')
[/spoiler]

URL: king-gaming.de
Style: duende
Plugins: Teamspeak 3 Group Sync, PluginLibary (TS3PHPFramework im ROOT-Ordner)
MyBB: 1.8.7
PHP: 5.6.22-0+deb8u1
SQL: MySQL 5.5.5
Hast du dein MyBB Forum von einer anderen Boardsoftware konvertiert? Nein
Hast du ein Update/Upgrade durchgeführt? Nein
Seit wann tritt das Problem auf? Nach der Installation von Teamspeak 3 Group Sync (bei deaktivierung geht es wieder)
Wird eine Fehlermeldung ausgegeben? Welche? Wann? Nach dem Abspeichern triit die Fehlermeldung auf.

Vielen Dank für euere Zeit.

Rick

Hallo,

Ich habe das Forum neuaufgesetzt diesmal mit MYSQLli. Ich bekomm jetzt bei der Installation folgender Meldung:

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1054 - Unknown column 'editable' in 'field list'
Query:
INSERT INTO mybb_profilefields (`name`,`description`,`disporder`,`type`,`length`,`maxlength`,`required`,`editable`,`hidden`,`postnum`) VALUES ('TeamspeakID 1','eindeutige Teamspeak ID, zu finden unter "Einstellungen->Identitäten->Standard->Eindeutige ID"',7,'text',70,60,0,1,0,0)

Soweit mein Englisch reicht findet er eine "Spalte nicht" wie kann ich diese einfügen? Bzw. sollte ich diese einfügen?

Mfg,

Rick
Zitieren
#5
Hey,

Es gibt eine neue Version auf Github, die diesen Fehler behebt und auch den Bot startet! Vielleicht konnte ich auch weiterhelfen. Vielleicht mal ändern @StefanT


Mit freundlichen Grüßen,

Rick
Zitieren
#6
Die neue Version gibt es doch hier auch. Du musst nur die letzte Development Build auswählen anstatt der Stable Version zum Download. Wink
Zitieren
#7
Eine neue Version wurde veröffentlicht: Teamspeak 3 Group Sync 1.2.0
Zitieren
#8
Hallo,
Wir haben das ein problem wo wir feststecken unsere Forum version ist die 1.8.22

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'uf.,uf. FROM mybb_userfields as uf JOIN mybb_users as u ON uf.ufid=u.uid WHERE (' at line 1
Query:
select uf.ufid,u.username,u.usergroup,u.additionalgroups,uf.,uf.,uf. FROM mybb_userfields as uf JOIN mybb_users as u ON uf.ufid=u.uid WHERE (uf. IS NOT NULL OR uf. IS NOT NULL OR uf. IS NOT NULL) AND (uf. != '' OR uf. != '' OR uf. != '')


Wir finden nicht wirklich denn Fehler könnten sie uns da Behilflich sein? Würden uns sehr Freuen.
Zitieren
#9
Hallo,

ich habe das Plugin auch schon einmal installiert und das läuft immer noch richtig ohne Probleme. Hast du Änderungen am Quellcode vorgenommen? Oder hast du es original installiert?

Grüße
JAY
Zitieren
#10
Hallo,
Wir haben alles Original gelassen und haben es wie in der Anleitung installiert oder mussten wir da noch was ändern?
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  MyBB - Discord Right Sync MyBB.de Bot 0 1.508 28.07.2021, 23:30
Letzter Beitrag: MyBB.de Bot
  TeamSpeak 3 Functions MyBB.de Bot 8 3.122 20.12.2017, 01:05
Letzter Beitrag: MyBB.de Bot
  Teamspeak MyBB.de Bot 1 2.063 25.04.2010, 18:28
Letzter Beitrag: MrBrechreiz