bbPress

Simple, fast, elegant

bbPress Plugin Browser »

OpenID for bbPress (0.0.3)

Download

Version: 0.0.3

Last Updated: 2009-4-2

Requires bbPress Version: 0.9 or higher

Compatible up to: 0.9

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(4)

Your Rating

Author: _ck_

Adds OpenID login support to bbPress so users may login using an identity from another provider.

Give your members the ability to add OpenID to their account instead of using passwords, and new members can register instantly via an OpenID provider.

Account creation now supported. Attempts to get along with Instant Password plugin.

Tags: ,

  1. Latest trunk 1.0alpha bbPress, login integrated with WP 2.7

    It works, kind of. On the sidebar where I have the inline login, it's fine.

    On forums/bb-login.php I get "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

    I copied over your login-form.php and I added this between the h3 and h2

    <?php
             do_action('openid_login');
    ?>

    If I leave it, I get the redirect error. If I take it out, I can only login from the sidebar, but I get no errors.

    Also, I don't see a place for new users to register as they log in, nor is there a place to click 'login' from the bb-login page (though hitting enter works).

    Posted: 1 year ago #
  2. _ck_

    Moderator

    There is no account creation yet, new users can't register via openid yet.
    For testing it just allows you to attach openid identities to your existing profile and then login through the openid.

    Hmm I am testing it on the latest trunk too and I don't get the redirect loop you do.

    Have you customized your login.php template at all otherwise?
    It's possible your integration is causing some kind of problem.

    Oh and what version of wordpress are you using? 2.6.1 ?

    Do you use full complex integration (bbpress runs inside wordpress) or standalone integration just sharing cookies?

    Posted: 1 year ago #
  3. josswinn

    Member

    Working as described in 1.0 alpha-3 with WPMU 2.7 trunk + user integration (simple, not deep). Thanks. Looking forward to testing account creation :-)

    Posted: 1 year ago #
  4. Latest trunk 1.0alpha bbPress, login integrated with WP 2.7

    :)

    Login is ... it's shared login with cookies minus the admin side (can't get that to work with 1.0a3 dang it, but the rest is fine).

    I have mucked with my login.php (formatting only, or so I thought), but I ran an update to 1.0a3 just now and un-did my edits to test again.

    Works fine when logging in via sidebar. Same 'too many redirects' when trying to login from bb-login.php - NO changes made to the login.php (except the do_action) BUT I am logged in on the blog AND the forums.

    Posted: 1 year ago #
  5. _ck_

    Moderator

    Starting with version 0.0.2 account creation is now supported.
    Also attempts to get along with Instant Password plugin.

    It's not recomended to use this on a live, active site until more testing is done by other users.

    Posted: 1 year ago #
  6. _ck_

    Moderator

    Ipstenu if it's not fixed in 0.0.2 I'll look at it more this upcoming week.
    So you are saying you are only sharing cookies, no deep integration.

    Posted: 1 year ago #
  7. Yeah, same problem in .2 :/ Redirect loop of death and yet I'm logged in.

    I had to find the wacky problems, didn't I? Cookie sharing only, no deep integration, though I'm going to fuss with that now because I'm bored.

    Plugins:
    Akismet
    Allow Images
    bbpress Smiles
    Comment Quicktags for BBPress
    Human Test
    Mass Edit - Moderate Posts
    OpenID
    SpoilerTags
    Unread Posts

    Update - With openID and Full Integration, I can't login via OpenID at all and can't logout at all either way. Also, I'm never logged in to Wordpress, where as without OpenID I am.

    Posted: 1 year ago #
  8. _ck_

    Moderator

    Ipstenu, maybe it's something the openid provider is sending back.
    Which provider are you using? Have you tried google?
    In 0.0.2 I made it so you only have to type google in the box instead of their weird url.

    Posted: 1 year ago #
  9. _ck_

    Moderator

    Make sure you upgrade the 1.0 trunk copy (hopefully you are using SVN) as they just fixed something with cookies.

    Posted: 1 year ago #
  10. I was using wordpress.com :) I kinda hope it's not them!

    I'll go for another round of testing tonight.

    Posted: 1 year ago #
  11. _ck_

    Moderator

    The one thing about WordPress.com vs all other OpenID providers is you first have to sign in BEFORE you try using the openid. They have no login-on-the-fly support.

    Maybe try google.com with any gmail account.

    Posted: 1 year ago #
  12. Yeah, I was logged in at the time (same with my own OpenID server and google and livejournal).

    I'm ripping things out for a 'clean' retry later this week.

    Posted: 1 year ago #
  13. pixelfreak

    Member

    Is the registration part done? When I try to login using a new OpenID account, it always redirect to register.php and then nothing really happens. Shouldn't it automatically log user in if email is provided or at least give an error if it is not? Also, where is the part where you actually INSERT the user into usermeta or user table? I don't see that anywhere.

    Is Instant Password plugin required?

    Thanks!

    Posted: 1 year ago #
  14. pixelfreak

    Member

    Is there a missing register.php file that I should be replacing the original one with?

    Posted: 1 year ago #
  15. pixelfreak

    Member

    I kinda get it now, you store the OpenID in session and user still needs to enter username and email before they are actually registered. The OpenID module in the registration page sort of throw me off.

    Posted: 1 year ago #
  16. _ck_

    Moderator

    Instant Password is not required but it does get along with it.

    Yes the OpenID needs to be approved before they can create an account with it.
    I guess I could make the instructions a bit better.

    Posted: 1 year ago #
  17. pixelfreak

    Member

    _ck_, what exactly is openid_debug stuff for? Can I comment it out?

    Thanks!

    Posted: 1 year ago #
  18. _ck_

    Moderator

    Oh heck did I leave that enabled? Sorry.
    I will repost with it disabled, you can just set it to false

    Posted: 1 year ago #
  19. pixelfreak

    Member

    I found a bug.

    Inside the function openid_remove(), I think this line:

    $remove_openid = intval($_GET['remove_openid']);

    should've been:

    $remove_openid = strval($_GET['remove_openid']);

    Also, the session that contains the openid URL doesn't seem to be properly cleared after a user logs out.

    Posted: 1 year ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.