This pre-renders the list of active users from server data. And then has some inline JS with socket call to update the list as new users become active
@AbelRavyn You still supporting this?
Would be interesting to integrate this into the profiles of the user.
Was looking into this too, maybe adding it to communicate with that api to ban users if they are banned from nodebb on the voip as well. But prob should wait till official api comes out though prob could port it easily enough.
Has anyone tested this plugin on 1.0?
@HolyPhoenix I need to know too.
Nope just gave it a try for you guys, This will crash the NodeBB instance.
I had created a ticket on github. The author replied with a cool html5 and js widget he created. It does not sound like he will be fixing the plugin anytime soon due to the constant amount of changes happening to Nodebb that effect plugins. (too hard to maintain right now)
I recommend if you need this plugin that you check out his response here and add the html and js widget.
This is exactly what i wanted! discord is great! thanks
@HolyPhoenix discord does have its own iframe widget, and also gives you json start from the servers.
I will never use an iFrame on my website as I hate them to death.
@HolyPhoenix Yeah i think i'm starting to agree, I just added twitter and facebook iframes and they load so slow!
Is there a guide somewhere to adding HTML/JS widgets to NodeBB?
@Dielan Its pretty straight forward.
Admin -> Extend -> Widgets
Then choose the page you want to display it on (I think persona only has global(every page) and groups details pages).
Drag the html widget after selecting it in the drop down on the right into the area you want on the left. If you want a container, then also drag the container and put it over your added widget. In the text area on the widget that appears after it is dragged copy and paste in the html you want. Hit the save on the bottom right part of the page. And tada! Your html widget appears.
@HolyPhoenix thanks! I'll try it when I get home from work. I was on that page in the ACP before but wasn't really sure what I was doing. I thought I had added it correctly but didn't notice any changes after saving. I will try this!
Any plans on updating this to use the proper API?
I wasn't able to get the widget to load..
I have plans to make this work again in the near future. Until that time you can use the html widget he mentions in https://github.com/RestingCoder/nodebb-widget-discord/issues/3.
Of course, Discord has APIs and everything now, so rewriting the plugin should not be too bad. And my wife is pretty busy this week(that means I am free), so I'll see if I can make this my priority instead of playing video games.
I apologize, I was almost ready to make an update, but realized the original plugin didn't have a license.
I requested the license from the developer, to which I got no response and just now he closed the ticket. For that reason I won't be able to publish the new plugin right away since I cannot legally build upon the original and will have to start from scratch.
Things are a bit busy now, so I'm not sure when I will be able to get back to this. I'll update you though if anything happens.
I'd be still super interested in a discord plug-in that works sort of like the site chat (in a drop-bar from the menu).
@tigger That is an interesting idea! I'll have to give that a stab.