Quickie Howto install the OpenID Wordpress plugin.

My friend Dan Spisak was having issues with getting his wpopenid plugin to work. I had previously mentioned to him the method which I had gotten mine installed to him, but I think I forgot a step or something, after getting the latest SVN version. I had gotten OpenID support working on here already, but ended up breaking my installation again recently. So I decided to write it out here.

DISCLAIMER: Here is the basic method I used. This is the installation method which worked for me, but may not work for you. The code below, will likely not work without modifications.

Download and unpack this to a tmp folder. It’s a tarball which contains wpopenid revison 86, and required libraries.

 
cd /tmp
 
wget http://sourceforge.net/project/showfiles.php?group_id=167532&package_id=190501&release_id=471609
 
tar -zxvpf wpopenid.86.tgz
 
# cd to where your wordpress installation lives.
 
cd /var/www/yourhost/htdocs//
 
cd /wp-content/plugins
 
# the latest revision as of today is Rev 95
 
svn co https://wpopenid.svn.sourceforge.net/svnroot/wpopenid/trunk wpopenid
 
# After unpacking the tarball, move the two directories listed
 
# Auth, Services to the wpopenid plugin folder
 
# these are the version 1.2.1 JanRain OpenID libraries.
 
mv /tmp/wpopenid/Auth /tmp/wpopenid/Services /wp-content/plugins/wpopenid
 
# below is the files and directories which you should now have.
 
cd /wp-content/plugins
 
ls -a
.   .svn  README    Tests     images                   todo                wpdb-pear-wrapper.php
..  Auth  Services  flow.png  openid-registration.php  user-interface.php  wpmuopenid.php

Then all you need to do is goto your dashboard, -> plugins, and activate wpopenid. You may need to refer to the README file in order to get the plugin to work with your theme, or to customize.

There is one more thing which needs to possibly be adjusted, you will need to check your error logs for something similar to the following.

 
[Sat Mar 10 17:08:52 2007] [error] [client 207.46.98.139] -------------------wpopenid-------------------
[Sat Mar 10 17:08:52 2007] [error] [client 207.46.98.139] WPOpenID Status: file:error_log [info]: PHP error_log is not set.

So unless your are debugging you will need to modify wpmuopenid.php and openid-registration.php to include…

 
define ( 'WORDPRESSOPENIDREGISTRATION_DEBUG', false );

Updating to the latest revision of the wpopenid is quite simple when using subversion.

 
cd /wp-content/plugins/wpopenid
 
svn update

You may eventually have to update the JanRain PHP OpenID libraries also, which isn’t the case as of this writing.

links:

http://sourceforge.net/project/showfiles.php?group_id=167532&package_id=190501&release_id=471609

http://www.openidenabled.com/openid/libraries/php/

Related posts:

  1. OpenID + Wordpress = <3 The pun is a little late for Valentine's day, but...
  2. OpenID Delegation Any blog or webpage which you can edit the HTML,...
  3. AOL Huzzah! AOL is supporting OpenID, which is huge. [via] [via]...
  4. OpenID Bounty I can't wait to see how OpenID will be intergrated...
  5. wordtube deleted. OK, over the past week+ after updating this plugin, my...

Related posts brought to you by Yet Another Related Posts Plugin.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

Bad Behavior has blocked 876 access attempts in the last 7 days.