- You must have the php curl module installed. On debian, for example:
apt-get install php4-curl
- Unpack the plugin:
cd /path-to/my-wordpress-blog
tar -C wp-content/plugins/ -xzf asirra-wordpress-plugin-1.1.tgz
- Insert the following line in your comments.php file, inside the
<form> tag. I suggest inserting it before the
<input ... value="Submit Comment">
button to place the Asirra box at the end of the comment form:
<?php display_asirra(); ?>
- Fix comments.php. Change the id and name of the submit input element
to something other than "submit" (which masks the JavaScript form.submit()
function).
<p><input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
becomes:
<p><input name="submitBtn" type="submit" id="submitBtn" tabindex="5" value="Submit Comment" />
- Activate the plugin using the WordPress admin interface: Under the
Plugins tab, click "Activate" on the Asirra row.