XenForo Modifications

[NF] Discord Integration 2.5.2

Submitted by Mythotical, , Thread ID: 186265

Thread Closed
10-11-2020, 10:22 AM
This post was last modified: 10-11-2020, 12:47 PM by Mythotical
#1
Discord Integration allows you to establish a connection and manage your Discord server from the comfort of the XenForo Admin Control Panel. This is a free upgrade if you already own an active license to the original Discord Integration.



[Image: screenshot_2018-07-02_at_20-30-27-png.179040]



Features:

[*]Allows for XenForo user groups to be synced with Discord server roles. Essentially this allows you to automate the giving and removing of Discord server roles based on the groups that a XenForo user is part of. Users can associate their Discord identities with their XenForo usernames to establish sync.
[*]Discord nicknames can also be updated to match forum names.
[*]New for XenForo 2.x:Allow the bot to show up as online and display a custom status message.
[*]Manage your Discord instance from the ACP.
[*]Allow your users to register and sign up via Discord.
[*]Send alerts to connected users and channels via the ACP.
[*]Automatically post links to threads from XenForo forums to defined Discord channels as soon as they're posted. The user who posted the thread, the thread title, a short snippet, and a link to the thread are included in the message.


  • This is set on a per-forum basis allowing you to fine-tune what channels should get the notifications.
[*]New for XenForo 2.x: Automatically post links to resources from XenForo Resource Manager to defined Discord channels as soon as they're posted. The user who posted the resource, the resource title, a short snippet, and a link to the resource are included in the message.


  • This is set on a per-category basis allowing you to fine-tune what channels should get the notifications.
  • Resource updates will also be posted on the same channel.
[*]Allow staff members with permission to 'promote' links to threads to Discord channels.
[*]Allow users to receive watch notifications from forums and threads they specify (in addition to emails and alerts). They will receive these notifications privately from your configured bot. There are plans for future expansion with 1-to-1 communication with the bot.
[*]New for XenForo 2.x:The bot can now send XenForo alerts and conversations straight to your Discord DMs. All types of alerts are supported out of the box with zero configuration required.


  • Users can opt-out of this behavior by adjusting the appropriate setting within their Account Preferences area.
[*]Support forReport Centre Essentialsto add notifications for new open reports and when the total number of open reports reaches a certain threshold.


Installation:



  1. Install the add-on through the XenForo admin panel, as normal.
  2. Create a new Discord application by goinghere.
  3. Set the "Name" to whatever you want your bot to be called and continue. You may optionally set a description and icon for your bot.
  4. Navigate to the OAuth2 section and click "Add Redirect". Ensure you have a Redirect URL set in the form of your board URL followed by connected_account.php. So for example:https://mysite.com/connected_account.php
  5. Navigate to the Bot section, click "Add Bot" and then accept the warning. Ensure 'Public Bot' and 'Require OAuth2 Code Grant' are both unchecked.
  6. Copy the Client ID and Client Secret values for the application from the General Information section and paste them into the Discord connected provider located in the XenForo admin panel -> Setup -> Connected providers.
  7. Do the same for the Bot token, located under the Bot section, and paste it into the corresponding field in your XenForo admin panel.
  8. You'll also need your Discord Server / Guild ID which can be obtained by following the steps listedhere. Once you've done this, save the connected provider.
  9. Navigate to 'Test Discord integration' located at XenForo admin panel -> Tools. This will initially be red and failing. Invite the bot to your server from this page and also click "Open WebSocket" to ensure messages can be sent by the bot.
  10. Re-run the test and you should be all good to go.
[*]
Content locked
This content has been locked. Please login or register in order to unlock it.
This hidden content has been reported as still working 0 times this month.
3 times in total
The link in this hidden content has been reported as down 0 times this month.
2 times in total

Users browsing this thread: 8 Guest(s)