Discord Integration

Discord Integration 2.8.6

Connect your Discord server to your XenForo board.

Discord Integration 2.8.6

Discord Integration 2.8.6 is now available for all licensed customers to download.
  • PHP 8.4 compatibility fixes.
  • Fix "TypeError: XF\Mvc\Entity\Entity::__construct(): Argument #1 ($em) must be of type XF\Mvc\Entity\Manager, XF\Pub\App given" on editing a server that requires a user resync.

Discord Integration 2.8.5

Discord Integration 2.8.5 is now available for all licensed customers to download.

Note that some functionality mentioned as being included in the 2.8.4 release was not actually included so this release resolves that.
  • Use password field for bot token and client secret values in the admin panel.
  • Add a per-server "Kick user if they are no longer in allowed user groups" flag.
  • Fix old sync long entries not being pruned as expected.
  • When modifying the XenForo user-group to Discord role mappings, only trigger a re-sync for the affected server to avoid excessive API calls.

Discord Integration 2.8.4

Discord Integration 2.8.4 is now available for all licensed customers to download.
  • Add a per-server "Kick user if they are no longer in allowed user groups" flag.
  • Avoid duplicate key errors when archiving jobs.
  • Give up trying to trigger jobs if they have failed 3 or more times.
  • Properly clean up jobs that have failed.
  • Fix kicking a user not actually kicking them.
  • Fix old sync long entries not being pruned as expected.
  • When modifying the XenForo user-group to Discord role mappings, only trigger a re-sync for the affected server to avoid excessive API calls.
  • Minor code improvements and stylistic changes.

Discord Integration 2.8.3

Discord Integration 2.8.3 is now available for all licensed customers to download.
  • Harden function to get Discord server mapping.
  • Fix group sync position tracking not being displayed correctly.

Discord Integration 2.8.2

Discord Integration 2.8.2 is now available for all licensed customers to download.
  • Add "server-ids" argument to `xf-rebuild:nf-discord-sync-log` command.
  • Reduce API calls when syncing XF usernames to Discord server usernames.
  • Fix `connected_account_associated_nfDiscord` template was out of date.
  • Fix updating the XF user group to Discord role mapping did not reliably re-sync all applicable users.
  • Ensure server ID is of the correct type when syncing.

Discord Integration 2.8.1

Discord Integration 2.8.1 is now available for all licensed customers to download.
  • Include additional contextual information when sending a notification to Discord. The content of these messages can be customised by editing the "nfDiscord_notice.*" phrases.
  • Fix per-server join announcements not being sent if the channel is on another server.
  • Fix "Join pending" not displaying correctly for relevant servers when the user refreshes the "Connected accounts" page.
  • Fix XF=>Discord sync logic could fail if the announcement channel was not set.

Discord Integration 2.8.0

Discord Integration 2.8.0 is now available for all licensed customers to download.
  • Add support for multiple servers when using XenForo to Discord role syncing.
  • Add support for XenForo Media Gallery and send notifications to Discord when new media is uploaded.
  • Add support for XR Product Manager and send notifications to Discord when products are purchased.
  • Add an option to globally disable sending Discord DMs.
  • Add a per-server allow list of user groups that can join a server.
  • First sync notifications now support multiple servers.
  • Display guild ID when viewing the server list.
  • Archive queue jobs to a separate table for additional logging.
  • When updating a resource, include the resource icon in the notification if it exists.
  • You may now upload a custom footer icon to be displayed within notifications.
  • The color associated with a notification can now be customised.
  • Include additional troubleshooting steps when Discord roles can not be fetched.
  • Update included widget to look and feel more native for easier restyling.
  • Update channel listing in XenForo admin panel to display text channels from all connected servers.
  • Replace bundled companion bot with a PHP-based one.
  • Fix not being able to update channel name and topic information from the admin panel.
  • Fix "Kick from Discord server on dissociation" option not reliably kicking the user.
  • Other assorted bits of code clean up.

Discord Integration 2.7.8

Discord Integration 2.7.8 is now available for all licensed customers to download.
  • Add initial support for cross-posting content to Discord forum channels.

Discord Integration 2.7.7

Discord Integration 2.7.7 is now available for all licensed customers to download.
  • If a DM from the site to a user fails due to a lack of permissions, disable the feature and send a site alert.
  • Cache server object to reduce database queries.
  • Add option to log when Discord rate limits are being hit.
  • Add option to log when Discord is hitting permission failures.
  • Adjust retry times to avoid clock skew.
  • Fix the wrong user being linked to a conversation DM.
  • Other assorted API wrapper code improvements.

Discord Integration 2.7.6

Discord Integration 2.7.6 is now available for all licensed customers to download.
  • Improve tracking of the nf_discord_account_connected flag.
  • Ensure the Discord queue is dequeued on add-on uninstall.
  • Fix error when trying to access the users API endpoint.
  • Fix error when there is a queued job but the API is unavailable.
  • Fix "Kick from Discord server on dissociation" not working as expected.
  • Fix "Enable syncing of XenForo bans with Discord bans" being ignored when a ban was deleted.

Discord Integration 2.7.5

Discord Integration 2.7.5 is now available for all licensed customers to download.
  • Fix missing route for associated groups.

Discord Integration 2.7.4

Discord Integration 2.7.4 is now available for all licensed customers to download.
  • Add widget to display current number of online users in a specified Discord server.
  • Minor improvements and cleanup for syncing.
  • Improve PHP 8.1 compatibility when all Discord servers have been disabled.
  • Track account being connected to Discord within user change log.
  • Fix error during upgrade when no valid Discord servers are setup.
  • Fix bad default for xf_forum table when add-on is disabled.
  • Fix uninstaller.

Discord Integration 2.7.3

Discord Integration 2.7.3 is now available for all licensed customers to download.
  • Add option for additional servers to be disabled.
  • Add option to kick users based on user group membership.
  • Add option to kick users when they disassociate from Discord.
  • When viewing server details, display current permissions for the bot user to aid troubleshooting.
  • Various improvements to sync process and error handling.

Discord Integration 2.7.1

Discord Integration 2.7.1 is now available for all licensed customers to download.
  • Adjust column types for various columns to account for older MySQL versions.
  • Fix "Include replies made to threads" option not being set.
  • Fix "Enable syncing of XenForo bans with Discord bans" was not respected.
  • Fix new/re-opened report notifications being flipped.

Discord Integration 2.7.0

Discord Integration 2.7.0 is now available for all licensed customers to download.
  • Add support for multiple servers that can be used as notification targets.
  • Use a background queue to dispatch Discord notifications to avoid blocking sending alerts and encountering rate limiting.
  • Significant rework of role syncing to be more reliable.
  • Use background queue for role syncing.
  • Add a new option to sync avatars from Discord.
  • Add support for Discord server events to the API wrapper.
  • Add support for Xon's Threadmarks add-on.
  • Fix incorrect function visibility for some extended methods.
  • Trigger new thread notifications on moving threads, and copying/moving posts to new threads.
  • When uninstalling the add-on, ensure the connected account provider is actually removed.
  • Fix "Link Discord account" permission could cause the "Connected accounts" button to be flaky.
  • Update dependencies for the companion NodeJS bot.

Discord Integration 2.7.0 Beta 1 (Unsupported)

Discord Integration 2.7.0 Beta 1 is now available for all licensed customers to download.
  • Actual release notes coming soon. See the included CHANGELOG.md for now.

Discord Integration 2.6.1

Discord Integration 2.6.1 is now available for all licensed customers to download.
  • Import native functions.
  • Improve performance and efficiency when syncing.
  • Ensure channel list isn't serving a stale cache of channels.
  • When inviting the bot to your server, pre-select the server on the server list.
  • Compatibility fix with Report Centre Essentials v2.6.0+
  • When notifying a channel about a new report, include additional metadata.
  • Fix an issue with Tickets to Discord notifications.
  • Fix notification handling for content created by guest users.

Discord Integration 2.6.0

Discord Integration is now available for all licensed customers to download.
  • Fix an issue where syncing with users in a paid Discord role would silently fail.
  • Add support for Tickets add-on.
  • Add an option for users to disable alerts from being sent to their Discord DMs.
  • Add an option for users to disable conversation notifications from being sent to their Discord DMs.
  • Add an option for admins to apply registration defaults for Discord alert and conversation notifications.
  • Force global namespace for functions which are known to be optimizable to bytecode in php, or known global functions to avoid a current namespace lookup for the function.

Discord Integration 2.5.7

Discord Integration 2.5.7 is now available for all licensed customers to download.
  • When sending a notification to Discord, include the author's avatar if they have one.
  • Handle cases where optout value may be nulled out.

Discord Integration 2.5.6

Discord Integration 2.5.6 is now available for all licensed customers to download.
  • Simplify the process of opting in to mirrored Discord alerts to prevent confusion.

Discord Integration 2.5.5

Discord Integration 2.5.5 is now available for all licensed customers to download.
  • Add an option to announce new associations to a specific Discord channel.

Discord Integration 2.5.4

Discord Integration 2.5.4 is now available for all licensed customers to download.
  • If usernames are being synced, ensure any username changes to Discord are synced too.
  • Add an option to kick users from your Discord server if they disconnect their forum account.
  • If a user is banned on your forum, this will now be mapped to Discord properly rather than disconnecting them.
  • Fix blocking user creation when add-on is disabled.

Discord Integration 2.5.3

Discord Integration 2.5.3 is now available for all licensed customers to download.
  • Minor rework of the option to prevent registering and/or logging in with Discord.
  • Add missing user change log phrase.

Discord Integration 2.5.2

Discord Integration 2.5.2 is now available for all licensed customers to download.
  • Add support for announcement channels so notifications can be cross-posted to them.

Discord Integration 2.5.1

Discord Integration 2.5.1 is now available for all licensed customers to download.
  • Strip extraneous characters from mirrored alert messages

Discord Integration 2.5.0

Discord Integration 2.5.0 is now available for all licensed customers to download.
  • Require XenForo 2.2+.
  • Require PHP 7.2+.
  • Require Standard Library.
  • Confirm support for XF 2.2.0.
  • Harden various template modifications.
  • Remove user from server roles when they disassociate or get banned.

Discord Integration 2.4.2

Discord Integration 2.4.2 is now available for all licensed customers to download.
  • Fix an issue preventing new thread reply notifications from being sent to Discord.

Discord Integration 2.4.1

Discord Integration 2.4.1 is now available for all licensed customers to download.
  • Properly indicate when thread replies are to be cross-posted
  • Loosen up type hint when adding users to a server

Discord Integration 2.4.0

Discord Integration 2.4.0 is now available for all licensed customers to download.
  • Add the ability to automatically add users to your Discord server when they first associate their account.
  • Switch API and other URLs from discordapp.com to discord.com. This is in line with Discord's recently announced endpoint migration that will come in to effect on November 7, 2020.
  • Bump PHP version requirement to 7.2.0 or greater.
  • Bump XenForo version requirement to 2.1.0 or greater.
  • Other assorted code improvements and clean-up.

Discord Integration 2.3.1

Discord 2.3.1 is now available for all licensed customers to download.
  • Make sure opt-out column is dropped on uninstall.

Discord Integration 2.3.0

Discord 2.3.0 is now available for all licensed customers to download.
  • Allow users to opt-out of receiving specific alerts on Discord.
  • Add the ability to alert a Discord channel when resource updates are posted.
  • Add the ability to alert a Discord channel when thread replies are posted.
  • Add an icon to the option group.
  • Remove the test for WebSocket as it is no longer useful.
  • Minor improvements to the JavaScript that opens a WebSocket.
  • Throw a prettier error if the NodeJS bot isn't configured properly.

Discord Integration 2.2.9

Discord Integration 2.2.9 is now available for all licensed customers to download.
  • Handle errors from Discord’s API being down better.
  • Allow phrases to be used within alert messages to Discord channels.
  • Update bundled utils.

Discord Integration 2.2.8

Discord Integration 2.2.8 is now available for all licensed customers to download.
  • Add ability to disable overwriting of roles to avoid conflicts with other bots that give out roles or workflows that involve manually adding and removing users from roles.
  • Do not block in API calls to Discord in various transactions.
  • Fixes for XF1.x -> XF2.x migration code path.
  • Fix extending forum watch notification sending to Discord to be compatible with Xon's Thread Starter Alerts v2.1.0+

Discord Integration 2.2.4

Discord Integration 2.2.4 is now available for all licensed customers to download.
  • Only display "Automatically mirror your alerts to your Discord DMs" if the user can login to discord, and do not reset the value if the mirroring option is globally disabled.
  • Ensure Discord notifications are sent for threads that are approved.
  • Other minor compatibility tweaks.

Discord Integration 2.2.1

Quick fix for an edge case. :)
  • Handle bizarre edge case where a user has lingering XF1 and XF2 connected accounts.

Discord Integration 2.2.0

Big thanks to @Xon for contributions to this release! This update also adds support for Report Centre Essentials.
  • Support for Report Centre Essentials to add notifications for new open reports and when the total number of open reports reaches a certain threshold.
  • Restore support for XenForo 2.0.x and harden API error handling.
  • Migrate legacy XenForo 1 configuration to XenForo 2's connected account provider where required.
  • Cap channel alert messages at 2000 characters.
  • Implement caching (~5 minutes) of Discord channels to prevent slowing down ACP edit pages for forum/report queues.
  • Remove unused XenForo 1 templates and old JavaScript.
  • Add missing admin page for admin.php?discord.
  • Add Discord options link to admin navigation.
  • Allow connecting Discord accounts to be controlled via usergroup permissions.
  • Add an option to disable logging in with Discord and add an icon and colour for XenForo 2.1 and up.
  • Opt to use Discord specific phrases for channel and DM notifications for further customisation.
  • If Discord Integration is not configured, offer a prompt to set it up.
  • General improvements to the installer
  • Other miscellaneous code improvements and clean up.

Discord Integration 2.1.0

This add-on now requires XenForo 2.1.0+.
  • Minor tweaks to ensure XenForo 2.1 compatability.

Discord Integration 2.0.7

This add-on now requires XenForo 2.0.10+.
  • Use XenForo 2.0.10's new code event listener to sanely add an additional column for XF Resource Manager support when it is installed after this add-on.

Discord Integration 2.0.2

Screenshot_2018-07-04_at_00.03.06.png
  • Add the ability to mirror alerts from XenForo to Discord.
  • Fix a potential issue where the bot invite URL would not be correct.

Discord Integration 2.0.0

Initial version for XenForo 2. Thanks to XF2's connected account provider system, things have been simplified.

After install, fill out your server details by going to ACP -> Setup -> Connected accounts.

Once you've done this, double check everything is working by going to ACP -> Tools -> Test Discord integration and away you go!

Many users have asked for the ability for the bot to appear as online and allow a custom status message to be set. This is now possible but requires some further, server-side, configuration. More details will be in the product information / description.

As ever, I'm a support ticket away if you get stuck. Enjoy!
  • Initial XenForo 2 release.
  • Support Discord message embeds.
  • Add support for posting new resource items to Discord channels.
  • Allow the bot to show up as online and display a custom status message.

Discord Integration 1.1.8

This update includes a reversion to our original way of syncing roles. Overall it seems like it was better up to the task than the newer implementation. To go along with that, we've fixed a couple of legacy issues namely role permissions and the owner not being skipped when syncing.

An important note: The bot cannot edit its own role even though it shows in the roles list.
  • Improved role syncing
  • Fixed missing and broken permissions when editing / saving roles
  • Added an option for the owner's discord ID. Using this will stop the owner from getting any role updates, which is necessary to prevent issues with syncing.
  • Version bump from 1.1.1 -> 1.1.8 to match our internal versioning

Discord Integration 1.1.1

As of version 1.1.0, you'll need to follow the steps below to ensure continued functionality of your integration.

Please visit https://discordapp.com/developers/applications/me and update the Redirect URI(s) area of your application to follow this format:

Code:
https://mysite.com/index.php?_=register/discord

If you're using friendly URLs you'll need to use something similar to:
Code:
https://mysite.com/register/discord
  • Fixed issues with incorrect redirect_uri being sent.
  • Fixed an issue with missing code when attempting to run the integration test.

Discord Integration 1.1.0

Apologies for the delay in getting this one out. With this release, the beta label is being dropped and some changes have been made to the Redirect URL. You'll need to follow the steps below to ensure continued functionality of your integration.

Please visit https://discordapp.com/developers/applications/me and update the Redirect URI(s) area of your application to follow this format:

Code:
https://mysite.com/index.php?_=register/discord

If you're using friendly URLs you'll need to use something similar to:
Code:
https://mysite.com?_=register/discord
  • Fixed a potential conflict with Teamspeak 3 Integration.
  • Added the ability to allow user login / registration via Discord.
  • Promote Thread to Discord tool now supports alerting of multiple Discord channels at once.
  • Alerts from the Admin Control Panel now support alerting of multiple Discord channels at once.
  • Fixed an issue where alerts for unapproved threads would be sent to Discord.
  • Improvements to role management and role syncing.
  • Removed the need for discord.php.

Pricing information

Price
$35.00
License duration
12 months
Renewal price
$15.00

Other products you might like

  • Calendar
    Calendar
    Event management system for XenForo.
  • Thread Chapters
    Thread Chapters
    Break large posts in to digestible chapters, complete with navigation.
  • Mirror Images
    Mirror Images
    Automatically convert hot linked images to attachments.
  • Auto Close Threads
    Auto Close Threads
    Automatically close threads after a configurable time period.
  • Forum Agreement
    Forum Agreement
    Require users to agree to terms before being able to post in a specific...

Share this product

Back
Top