Are you using persona? This is only added to persona so far.
Hi, @baris caused by my fault since I have not migrate the latest persona template. Everything works well now. thanks!
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