forked from GNUsocial/gnu-social
MobileProfile serves pages out to iPhone and Android as application/xhtml+xml, which doesn't work with the default we we were loading recaptcha (as it used document.write). Switched to filling out a <div> from the AJAX API, which doesn't use document.write in the XHTML context. Tested that view & submission works ok in following browsers: Mobile: iPhone 3.1, Android 2.1, iPad 3.2 (this last doesn't trigger mobile theme tweaks) Ubuntu 10.04: Firefox 3.6.3, Chrome 6 Mac 10.6: Safari 5/OS X 10.6.4 Windows 7: IE 8, Opera 10.56
StatusNet reCAPTCHA plugin 0.3 11/16/09
=======================================
Adds a captcha to your registration page to reduce automated spam bots registering.
Use:
1. Get an API key from http://recaptcha.net
2. In config.php add:
addPlugin('recaptcha', array('private_key' => 'YourKeyHere',
'public_key' => 'ReplaceWithYourKey'));
or
addPlugin('recaptcha', array('private_key' => 'YourKeyHere',
'public_key' => 'ReplaceWithYourKey',
'display_errors' => true));
Changelog
=========
0.1 initial release
0.2 Work around for webkit browsers
0.3 Moved to new plugin arch for SN
**YOU WILL NEED TO CHANGE YOUR CONFIG.PHP!**
reCAPTCHA Lib README
====================
The reCAPTCHA PHP Lirary helps you use the reCAPTCHA API. Documentation
for this library can be found at
http://recaptcha.net/plugins/php