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.
sticky hidden
fysicsluvr
New
I have the comment delete addon installed (deletes the comment from the database rather than hiding it)
What I would like to do is have the moderators able to hide comments/ discussions, and then super moderators (or admin) will either unhide it or delete it. (those that can view hidden comments / discussions)
so I want an extension that makes hidden discussions, or discussions with hidden comments float to the top of the d. list
What I would like to do is have the moderators able to hide comments/ discussions, and then super moderators (or admin) will either unhide it or delete it. (those that can view hidden comments / discussions)
so I want an extension that makes hidden discussions, or discussions with hidden comments float to the top of the d. list
0
This discussion has been closed.
Comments
$sb->AddOrderBy('Active', 't', 'desc');
You might also want to change the extension name and the language definition on line 12 to make more sense to the new found purpose of the extension.
if ($Context->Session->UserID > 0) {
To this:
if (($Context->Session->UserID > 0) && $Context->Session->User->Permission('PERMISSION_HIDE_DISCUSSIONS')) {
so that only people who can actually view deleted discussions will see the option in their preferences.
Thanks!