HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Unsupported comments?
-
Re: Unsupported comments?
No easy way; but there is a way. Fork it and add the necessary code! public function base_commentOptions_handler($sender, $args) { $comment = $args['Comment']; if (CheckPermission('Garden.Settings.Manage')) { $Label = T('Change Author'); $Url = "/discussion/commentauthor/{$comment->CommentID}"; // Deal with inconsistencies… -
Re: Unsupported comments?
lol I was even thinking about a pull request: public function discussionController_commentOptions_handler($sender, $args) { if ( !Gdn::session()->checkPermission( 'Vanilla.Discussions.Edit', true, 'Category', $args['Discussion']->PermissionCategoryID ) ) { return; } $args['CommentOptions']['ChangeAuthor'] = [ 'Label' =>… -
Re: Unsupported comments?
4 results