Ok, it wasn't doing all the stuff. This resource was only updating the session, on which the online list is based:
\IPS\Session::i()->setAnon();
The rest of the places pointed out by you are checked by the method isOnlineAnonymously(), which checks a bitwise value on the members table (is_anon).
So after the change I've made locally, it is working in all places:
I will update the marketplace version and should be available in a few days.
No. I'll make some more deep tests using two accounts to see how it goes. One account is anonymous and the other trying to view the user (content, profile, etc). I'll reply back later.
Polls are added to the topic itself and will appear above first post.
The forum and the user group must have permission to use polls.
If it is an existing topic, user mist edit first post and then add the poll.
...and almost 6 years later, nothing has changed. I need to hook in \IPS\Content\Reactable::removeReaction() and I can't.
I can't add this method to every content item model basically because I don't which apps will be installed on every board out there.
Does anyone know any workaround for this?
After watching your video, I can say for sure I forgot this... indeed, you can remove reactions directly in the popup that shows who reacted to the content:
The app doesn't extend this specific method, that's why it doesn't decrease.
I'll take a look. 👍
Taking a look now.
Can you clarify? Are you saying a moderator is able to remove the reaction given by another member? I mean, John Doe reacted to content from Mary Doe, then a moderator removes the reaction from John Doe? Is that it? How do you do that?
Now if you're saying that a moderator reacts to content and removes the reaction, the points are deducted as it should:
Right now on my live board:
It is working as expected.
Also, as you didn't say where your link doesn't change, I suppose it was in the widgets (online)? If it is, they use cache; it won't update right away. Go and make your test in the online list as I did.
Yes, as you might know, I don't have only this resource to support. I have dozens of customs, real life, bla bla bla. Let me know if it is crashing your board entirely, otherwise, I have my own schedule of updates and it will wait.