Advertisement:

Author Topic: SMF Discord Widget Mod  (Read 1361 times)

Offline Sigyn

  • Semi-Newbie
  • *
  • Posts: 91
  • Gender: Female
    • Dragon's Rise AU
SMF Discord Widget Mod
« on: July 10, 2017, 03:33:30 PM »
Subject: [FREE] Integration of the Discord Widget into a Modification for easier use.

Version
2.0.13+

Description
Discord offers a widget through the Server Settings either through HTML or Json coding. Ideally the mod would allow for the input of the Widget information provided by Discord and would allow the display of the widget on the forum. Here and here area ideas of what is given to users for attempting to make the widget work.

Further, it would be wonderful if there was a click to toggle when the mod is installed. This would hopefully allow the Discord chat to collapse when not needed either to the side of the forum (left or right), or to the bottom (so that clicking it pops it up from bottom up into the forum space).

Permissions
I would appreciate if the mod could have permissions to show to all visitors and members alike on the main page (and all other pages) of the forum. Admin permissions would be for set up of the mod and choosing size/positioning of the mod itself. Discord does not offer integration of usernames on a site to the server so this is not something that needs to be included.

Feature Set
* A way to add Custom CSS to match the theme of the forum
* Admin permissions for changing size/position of the mod display on the forum
* Admin permissions to turn on/off the mod
* Admin permissions to set which usergroups/member types/if guests can view the Mod


Please do feel free to contact me if I have given insufficient information for this mod. I am not sure if integrating Discord is an easy or difficult task but I am willing to provide whatever information I can in order to make this work for SMF sites.

Thank you

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,951
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @XinYenFon on Twitter
    • WoWSnips
Re: SMF Discord Widget Mod
« Reply #1 on: July 11, 2017, 12:41:59 PM »
The positions is the question actually. Which part of forum? (header/footer/info center) ?
You can support me directly via Patreon

In Catnip We Trust.
The solution is Catnip!
Vote for Catnip!

Current Project(s): [ WoWSnips ]
Past Project(s): [ ezPortal ] # [ Lunarfall ] # [ RDD (HTML5) ]

Offline Sigyn

  • Semi-Newbie
  • *
  • Posts: 91
  • Gender: Female
    • Dragon's Rise AU
Re: SMF Discord Widget Mod
« Reply #2 on: July 11, 2017, 01:30:38 PM »
I believe I answered that
Quote
Further, it would be wonderful if there was a click to toggle when the mod is installed. This would hopefully allow the Discord chat to collapse when not needed either to the side of the forum (left or right), or to the bottom (so that clicking it pops it up from bottom up into the forum space).

I imagine this would be something like floating or coded to position in those places; left or right, or bottom going up.

Offline gogol

  • Newbie
  • *
  • Posts: 7
Re: SMF Discord Widget Mod
« Reply #3 on: August 12, 2019, 02:30:48 PM »
No one made such a modification yet?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,570
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: SMF Discord Widget Mod
« Reply #4 on: August 12, 2019, 02:34:44 PM »
I have is one that posts from SMF to discord https://custom.simplemachines.org/mods/index.php?mod=4190
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro