Hi Evan I'm still not able to get this to work.
I uploaded the edited config.php file (with the updated code '^11.*99$') to my web server, registered a new 11testyb99 account, and it went through successfully. How many config.php files are there? As far as I know, only 1 in the root folder, right? I inserted the 20 lines of code at the end of the config.php file with no editing. By the way, I'm still running 0.7.3 but will upgrade to 0.8.0 - does this code snippet work with this older version or only the latest version? I was going to upgrade to v0.8.0 but read in another post that 0.8.1 should be out in a few days? If so, I will hold off upgrading my site till then. Regards Sunny 2009/8/3 Evan Prodromou <e...@controlyourself.ca> > 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.e...@controlyourself.ca - http://identi.ca/evan - > +1-514-554-3826 > > > _______________________________________________ > Laconica-dev mailing list > Laconica-dev@laconi.ca > http://mail.laconi.ca/mailman/listinfo/laconica-dev > >
_______________________________________________ Laconica-dev mailing list Laconica-dev@laconi.ca http://mail.laconi.ca/mailman/listinfo/laconica-dev