Sunny Chow wrote:
I inserted into config.php the code snippet you provided in http://pastebin.ca/1516064 and tested it with a new registration using the name 11testy99 but still the post went through.
I just tested it with 11testy99 and I was unable to register that new account.

Are you sure you added the code to your config.php /before/ you registered the user? This code isn't for blocking a user who's already registered from posting; use $config['profile']['banned'] for that.

Are you sure you got all 20 lines into your config.php? The first and last ones are crucial.

Are you sure that you're using the right config.php?
Is there anything I need to change in the code to suit my site setup?
I don't know anything about your site setup, so I don't know.
Regarding the first line, $nicknamePatterns = array <http://www.php.net/array>('^11', 'jerk'); does the caret (^) mean a wildcard so any nickname with the number 11 anywhere will be blacklisted?
No, it means "starts with '11'".

-Evan

--
Evan Prodromou
CEO, Control Yourself, Inc.
[email protected] - http://identi.ca/evan - +1-514-554-3826

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to