Page 1 of 1

Re: Howto ban a ip addr from an extension?

Posted: Wed Nov 15, 2017 10:54 pm
by posey
Not sure what you're trying to do.. but you're best of using the request, language and helper class.
request_var('subject', 'null') should be $this->request->variable('subject', '', true), dito for the message.
Where $request is injected through a service.

Not sure what the ban message includes, but here you can find some information on parsing text.

For a lot more information, have a look here.