You would need to make a plugin to listen for a socket event, and in the widget js send the needed data to verify the request server-side. After adjusting the reputation and sending the new rep back, you probably want to make a db key to record the last action taken, such as how core uses pid:x:upvote
Image HTML for global header widget
-
Morning all
I've added a global header to my site (using Jumbotrom container to make it appear more like a banner).
I want this banner/header to be an image.
I think the only way to do this is by adding an HTML widget? (which I've done)
I've uploaded the banner image that I'd like to use into the assets folder:
/assets/uploads/system/header-feb.jpgI have absolutely no clue about HTML code. What should I be putting here?
Thanks in advance
-
@phenomlab Thank you so much
-
can you with text widget

-
@Yehonatan-Albert That would only work if the upload was completed via NodeBB as there will not be any reference point in the DB for it otherwise