Daily Archive for June 30th, 2008

[solved] Stop WordPress Spam Registrations

I’ll bet all of you out there have dealt with your fair share of spam. Everyone gets it, in their email, blog posts and lately even WordPress registrations! I have a tool for handling spam comments on my blog, but what do I do when I get 10’s to 100’s of spam user registrations on my blog with names and emails like BuyCheapMeds and FreeSoftwareDVDs@some-russian-website.ru?

Well, thank goodness the WordPress Extend site has so much to offer! After asking in the WordPress forums how to completely disable new user registrations…and getting little response…I decided that I would have to edit some of the WordPress files to ignore new user registrations in a fashion to fit my needs. I wanted to keep them open from the admin panel so I myself can add new users, but block outsiders from registering so I could control the spam registrations.

To my surprise I got a response in the forum thread that I started with an example plugin that could be used. I looked into the example plugin, but I found myself confused at the description and uncertain of how the plugin actually worked. Who wants to install something on their site when they have no clue how it works!

I dug a bit deeper and searched this time for only 5-10 minutes and came across two plugins that were capable of handling my needs and one that was just plain cool.

To control your spam registrations I would suggest the following three plugins which are ordered according to the order that I would choose them.

  1. Register Plus
    http://wordpress.org/extend/plugins/register-plus/
  2. Sabre
    http://wordpress.org/extend/plugins/sabre/
  3. Referrer Bouncer
    http://blog.taragana.com/index.php/archive/word-press-1-5-plugin-referer-bouncer/

If you’re wondering why I sorted them this way then I’ll try to explain quickly.

Referrer Bouncer was the one that was suggested to me in the forum thread, but I found that it was a bit more involved than the others and it required the user to create a file called “referer.txt” and add domains that should be blocked (at least I think it was for blocked domains…not a clear description or how to :( ) and it just made more sense to go with a different plugin rather than tracking down all of the referring sites that I needed to block.

Sabre does exactly what I wanted to do. It was like it knew what I wanted before I asked, haha, but I decided to go with Register Plus in the end because it allows me to create invitation codes so that I can easily leave the registration open to the public, but they will need to contact me and request an invitation.

Why did I chose this method? I figured that most people would prefer not to register in the first place. Nothing at kyleabaker.com is restricted to the general public that is open to the registered users…it’s all the same. So if you wanted to post then you can freely post comments here. The invitations are for friends and people that I know so they can register if they wish and I know they won’t be spamming me. :) Except maybe Dan…he’s done it before. :P

The third plugin that I found (the Referrer Bouncer was found by someone else and posted in the WordPress forums for me) was one that allows users to login via OpenID! This is really cool because it doesn’t require a user to actually register at your site and waste space! They can register at any website that offers OpenID such as Yahoo, WordPress, Flickr (also Yahoo) and many more!

I didn’t go with WP-OpenID because spammers can still register via OpenID and login on your site. They wouldn’t be spamming the registrations, that’s one plus side, but they are still encouraged to test out my comment filtering system..and they always jump at chances to piss people off like that. :P

So I suggest you look into my “research” if you’re having similar trouble! Enjoy!

[Ask] [Bloglines] [del.icio.us] [Digg] [Facebook] [Feed Me Links] [Friendsite] [Google] [MySpace] [Reddit] [Rojo] [Shoutwire] [Slashdot] [StumbleUpon] [Technorati] [Windows Live] [Yahoo!] [Email]

Opera Mobile 9.5 beta coming July 15… err 17

From the Opera Mobile blog:

A release testing phase is underway now and the target date for the first beta is July 15th. You will be able to download it from opera.com just like you would any other versions of Opera.

Some versions of Opera Mobile 9.5 are already shipping on great phones like the HTC Touch Diamond, and some of you have asked why we wouldn’t be able to release it publically yet. As you probably know, releasing a version that works on a large variety of phones is more complex than making it work on one specific phone. You should also expect a few differences between the versions that are pre-installed on phones and the public version of Opera Mobile 9.5.

Stay tuned to Opera Watch and the official Opera Mobile blog for further information and details!

Edit (7 July): This just in from the Opera Mobile devs:

After we announced last week that the first beta was expected on July 15th, many of you asked if we would offer a Symbian version. We will offer a Symbian version of Opera Mobile, but you will have to wait a while. We do not yet know when the Symbian version will be ready because development and quality assurance on mobile devices is time consuming.

Edit (15 July): Beta release is now pushed back to July 17

Auto-hide toolbars in Opera

You can auto-hide any toolbar in Opera after enabling it via keyboard shortcut or mouse gesture or button.

Keyboard shortcut / Mouse gesture

Create new keyboard shortcuts or mouse gestures in Application section with following action codes.

Toolbar Action code for keyboard shortcut or mouse gesture
Menu bar Enable menu bar & Delay, 12000 & Disable menu bar
Main bar View main bar, 6 & Delay, 10000 & View main bar, 0
Personal bar View personal bar, 6 & Delay, 12000 & View personal bar, 0
Tab bar View page bar, 6 & Delay, 10000 & View page bar, 0
Address bar View address bar, 6 & Delay, 10000 & View address bar, 0
Navigation bar View navigation bar, 6 & Delay, 10000 & View navigation bar, 0
View bar Set alignment, “Document view toolbar”, 6 & Delay, 8000 & Set alignment, “Document view toolbar”, 0
Status bar View status bar, 6 & Delay, 12000 & View status bar, 0

To modify auto-hide time, change Delay, X value (time in milliseconds) in above code.

To hide/show a toolbar without auto-hide use the following.

Toolbar Action code for keyboard shortcut or mouse gesture
Menu bar Enable menu bar | Disable menu bar
Main bar View main bar, 6 | View main bar, 0
Personal bar View personal bar, 6 | View personal bar, 0
Tab bar View page bar, 6 | View page bar, 0
Address bar View address bar, 6 | View address bar, 0
Navigation bar View navigation bar, 6 | View navigation bar, 0
View bar Set alignment, “Document view toolbar”, 6 | Set alignment, “Document view toolbar”, 0
Status bar View status bar, 6 | View status bar, 0

Button

You can add buttons to any toolbar (main bar, tab bar, address bar, navigation bar, view bar, status bar, start bar or panels) except menu bar & personal bar simply by dragging button links to required place. Clicking on the button links without dragging will add the buttons to Tools → Appearance → Buttons → My Buttons for later use.

When you try to add a button, a dialog box with following message will popup. Press OK to add button.

Adding new button with action

[Action]

Do you want to proceed?

To remove a button, right-click on it and select Remove From Toolbar.

Get buttons for above from here as Opera button links won’t work in Opera Watch (WordPress). :(