WordpressPlugin

Page history last edited by oleurud 4 wks ago

RPX maintains an official Wordpress plugin which is available for download at:

 

http://wordpress.org/extend/plugins/rpx/

 

Plugin Features

 

  • Adds passwordless sign-in and commenting to your blog via OpenID, Google, Yahoo!, AOL, Windows Live, Facebook, and MySpace based authentication.
  • Attach a third party sign-in provider to your existing Wordpress account.
  • Create new accounts without registering and maintaining a password.
  • Easy to configure with no template modifications required.
  • Verified identity and provider icons for blog commenters.

 

 

Plugin Testimonials

 

"RPX makes installing single sign-on on your own web site extremely quick and easy, allowing your visitors to register using their existing account credentials from another site ... It is easy to use because RPX does most of the dirty work for you behind the scenes, and provides all of the code required. You can implement this solution in a matter of minutes on just about any type of web site."

-Web Worker Daily

 

"Everything went smoothly and exactly as advertised, and now I'm the proud owner of a bright and shiny new RPX Wordpress plugin.  All I need to do now is press that big red shiny 'That was easy' button!"

-Restafarian.org 

 

Changelog

 

3/22/2009 - Version 0.2 is now available which includes the following updates:

 

  • Option to use the RPX plugin with anonymous/traditional wordpress comments.
  • Automatic stying no longer enforced.  You may turn off the automatic rpx comment hints.
  • HTML ids added to everything inserted by the plugin, so you may override stying to match your theme.
  • No longer depends on libcurl.
  • Improved stability and bug fixes.

 

 

Help

 

If you have a problem or get an error page while installing or using the Wordpress plugin, please send as much information as possible about your blog, wordpress version, php version, server operating system, etc, as you can to brian -at- janrain.com.

 

Have an idea or suggestion for the plugin?  Leave a comment on this page or add it to the RPX User Voice.

 

Comments (Show all 43)

profile picture

mgorey said

at 2:55 pm on Mar 19, 2009

Login is not being successfully completed for me and visitors at www.gorey.com.au

User accounts are created, but comments can't be made ... keep getting asked to login. Can someone take a look please?

profile picture

billso said

at 3:44 pm on Mar 19, 2009

is there any detailed documentation about setting the parameters for setting up a Facebook app to handle RPX authentication requests?

There are several pages of blank fields in the facebook app that I set up - not sure what to use as a callback, for example.

profile picture

brianellin said

at 4:28 pm on Mar 19, 2009

@billso - Yes, from your site dashboard at rpxnow.com, click the "Facebook" link in the left navigation bar. That page has detailed instructions on how to set up facebook. You shouldn't configure *any* app settings other than the ones mentioned there. RPX will set the callback url for you automatically after providing your API key and secret.

@mgorey - i'll take a look. thanks for pointing that out.

@jengbeng - I don't think this is an RPX issue. I believe is is a wordpress setting.

@Andrew - css tweaks are in the 0.2 release coming in the next day or so!

profile picture

John P said

at 2:34 pm on Mar 20, 2009

Tried to install 0.1 ver. plugin. Installed fine, but couldn't activate. Running WP 2.7.1

Error Msg =
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/USERID/public_html/wp-content/plugins/rpx/rpx.php on line 114

profile picture

Ciprian Murariu said

at 11:07 pm on Mar 20, 2009

I got similar errors when I was using php5 classes on a php4 server, so that error might be related to the server version rather the plugin itself.

profile picture

Andrew Harrison said

at 12:09 pm on Mar 22, 2009

Thanks for the improvements, Brian. Another nitpick -- please re-add alt text to the images in the "verified comment using" div, as the attribute is required for W3C validation.

profile picture

AmirWatad said

at 3:31 pm on Mar 22, 2009

Plugin gives me 403 error instead of redirecting the user to the previous page. Any advice?
Thanks

profile picture

brianellin said

at 5:05 pm on Mar 22, 2009

Amir, can you provide details on your version of PHP, Wordpress, etc? If there is an error message with the 403 that would also be helpful. Thanks

profile picture

Kev said

at 4:51 pm on Apr 8, 2009

Hi Brian - thanks for the plugin - I have a small issue on WP 2.7.1 on PHP 5.2.9 it seems to be rendering a close </div> element like so:

<p id="respond"><b>Leave a Reply</b></p>

<p>You must be <a href=";http://localhost/lbrb/wp-login.php?redirect_to=http://localhost/lbrb/?p=1780">logged in</a> to post a comment.</p></div>

This is throwing out all my CSS after this point. I've looked through the two PHP files but can't find where this is generated. Any help much appreciated. I've tried this on FFox 3, IE6,7,8 and Opera9 all with the same issue.

profile picture

tom.tdw said

at 11:58 am on Apr 28, 2009

Hi,
Would it be possible to look at making it work with Wordpress Mu (I might have a go myself later :-) )

Thanks,
Tom Wright

profile picture

ulf.lundh said

at 10:29 pm on Apr 29, 2009

Im having problems using this plugin with WP 2.71. Not sure how to use avatars, should they be turn off or on? If ON, it shows gravatar and if OFF no avatars shows. I wish to use avatars from the chosen login, eg Google, Facebook, MS Live .
http://www.dreambase.com

profile picture

Ted Mann said

at 4:12 pm on May 11, 2009

Do you have any suggestions about how to incorporate the RPX authentication link onto WordPress signup pages -- wp-signup.php?
By default, the plugin adds the standard "Leave a verified comment" image to the bottom of the page, but is it possible to incorporate alternate language onto that page?

profile picture

Bruno Amaral said

at 3:42 pm on May 12, 2009

the plugin causes a blog to have invalid xhtml 1.0 simpy because the &goback= bit of the code is not encoded to read &amp;goback=.

Attempting to fix this issue in the php file will cause RPX not to work.

profile picture

efc said

at 7:46 am on May 25, 2009

I'm not sure what's going wrong with RPX on WP 2.7.1, but any comments submitted by RPX authenticated users appear in the WP admin dashboard as "From on Title" ("Title" is the post title). Notice that between "From" and "on" it is blank, this is where a username appears for folks who have done a traditional WP logon. When I look at these user profiles, everything looks good (though some are without email addresses, ironically the gmail authenticated users, but that's another problem). They all have usernames, why do these not show up in the WP dashboard as "From" these users?

profile picture

Hosung Song said

at 1:29 pm on May 26, 2009

First of all, thanks much Brian for your great work. However, I'm reporting my problem with RPX Wordpress Plugin. My problem is that after I paste my API key and click Save on the RPX plugin settings page, no confirmation message is displayed (according to my code readout, it should display something like "Success!!"). Therefore, no sign-in dialog with provider icons shows up. When I click the RPX settings link again on the WP admin page, it still asks an API key. From my short code readout, I suspect some JSON parsing is not OK? Sorry I didn't have enough time to investigate further. Anyway, my Wordpress version is 2.7.1 and PHP version is 5.1.6. Thanks.

profile picture

hendry said

at 8:43 am on Jun 1, 2009

Has WP stopped working with RPX? We had WP as an option on our test site, but trying to sign in just took us to a page saying we had to go to WP to sign in and no links were given to prevent phishing... Anyone else getting the same on their WP signins?

IH

profile picture

scott said

at 1:21 pm on Jun 12, 2009

Brian, the plugin is great, but I have one problem, and it's a biggie. My site is private - it's for a university course - so I've disabled the ability for anyone in the world to register & join the site by going to General Settings > Membership & unchecking Anyone can register. However, anyone CAN still register with the RPX plugin. It apparently ignores that setting, which means that I can't use the RPX plugin. Any way you can fix the RPX plugin - which is otherwise fabulous - so that it respects that setting? Thanks! --Scott

profile picture

Stop Climate Chaos said

at 10:46 am on Jun 16, 2009

Hi Brian, I've been using this on one site and it's fantastic, but I'm trying to install it on a fresh Wordpress 2.8 install (PHP5) and I'm getting the same problem as Husung Song above. Blank screen after entering the API key, and can't figure out why.
Help much appreciated!
Thanks

profile picture

Tom Nielsen said

at 3:30 pm on Jun 22, 2009

Hi Brian,

Same problem as Hosung Song and Stop Climate Chaos, no confirmation, re-asks for API key. Am using WP 2.8 and localhost application.

Have also been testing with OpenID plugin s3.2.2, XRDS-Simple, and Third Party Accounts Login plugins which work. With/without them activated, I've never seen the RPX login user interface.

Thanks - Tom

profile picture

rononline said

at 11:56 am on Jul 11, 2009

I'll give it a shot !

profile picture

Zach said

at 5:33 pm on Jul 11, 2009

Great plugin! I have a request, though; could you add an option to use the Javascript popup version of the login box instead of an iframe? The iframe messes up the layout and doesn't match the style of the login, but a popup launched by a link or button would look better. I could then add some help text to tell users about this alternate login method.

profile picture

jamilleiro said

at 1:43 am on Jul 25, 2009

Hi,

I just want to put the box directly on my comments zone, I don't want the UI of "click" and then I show you the popup... there's that option? Thanks!

profile picture

David Henderson said

at 5:06 pm on Jul 28, 2009

Hi Brian,

I'm getting this error in Wordpress when I try to enter the RPX API Key. Can you help me out?

Warning: file_get_contents(https://rpxnow.com/plugin/lookup_rp) [function.file-get-contents]: failed to open stream: No such file or directory in /home/kirk95/public_html/online-discussion/kirk95/blog/wp-content/plugins/rpx/rpx_fetcher.php on line 56

profile picture

David Henderson said

at 2:28 pm on Jul 29, 2009

FYI...I'm using the latest versions of PHP and Wordpress. Would love to get this working.

Could you make this work in PHPBB3 as well?

profile picture

Sebastián Herrera said

at 3:58 pm on Aug 17, 2009

Brian:

I'm getting the following error when entering the API Key:

Warning: file_get_contents() expects at most 2 parameters, 3 given in /home/criticas/public_html/wp-content/plugins/rpx/rpx_fetcher.php on line 56

I'm using the lastest version of WP, WP plugin and PHP.

Thanks in advice for your help!

profile picture

Casey said

at 12:13 pm on Sep 22, 2009

I love the plugin, but I do have a question. Is there a way to use the RPX login panel within a popup instead of within an iframe? I'm using the BM Custom Login plugin which is producing some gnarly results when combined with RPX. Any ideas?

profile picture

Oz Desi said

at 8:27 am on Oct 4, 2009

Using the latest version of Wordpress and PHP and it works really well. Except for two issues.

1. In the Comments page inside the admin panel, the names of the commenters in the comments list has disappeared.
2. In your settings page of your plugin you have a line called "RPX can automatically insert markup into the comments section of your page like this: " - there exists no code or script below it or I can't see it.

profile picture

Jason DeVore said

at 5:18 pm on Oct 6, 2009

I am excited about this plug-in. I would like to know if commenters' avatars (gravatars, icons, etc.) could also be displayed. It doesn't seem like profile pictures are displayed even though I have avatars enabled. (I've tried with all of the various options Wordpress provides.)
http://417sounds.com

profile picture

Paul Buijs said

at 1:58 pm on Oct 17, 2009

Same question as Jamilleiro above I think. I have the Discussion setting enabled requiring "users must be registered and logged in to comment." I would like the rpx login screen to appear on the comment page itself. Is there a line of code I can drop in the comments.php file?

Also, in the settings area, there's the option to: "Insert RPX comment hints into my page automatically RPX can automatically insert markup into the comments section of your page like this:" The area following that is blank. Shouldn't there be a preview of the GUI? I have tried the plugin with the setting both enabled and disabled.

http://paulbuijs.com
WP 2.8.4
Godaddy hosting PHP 5
Tried opening permissions on comments.php

Thanks for any help! -Paul

profile picture

Chris Abraham said

at 2:18 pm on Dec 14, 2009

Does this plugin work on wpmu?

profile picture

Mark Laymon said

at 3:47 pm on Dec 14, 2009

Yes it does work on WPMU. I also used it on a BuddyPress install

profile picture

asdeskmichael said

at 1:22 pm on Dec 21, 2009

Similar question to what AmirWatad once posted.. I have installed the RPX plugin on a brand new implementation of WordPress (via http://wisefact.com/wordpress). Due to error 403 Forbidden, the user is unable to login. The following is a timeline of the roots of the problem.

Login Information requested on WordPress
User asked to select provider.
User selects provider

User is redirected to provider.

Upon successful login on provider, user is redirected back to WordPress.

The following error message (Forbidden 403) occurs on the page that is loaded

Forbidden

You don't have permission to access /wordpress/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at wisefact.com Port 80

I do not know why this error message is occuring. It may be a problem on my server. Anyhow, I hope someone can help me discover what is wrong.. Thanks.

It is a brand new implementation of Wordpress, and RPX. I invite you to go to http://wisefact.com/wordpress and click Login (under Meta) to see what I am talking about..

profile picture

Eric D. Sawyer said

at 5:18 pm on Dec 23, 2009

So I installed it on my Blog; FotosByEric.com, and under the wp-admin.php url there is a login widget. Is there a way to put it in the comments.php so that people could just click to login and post a comment? Any help would be greatly appreciated!!

profile picture

Stuart Langridge said

at 4:31 pm on Jan 18, 2010

The official plugin page at Wordpress.com only indicates compatibility with Wordpress up to version 2.8, and 2 people have said that version 2.9 is not supported. Is this the case? If so, is there a new version due to support WP2.9 in the works?

profile picture

mrjustinstyle said

at 1:11 pm on Jan 19, 2010

The login seems to work fine, but how can i get more profile information from the likes of Facebook, the avatars dont even show for me. There doesnt seem to be much documentation for implementing the wordpress plugin beyond the login process. if i upgrade to pro or plus will i get adequate support to retrieve user information and mapping for accounts? www.essen-online.eu/wordpress

profile picture

mrjustinstyle said

at 1:12 pm on Jan 19, 2010

i also want the ability to pre approve users, as my website is supposed to be members only

profile picture

casemon said

at 1:29 am on Jan 20, 2010

This is a very cool plugin!

Couple of issues:

- With RPX, user has a choice of login options, user logs in with Google, but returning later decides she wants to login with Facebook... she cannot! She logs out, but now only Google shows on the Log In page! Is there a setting to disable this?

- Iframe width is wider than it needs to be. Hardcoding the iframe width makes integration via CSS a pain. Just to center & resize the RPX box, had to manually edit the plugin php and if there is a new version, will have to do it again, ad-nauseam.

- Why not allow for registration via the supported sites? Seems weird having users login via Facebook, Yahoo, etc. but then if they want to register, they can only use the site's login.

- Often there are advantages to joining a given site beyond just leaving comments via external site login, so think the plugin should tell me that it is automatically disabling Registration upon activation. Or make it an option.

- The Admin panel for RPX has the comment hints example display style set to "none" hardcoded; cannot see the example without Firebug. Line 220 of RPX.PHP

- Would like the option to host the login images on my site. Accessing RPX's site to show login buttons is not very nice, especially if RPX's site is slow. The fewer new site calls the login page makes, the better! Please allow me to host my own images (similar to the tiny images used in the comment hint)

That's all that I can think of for the moment.

Still a very cool plugin!

profile picture

Robert Iseley said

at 6:19 am on Jan 22, 2010

@Stuart - I am running the current version on WP 2.9 and it does work.

@ mrjustinstyle - The preapproved users is a problem with there code right now not check if WP allows for self registration. I have modified the code a bit to check for that. This change should be made in the rpx_user.php file. Just find the corresponding first and last lines and replace everything in between.

/* if we don't have the identifier mapped to wp user, create a new one */
/*modified by Robert Iseley contact at robert at brianlis dot com */
if (!$wpuid) {
if (get_option('users_can_register') == 1) {
$wpuid = rpx_create_wp_user($auth_info);
} else {
wp_redirect(get_option('siteurl') .'/wp-login.php?registration=disabled');
}
die();
}
/* sign the user in */
wp_set_auth_cookie($wpuid, true, false);
wp_set_current_user($wpuid);

/* redirect them back to the page they were originally on */
if ($_GET['goback'] == '') {
wp_redirect(get_option('siteurl')) ;
} else {
wp_redirect($_GET['goback']);
}
die();
}
/* End of Modification by Robert Iseley */

function rpx_get_wpuid_by_identifier($identifier) {

I have tried to get a hold of Brian to find about getting this updated but no response and get on to the development team, but no response.

@casemon - I like your suggestions, maybe I'll get to work on some of them. But to your first comment......they would just need to click "This is not me" and it will bring up all the choices for login again, but it will make or need a new user for the different login information.

profile picture

CCFADMIN said

at 1:11 am on Jan 30, 2010

Hello,

I apoligize in advance if I'm posting this noob question in the wrong place. I have WP 2.9.1, the RPX plugin version 0.2.4. The plugin installed with no problems, when you click LOGIN I get the pop, however when I try to log with any of the options (Facebook, Twitter, Google, etc) it shows like it registered, but it just brings me back the main page and I'm not logged in. I've tried this on IE, FireFox, and Chrome. I also had users try fro a different location. There is no error, nothing. I also run the latest stable version of Simple:Press. I would like some assistance please. Thanks! PLease keep in mind I am a beginner, but can typically follow directions very well.

profile picture

elking10 said

at 7:05 pm on Feb 5, 2010

Hi,
I face the same problem of "CCFADMIN"..
after sign in successfully, the url redirect to the main page, but with this link..
http://www.(mywebsiteurl).com/?rpx_response=1&goback=http://www.(mywebsiteurl).com/(the rest url of post).html

so it's not redirect permanently to real post url (http://www.(mywebsiteurl).com/(the rest url of entry).html)
and also if you trying to enter any page to comment (after sign-in and the false url redirect), it's appear to be that you need to repeat the sign-in process again and again.

any idea !!

You don't have permission to comment on this page.