Howto ban a ip addr from an extension?

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
mrgoldy
Jr. Extension Validator
Posts: 946
Joined: Tue Oct 06, 2009 7:34 pm
Location: The Netherlands
Name: Gijs

Re: Howto ban a ip addr from an extension?

Post by mrgoldy » Wed Nov 15, 2017 10:54 pm

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.
phpBB Studio / ''Proud member of the Studio"

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests