• Currently 5/5
  • 1
  • 2
  • 3
  • 4
  • 5
Yahoo! OpenID

This plugin utilizes Movable Type's extensible Open Id Login framework to give a preferential and customized login experience for Yahoo! users on Movable Type blogs.

Screenshots

Requirements

Crypt::SSLeay Movable Type 4.2

1 Comment

I was having problems getting this plugin (v1.03) to work on my MT 4.23 blog, so I went in and hacked it up a bit. It seems to work now. Here's a diff of my changes to YahooOpenId/lib/MT/Auth/Yahoo.pm
 

12c12,13
< sub _get_nickname {
---
> sub get_nickname {
>     my $class = shift;
15c16,17
<     if( $url =~ m(^https?://me.yahoo.com/(.*)/?$)
---
>     if( $url =~ m(^https?://me.yahoo.com/([\w.]+)([^/]*)$) ||
>         $url =~ m(^http://www.flickr.com/photos/(.*)$)
19c21,22
<     *MT::Auth::OpenID::_get_nickname->(@_);
---
>     return 'Yahoo user';
>     $class->SUPER::get_nickname(@_);

 
Note: I added the second-to-last line (return 'Yahoo user';) in order to provide a better looking default in case there's no match, as the default Yahoo OpenID URL is long enough to break my comments layout. And since Yahoo allows you to use your flickr URL as an OpenID, I added that in too. I'm not aware of other Yahoo OpenID formats.

Leave a comment

Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation. Your note may be removed once it's contents has be integrated into the body of the page.