HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Anyone know of an addon to ban users from a discussion?
-
Anyone know of an addon to ban users from a discussion?
-
Re: Anyone know of an addon to ban users from a discussion?
-
Re: Anyone know of an addon to ban users from a discussion?
-
Re: Anyone know of an addon to ban users from a discussion?
-
Re: Anyone know of an addon to ban users from a discussion?
So I wonder if I can add the option for mods on the individual comments to ban the person that made the comment? That way as mods are scrolling through the discussion when they see something that breaks the rules they can remove the person from the conversation without having to scroll all the way back up or back to the… -
Re: Anyone know of an addon to ban users from a discussion?
Now that you've saved to the db, use the discussionModel to get the discussion by its id before the form is displayed (in the other part of the if clause). Make sure the permission check is working! After that get the discussion (look at the DiscussionModel to find the right method) and put a decho($discussion,… -
Re: Anyone know of an addon to ban users from a discussion?
-
Re: Anyone know of an addon to ban users from a discussion?
Should $args['DiscussionOptions']['BanDiscussion'] = [ 'Label' => t('Ban User from Discussion'), 'Url' => '/plugin/bandiscussion/'.$args['Discussion']->DiscussionID, 'Class' => 'Popup' ]; Instead be $args['DiscussionOptions']['BanDiscussion'] = array( 'Label' => t('Ban User from Discussion'), 'Url' =>… -
Re: Anyone know of an addon to ban users from a discussion?
You need > The result of discussionModel->getID is a discussion object. That's what you are looking for. So you would need to use it like that $Discussion = $DiscussionModel->getID($DiscussionID);. Afterwards you have a Discussion object that you holds the information you need. If you look at the contents of the…
57 results