Change user's reputation in widget
How can I change the reputation of a user inside a widget ?
For example increment by 1, reset to 0, etc...
Are you trying to change the actual reputation, or just update the displayed reputation?
Sorry, yes i would like to change the actual reputation of the user in a mongodb database.
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