Steam Captcha

I just opened the new GMod Wiki open to registrations. Within a couple of hours there’d been attacks by about 4 spambots. How annoying. You can use captcha’s against these things – but they rarely work because believe it or not it’s actual humans filling out the captchas.

So I made a quick plugin for mediawiki. When you try to create an account it asks you to log in using Steam (something anyone editing the wiki should have). Once you’ve done that it saves a cookie saying you’re `ok` and you’re free to create an account.

It doesn’t create an account based on your SteamID anymore. That system proved to be more trouble than it’s worth. But it does offer you perfect shelter from spambots.

If you want to try it out:

require_once( “$IP/extensions/SteamCaptcha/SteamCaptcha.php” );

Feel free to improve/redistribute/do whatever you want with it. You could probably use it as an example of how to make a log in page using Steam’s OpenID stuff.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s