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?
-
Re: Anyone know of an addon to ban users from a discussion?
Why is that column name lower case? It really shouldn't be. What you see in there is a serialized string. It says it has an array with one element (I guess) and that the element is a string with 13 characters: DiscussionBan. Something went wrong. Let me check my code and check if you have copied it the right way... -
Re: Anyone know of an addon to ban users from a discussion?
Oh no, the result of a:1:{s:13:"DiscussionBan";N;} is array ( 'DiscussionBan' => NULL,); So everything is correct except for the fact that $userIDs is null when you save it. There is a typo: $userIDs = []; foreach ($userArray as $name) { $userModel = new UserModel(); $user = $userModel->getByUsername($name); $userIDs[] =… -
Re: Anyone know of an addon to ban users from a discussion?
4 results