Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
UnreadDiscussion
luc
✭✭
UnreadDiscussion
0
Comments
I had no specific knowledge for all that prior to trying to create the addon. So bear with the possible errors, even though it works fine for me.
In DiscussionsController_DiscussionOptions_Handler() need add Session->IsValid() before adding new option in $Sender->Options
I thought the reason was to not have the link activated if you're not signed in, but if you're not, it is already not available.
Maybe I'm just missing the reason .
I guess it's working because the event is already behind an $Session->IsValid() in vanilla/views/discussions/helper_functions.php hence it's not needed.
So your comment allowed to make sure it was all and proper. Thanks.
I was off vanilla2 for a while and I didn't had time to test it.
Reinstalled it on my v2.0.17.8 install and it wasn't working anymore, fixed it and improved a bit.
If you have an older installation and that it works too, let me know, so I'll change the requirement.