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?
@R_J I also think I have the discussionoptions.php figured out somewhat. <?php if (!defined('APPLICATION')) exit(); ?><h1><?php echo $this->Data('Title') ?></h1><div class=""><?phpecho $this->Form->Open();echo $this->Form->Errors();?><div class="P"> <?php echo '<div class="P">'; echo $this->Form->label('BanUser', 'Ban… -
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?
Hmmm the infomessage is still not displaying and the form just closes itself. Although I had been wondering how to do a message, which is something that I use a lot in working through code. Is that because of this in the view? <?php echo $this->Form->close('Ban Users'); ?> is there there a submit rather than a close? -
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?
:mrgreen: There should be no logic on the form page at all. Sometimes you have trivial if/else constructs there but all interactions with the model is strongly adviced to happen in the plugin. There is this if authenticatedPostback condition, where the most important action has to take place. The form, as you can see it in… -
Re: Anyone know of an addon to ban users from a discussion?
-
Re: Anyone know of an addon to ban users from a discussion?
Okay, plan is: * you have an additional option in the discussion options menu [checked] * that option opens a popup with an input field and a button [checked] * when the form opens and there are already banned users, the form should be pre-populated with that names [open] * when the submit button is clicked, the currently…
24 results