new wpopenid (r13)

So I’ve made a few updates to my port of wpopenid, and feel like this is coming along rather nicely. The full list of changes can be found on my project page, along with download links, subversion URLs, etc. Note that as of this writing, the latest version is r13, which is actually lower than the previous release (r92wn1). This merely reflects that I’m basing it off the revision numbers in my own repository versus the official one at sourceforge. Also note that there is no longer a diff provided, since I’ve made the subversion repository public.

http://willnorris.com/projects/wpopenid/

Comments and responses

Hi,

Sorry for my english (i speak french). I have installed wpopenid+ on my blog, thanks for new feature and bug correction.

I have changed an element in plugin, if name, mail and website field have data, i use this and not sreg data (i have added url). It is for authorize user to override information for current comment.

I don't have include this in plugin options but if you can add an option to enable this feature it is a good idea. I can send a patch to you if you want.

[quote comment=“1306”]It is for authorize user to override information for current comment. - Yann Lugrin[/quote]

I'm certainly open to suggestions, but I'm a little concerned with where you may be going with this. OpenID is primarily a method of federating authentication and allowing for presentation of a consistent identity among different systems or applications. Many OpenID providers do support the idea of multiple "personas" to represent the fact that people often play many different roles in the real world and therefore their identity may be defined by the context within which it is presented. For example, I may use my formal name when I'm at work, but a nickname and perhaps different email address when I'm outside of work. I'm still the same person, but I'm in a different context so I present myself differently. It's important to note however, that my persona typically does not change within a given context, but rather when moving between contexts. The question then arises, and I guess maybe this is what you're getting to, what if I want to present multiple personas simultaneously within a given context? Perhaps that wouldn't actually be multiple personas, but rather a third "combined" persona... I'm not sure. These are much deeper questions than I feel qualified to address, but I'm sure (or at least hope) they are being discussed by people much smarter than me.

Now I could be wrong on all that, and this kind of a feature may be in line with the philosophy of OpenID... I'm not sure, but I'd love to hear more discussion on the topic.

As a side note, my understanding is that there is work going into OpendID 2.0 to include some privacy preserving features (perhaps akin to SAML Persistent ID ? -- cf section 8.3.7 of saml-core-2.0-os.pdf), so it will be interesting to see what kind of effect that has on this issue.

I agree with you, but it is possible to modify its informations in WordPress profile, it is better if the user have this choice with first comment.

If website is set the openid page, many page don't have a link to a other page (everyone does not use claimid :)) and a Blog comment without possibility to create a link to another blog is a problem no ? For name and email, OpenID informations can be ok, but not for website.

Ahh, I get what you're saying... that does make sense. I wonder if perhaps the best way to address this issue is to recommend OpenID delegation?

[But aside from delegation...] so, this definitely wouldn't work if you are using unobtrusive mode, since there is only a single input field for website, and that has to be the OpenID. If you're using 'classic' mode, then you've got a separate input field for website... all you'd need then is an additional checkbox with some text somewhere along the lines of "Use this information for creating my profile." What if the account already exists? Do you overwrite the profile data using what they filled in, sort of providing an alternative for updating your profile if you don't have access to wp-admin?

[quote comment=“1337”]If I have already used old wpopenid plugin,what should I do to update to your wpopenid+? Or should I need to do so?[/quote] The main reason you might want to update is if you want to use unobtrusive mode or are affected by one of the bugs that have been fixed (for example, if your blog url is not the same as your site url). If not, then you can probably just stick with the old version for now. I’ve talked with Alan (the original developer of the plugin) and we’re going to work to get some of these patches committed back into the main trunk, so there will no longer be two different versions.

If you do decide to update, then simply replace the version you have with what you download from here. All the preferences and such should carry over.

[quote comment=“1341”]I’m implementing your Plugin in my website, but it doesn’t seem to honour my openid.server and openid.delegate headers. Any suggestions?[/quote] Hmm, I know that it respects delegation in most cases since that is what I use here. What is the OpenID it’s not honoring? The one you just logged in with here (http://www.ende-der-vernunft.org/MyID.php)? Hmm, doesn’t look like you have it activated right now, so I can’t test it to see if it honors my delegated ID.
Yes, I played around on my test blog, but now I transfered it and it seems to work. One request: Could you post the actual code for the comment form? Yours is much nicer than the code in the readme.

[quote comment=“1358”]One request: Could you post the actual code for the comment form? Yours is much nicer than the code in the readme.[/quote] Actually, I’m just using what is built in to the plugin… I’ve got the last three options checked – “Comment Form”, “Internal Style”, and “Unobtrusive Mode”. I don’t have “Login Form” checked because it does some really funny style stuff, and just haven’t had a chance to fix that yet.

Update: I now have all four options checked for this site… just need a little CSS tweak to hide the login form from the main page.

I actually just updated the comment form a little bit to provide better explanatory text of OpenID. If you want to use that, you’ll need to grab the latest version of wpopenid+ out of SVN.

I’ve installed this, but it does not seem to support iNames (on my installation - I was able to add a comment here :-). Attempting to add a comment on my local site using my iName results in “Could not discover an OpenID identity server endpoint at the url.”

Is this a configuration issue (btw, I’m using PHP 4.4.4)?

OpenID in WordPress…

Seems to be a good year for OpenID: some big players - AOL, Microsoft, Yahoo!, Digg - are slowly approaching to OpenID implementations and since yesterday WordPress.com accounts can be used as OpenIDs too. I bet a native OpenID support in WordPress can…

I’m trying the plug-in on my site and I’m having a small problem.

Instead of showing the nickname of the person who posted the comment, it’s showing “Anonymous” which links to the person’s web site.

How do I get it to show the persons nickname which is in their profile?

My site does require logging in before posting comments.

[quote comment=“1502”]Instead of showing the nickname of the person who posted the comment, it’s showing “Anonymous” which links to the person’s web site.

How do I get it to show the persons nickname which is in their profile?[/quote]

Displayed name is controlled by the ‘Profile’ panel in wp-admin. However, I don’t believe that changing the user’s displayed name will go back and change old comments… it will just set it for future comments. If you want to fix old comments, you’ll need to edit them manually.

I’m curious about the ‘anonymous’ value, if you do require logging in. Was that name asserted by their OpenID provider, or did Wordpress generate it?

A future version of the plugin will give the user more controls at account creation time, such as choosing their account name and what name is displayed.

Will, thank you for this great Plugin.

I tried to set it up on my blog at www.agenturblog.de. But when entering an Open ID URl, I get an error message like this: Fatal error: Call to a member function on a non-object in …/plugins/wpopenid/openid-registration.php on line 472

Any idea, what this might be?

Thank you very much, Oliver

I tried the other Fork of this plugin at http://sourceforge.net/projects/wpopenid/

This leads to a similiar result. There seems to be a problem with the variable Globals:

[FAIL] unknown library variable: GLOBALS

Any idea?

Will, I posted this on a post that it is a bit old, I am afraid. If you have moderation enabled, what will the behavior be? Will it show your comments as being under moderation, or just silently swallow it without any other warning? Alan’s version does the second…
[quote comment=“1802”]Will, I posted this on a post that it is a bit old, I am afraid. If you have moderation enabled, what will the behavior be? Will it show your comments as being under moderation, or just silently swallow it without any other warning? Alan’s version does the second…[/quote] no problem, I still saw it. :)

[quote comment=“1803”][quote comment=“1802”]Will, I posted this on a post that it is a bit old, I am afraid. If you have moderation enabled, what will the behavior be? Will it show your comments as being under moderation, or just silently swallow it without any other warning? Alan’s version does the second…[/quote] no problem, I still saw it. :)[/quote]

Ahh, excellent. Good to know is on the list. Alan told me he believed it was a cookies related problem. I tried to troubleshoot it, to no avail (but hey, I am not a programmer). Cheers!

It seems I might be spamming, I am not. I got another question. Your theme is based or derived from K2, right? Yet, you are not using AJAX commenting, I noticed the plugin will not work with that feature enabled. Will it be possible to accomodate AJAX comments? Cheers!
[quote comment=“1825”]It seems I might be spamming, I am not. I got another question. Your theme is based or derived from K2, right? Yet, you are not using AJAX commenting, I noticed the plugin will not work with that feature enabled. Will it be possible to accomodate AJAX comments? Cheers![/quote] No worries, I don’t think you’re spamming :) Yes, this site is using K2 and yes, I’m aware of the trouble with AJAX commenting. I have a pretty strong feeling this is simply not possible, due to the required redirect to the user’s OpenID provider. If you are already logged in, this is normally transparent, but it is still there. Now that I think about it, I may add some kind of check in there and display a warning if it detects K2 AJAX commenting is enabled.

I really enjoy having this plugin! Thank you.

I also look forward to having “Waiting for moderation” shown.

Nit-pick: the plugging logs quite a bit to apache at loglevel [warn] when it probably should be info or debug.

Your plugin seems to work for most people, though I have encountered problem while testing it on my blog. I can’t access any article in IE 7, I just see a blank page. I am running a K2 derivative, http://www.obharath.net/blog/2006/12/17/3-column-k2-093/, on WordPress 2.1.2. I have disabled AJAX commenting but it didn’t work either. Do you have any idea what might be the problem?

Thanks Carsten

[quote comment=“2228”]Your plugin seems to work for most people, though I have encountered problem while testing it on my blog. I can’t access any article in IE 7, I just see a blank page. I am running a K2 derivative, http://www.obharath.net/blog/2006/12/17/3-column-k2-093/, on WordPress 2.1.2. I have disabled AJAX commenting but it didn’t work either. Do you have any idea what might be the problem?[/quote] What version of the plugin are you running? if running r13, try upgrading to the latest one in subversion.. there are a couple of updates there that haven’t made it out yet. If that doesn’t work, let me know what version of PHP you’re using so I can try and recreate the environment here. (also, I’m posting this comment from IE7 just to make sure I’m not having problems with it)

Yes, I am running r13. I have tried the latest one in subversion but it didn’t work. I’m running PHP 5.2.1. There is also the following error message: [FAIL] unknown library variable: php_errormsg This library variable is unknown, left unset.

Carsten

Hello,

I installed the plugin ; great work but it seems that the link in order to show the name of the commenter displays the OpenID URI and not the personal website ; do you know something about this and how to solve this ?

It seems that there is not any warning to say that the comments are waiting for the moderation ; do you know why ?

Thank you

Hi, I just installed this script. However, when I try to use openID in the comments, I get this error:

Fatal error: Call to a member function on a non-object in …/plugins/wpopenid/openid-registration.php on line 472

I don’t get this error when I use the openID form on the sidebar.