• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Discord widget

Scheduled Pinned Locked Moved Plugin Development
3 Posts 2 Posters 521 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • youhosiY Offline
    youhosiY Offline
    youhosi
    wrote on last edited by
    #1

    Hello, I created a widget that adds to the forum displaying active users on your discord!

    Just put this code in the LESS / CSS tab and in the widgets!
    https://gist.github.com/youhosi/9895e58050dff190ae7ce04607224af5

    And this one is added to javascript and we set our own api token!

    https://gist.github.com/youhosi/e0e02708e1dc29e0be7a9d789db99ab7


    Everything looks like this

    Zrzut ekranu 2019-06-9 o 19.04.18.png

    1 Reply Last reply
    2
  • Jean-baptiste DevicJ Offline
    Jean-baptiste DevicJ Offline
    Jean-baptiste Devic
    wrote on last edited by
    #2

    That's really great. Is there a way to display only users with a specific role?

    1 Reply Last reply
    0
  • youhosiY Offline
    youhosiY Offline
    youhosi
    wrote on last edited by
    #3

    @Jean-baptiste-Devic Unfortunately no, because discord api does not return the role.

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development