bbPress Plugin Browser »

OpenID Plus for bbPress (1.0 beta)

Download

Version: 1.0 beta

Other Versions

Last Updated: 2010-3-12

Requires bbPress Version: 1 or higher

Compatible up to: 1.0.2

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

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

Your Rating

Authors Shivanand Sharma, _ck_, Steve Love

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

Give your members the ability to instantly login (while silently registering in the background if they are logging in the first time) with an OpenID provider. Account registration is silent and happens automatically if an existing profile is not matched.


  1. _ck_? Phew looks like my name went missing from the authors list. I'll have to check how the plugin.php is parsed. But enjoy it for now. This is a total rewrite of openid plugin. So it's similar but no where close.

    Posted: 1 year ago #
  2. Change your password now. You have posted it in the log.

    Posted: 1 year ago #
  3. Done. By the way is there a way to hide the password from the log?

    Posted: 1 year ago #
  4. Password shouldn't be shown, I don't know what are you using to upload your files. Try using Tortoise SVN.

    Posted: 1 year ago #
  5. I'm using the command line.

    Posted: 1 year ago #
  6. I think this happened because I issued the entire command including the password all at once instead of letting the server ask for password. Would that be a correct guess?

    Posted: 1 year ago #
  7. Hi -

    this plugin is very useful, but I do have a few comments:

    1) the 'help' button does absolutely nothing on my site, the href link also refers to #openid, but there is no element with that id!

    2) the actual usage of logging-in using OpenId is quite confusing. I got it to work with gmail but not facebook (which is supposed to support OpenID). Do you have to put in a username and password, or just the web address in the openid box or...?? The 'help' function working would definitely help!

    3) I think you should make it clear that the login-form.php file in the package is an example for implementation and not an active part of the plugin, this confused me for a while. I put your example into the login-form but I couldn't login using that form with the gmail example I created, although it does work in the login.php page. Also, it would be cool to have the login-form addition as an option to add within the plugin, without having to do any template edits.

    4) A small thing, but the link for OpenID Providers you give (http://wiki.openid.net/OpenIDServers) is out of date - how about this one?

    I hope there's just a few tweaks maybe to get this plugin working really well, so thanks for the good work!

    Posted: 1 year ago #
  8. @yoyopop In order of your questions -

    1) Please provide the url
    2) You have to put in the openid provider in the box instead of the username and password. This will redirect you to the openid and prompt you to authenticate. Upon successful authentication it will redirect ot the bbpress forum, query your openid provider for your account info and silently register your account with the bbpress forum in the background.
    3) I'm afraid it wasn't clear already. It's not an example but a file to replace the actual login form in bbpress to get the plugin working.
    4) I'll update the link in the next release

    I coded this plugin for my own forum. And since I know I need it, I know there will be others who need it too. Your feedback really helps me to develop this addon and improve it. Most of the issues you've reported will be taken care of in the next release.

    Posted: 1 year ago #
  9. @varun21 -

    thanks for the quick reply!

    I'm running a test forum at the moment, just to try and get things running smoothly. The url is here: http://www.putsonline.co.uk/bbpress/

    I replaced the default login-form.php with the version from the plugin ( I noticed that BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_USER_FORMS, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS from lines 1, 6 and 7 of the default login-form.php are removed - is that important?)

    I also found I had to replace line 24 from openidplus.php from
    $openid_options['icon']=""bb_get_option('uri').trim(str_replace(array(trim(BBPATH,"/\\"),"\\"),array("","/"),dirname(__FILE__)),' /\\').'/openid.png';
    to
    $openid_options['icon']="http://www.putsonline.co.uk/bbpress/my-plugins/openid-plus/openid.png";
    or my whole forum didn't load!

    I also removed the 'options-general.php' value from line 53 so that the OpenID options appear under the plugins menu rather than the general settings menu in the admin (but that's just me).

    And I added your suggested code into login.php to include the form there (http://www.putsonline.co.uk/bbpress/bb-login.php)

    Hopefully you can see that the 'help' link doesn't work on the front page, bb-login.php, register.php (although a pop-up is opened on the front page).

    Posted: 1 year ago #
  10. In terms of usability, I have a couple questions:

    - do you think to help readability it could be useful to have a second 'login' button next to the OpenID URL input on the login page, otherwise the button to send the form is above the OpenID section and isn't so clear. Not everyone will just hit Enter to log in.

    - also, one thing that was confusing me was where it says Optionally register via OpenID instead of a password - that made me think I had to put a username into the field above, as well as a url into the OpenID box below. But the OpenID is actually instead of the password and the username, so maybe that piece of text could be clearer!

    Also, playing around noticed a couple of problems:

    - registering via OpenID bypasses the Human Test plugin, which I know quite a lot of people use. But, this may not be a problem, due to the nature of who would be using OpenID and/or the procedures involved?

    - myspace verification seems to be broken?

    Posted: 1 year ago #
  11. I FTP'd it up and went to activate and it produced a Fatal Error.

    Posted: 1 year ago #
  12. Thanks for using this plugin. I use it successfully at http://www.binaryturf.com/forum/. I also provide support for it there http://www.binaryturf.com/forum/. It's just a little difficult to check this thread everyday and offer support here so sorry for being late.

    yoyopop: Your feedback is noted. I'm aware of these issues and shall fix them in the new release.
    kingscast: Please quote the exact error you got. Additionally provide a link to your site.

    Posted: 1 year ago #
  13. thanks varun21, please post here as well when you make any updates!

    Posted: 1 year ago #
  14. I'm glad you continued my openid plugin and I don't mind that you used my work but please don't call your plugin a "total rewrite".

    You used my variable names, my hook research, my entire replacement login form design with toggle (heck even my optimized openid icon) my original help box, etc.

    So what you did was extend my original plugin, not a total rewrite by any means.

    But in any case, keep up the good work.

    Posted: 1 year ago #
  15. Well, I can't be too specific about English as it's not my language. But now the code is pretty much modded beyond recognition so I just thought I'd mention that it's changed drastically. Yes, it's your plugin after all hacked under GPL. I wouldn't bother much that now you are finally back (and I'm one of your thousands of fans).

    PS: I even stole the original name ;) It's your plugin after all...

    Posted: 1 year ago #
  16. shrek-m

    Member

    i can't get openid-plus to work with different providers.
    openid.org, google-profiles, google-blogger, wordpress-openid-server, ...

    the wordpress-openid plugin and other openid-solutions are ok with this providers.

    here is an example with openid.org <email missing>

    --------
    Email missing.

    0

    Your OpenID Identity is (https://openid.org/<username>). You are a new user to this site.

    The following information came back from your OpenID provider:
    Array ( )

    DEBUG:

    GET
    Array ( [action] => verify [openid_claimed_id] => https://openid.org/<username&gt; [openid_identity] => https://openid.org/<username&gt; [openid_sig] => <sig............sig>= [openid_signed] => claimed_id,identity,assoc_handle,op_endpoint,return_to,response_nonce [openid_assoc_handle] => {634429770345670000}{n+h7Jw==}{32} [openid_op_endpoint] => https://openid.org/OpenId/Provider [openid_return_to] => http://<my.domain>/register.php?action=verify [openid_response_nonce] => 2011-06-07T17:08:23ZhDtL7uXy [openid_mode] => id_res [openid_ns] => http://specs.openid.net/auth/2.0 )

    POST
    Array ( )
    ----/----

    Posted: 8 months ago #
  17. shrek-m

    Member

    here is an other server error with the plugin

    ---- https://openid.org/OpenId/SendAssertion ----
    Server Error in '/' Application.
    There's no pending authentication request!
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: There's no pending authentication request!

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [InvalidOperationException: There's no pending authentication request!]
    Open.Authentication.Controllers.OpenIdController.SendAssertion() +129
    lambda_method(ExecutionScope , ControllerBase , Object[] ) +39
    System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
    System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +178
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +24
    System.Web.Mvc.<>c__DisplayClassa.<InvokeActionMethodWithFilters>b__7() +52
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +254
    System.Web.Mvc.<>c__DisplayClassc.<InvokeActionMethodWithFilters>b__9() +19
    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList1 filters, ActionDescriptor actionDescriptor, IDictionary2 parameters) +192
    System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +399
    System.Web.Mvc.Controller.ExecuteCore() +126
    System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +27
    Open.Web.Controllers.ThemeControllerBase.Execute(RequestContext requestContext) in C:\dev\open\Open.Core.Web.Base\Controllers\ThemeControllerBase.cs:81
    System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext) +7
    System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +151
    System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +57
    Open.OpenMvcHandler.ProcessRequest(HttpContext httpContext) in C:\dev\open\Open.Core.Web\Configuration\OpenRouteHandler.cs:42
    System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +7
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

    Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
    ----/----

    Posted: 8 months ago #

RSS feed for this topic

Add a Comment

You must log in to post.