Subscribe: Subscribe in NewsGator Online

May 31, 2007

Ban email domains plugin updated.

Filed under: Tools, Web Technologies — Scott @ 4:56 pm

Back in January I got fed up with throw away email accounts being used to register bogus user accounts on my blog. People using accounts from mostly the same email domains were registering accounts with gibberish names and never using them. To put an end to it I wrote a quick plugin that allows the banning of email domains.

I thought that would be the end of it but wordpress decided to do a few updates breaking the plugin. Prior to the updates the Wordpress API didn’t have any events that were fired prior to the creation of the user account. So the plugin I created waited until the user account was created and then checked the new accounts email domain. It was a bit hacky but it worked none the less.

Unfortunately the new API changed the name of the event and added a new event where there should have been one before. So I had to update the plugin to accommodate the new (and better) event model. Long story short the plugin has been updated and if your using it please reinstall it with the updated copy. All you need to do is replace the old file with the new one and you’ll be done.

You can download the updated plugin here http://web-professor.net/shared/wp-plugins/registration_blacklist.zip


Like it? Subscribe to the blog if you haven't already
Digg!

Related Posts


RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.