• warforever.com is open to the public, non-registered users can post and download resources for free. Have a nice stay!

valai

XF 2.0 / 2.1 / 2.2 XF2 [8WR] Discord Integration 2.1.1.9

valaiVerified member

Administrator

Staff member
Vip Member
Reputation: 100%
Messages
979
Reaction score
71
This addon integrates your Discord server with your XenForo forums. It allows you to assign roles on your Discord server based on usergroups in XenForo, as well as post messages directly from XenForo to your Discord server.


Basic Features :
  • Allows registration/login on XenForo through Discord OAuth2
  • Assign roles on your guild/server based on usergroups in XenForo
  • Enforce username matching from XenForo to your guild/server
  • Enforce bans on your guild/server when someone is banned on XenForo
  • Post new threads, replies and status updates to channels on your guild/server
Installation :

Version 2.1.1.2 CHANGELOG : Fixed an error with the upgrade script in the last version.
Version 2.1.1.3 CHANGELOG : Fixed direct messaging for private message conversations.
Version 2.1.1.4 CHANGELOG : Fixed a bug related to some leftover code from an older version.

Version 2.1.1.5 CHANGELOG :
Widgetbot Bot Cluster disweb.dashflo.net has been deprecated. It has been replaced by e.widgetbot.io . It is highly recommended you update your bot cluster setting if you use Widgetbot.

Version 2.1.1.6 CHANGELOG :
Added support for Discord's new "Community Server" system. The bot can now post directly to announcement channels on your Discord server.
Added support for XenPorta articles. Now when you promote a thread to an article in XenPorta, you can have the article posted to your Discord server as well; with large article images too!
Normalized some URLs as Discord has changed it's primary url from discordapp.com to discord.com

Version 2.1.1.7 - CHANGELOG :
When posting messages to Discord, their rate limits only allow 5 posts per second. So if XenRio tried to post new streams, and there were more than 5 streams, many streams would get lost. I've added a small delay per post, so that all streams get posted.
Over time, the cached data for connected accounts gets lost. This is EXPECTED BEHAVIOR, as outlined by XenForo staff here. However, because of a bug, instead of showing "unknown account" or "account associated", this addon's connected account would show an empty #. This bug is now fixed and will instead show "account associated", in order to prevent confusion.
Because of the confusion caused by the bug above, some intrepid admins felt the need to go into their databases and try to manually fix the missing information. In the process, they may have ended up deleting entries from the connected accounts table. Doing so, actually ends up breaking XenForo's connected account system and makes it impossible for the user to disassociate their account from Discord. In response to this, I have implemented a workaround that will force a cache reset and disassociate the account properly.

Version 1.1.1.8 CHANGELOG :
You can now sync "managed" roles from Discord to XenForo. A managed role, is a role automatically assigned on a Discord server by a bot; such as boosters or Twitch subscribers. Even on Discord, you can not manually assign these roles to users; so the sync direction is D->XF only.
I do not have any managed roles on my servers, so I have no way to test this feature. It is working theoretically. If you have any issues, let me know.
The roles list in the admin CP options is now ordered properly.
BUG FIX : fixed a bug where the addon would spam the error log if Discord reported zero users online on a server and the online count bubble was enabled.
BUG FIX : fixed a bug related to caching and the Widgetbot embed.

Version 21.1.9 - CHANGELOG
BUG FIX :
Fixed a double posting bug where the bot will post a thread twice when the first post in a moderated thread gets approved.
BUG FIX : Fixed a bug where on some browsers, user role sync relations will not properly apply a default value for the sync direction on managed roles. You will have to click "save" in your admin CP settings once to apply this fix.
 
XF 2.0 / 2.1 / 2.2  [tl] Avatar Moderation  2.0.3

Attachments

Last edited:
Relate Threads
[NixFifty] Discord Integration
[NixFifty] Discord Integration bởi valai,
[XFA] RM Donations - XF2
[XFA] RM Donations - XF2 bởi valai,
[tl] Sendy Integration
[tl] Sendy Integration bởi valai,
[XFA] Tags Generator - XF2
[XFA] Tags Generator - XF2 bởi valai,
[XFA] Default editor format - XF2
[XFA] Default editor format - XF2 bởi valai,
Back
Top