Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Discussion info/opts
Hi
I wanted to know where can I see if a discussion is closed and also how could I restrict people from writing in a discussion without closing it
0
This discussion has been closed.
Comments
Jugoso is asking how he can know if a discussion it's closed inside an extension. Something like:
if ($Context->Discussion->Closed) { // discussion is closed } else { // discussion is open }
Also, he's asking how ShowForm works. We've tried something like "ShowForm = 0" for a Discussion (so no one can reply, like in Category Roles) but it doesn't work. We don't know why
Thanks for yout attention