Skip to:
Content
Pages
Categories
Search
Top
Bottom

user compatability with WP plugin Register Plus?

  • @mzimmers

    Member

    In my WordPress site, I’m using a plugin called “Register Plus” that permits me to define which fields are required for registration. (I’m only requiring first and last name in addition to email address.) Is there some way to enforce this on the BB end? I’m trying to use a single user DB, but I’m concerned about what will happen if people register on BB and don’t put in the fields I want.

    As a fallback, can I disable registrations on BB and just force them to go to WP?

Viewing 17 replies - 1 through 17 (of 17 total)
  • @chrishajer

    Participant

    I think forcing all registrations through WordPress is the way to go:

    https://bbpress.org/forums/topic/user-intregation-between-wordpress-038-bbpress-not-work#post-10428

    That’s an old post, but it describes the process best.

    @mzimmers

    Member

    Yuk. OK…thanks for the information.

    @johnjamesjacoby

    Keymaster

    I am using the same plug-in and am doing exactly as Chris has recommended. Note that the user will not be assigned a role on the bbPress side until they actually visit the forums, because WordPress has no way to know that bbPress needs an additional capability.

    I’ve thought about trying to port the plugin over to the bbPress side, but things seem to be working as they are right now and no one has complained about it yet.

    @mzimmers

    Member

    Oh, I’m sure it works just fine. The “yuk” was elicited by this:

    5. search your bbpress templates and force all registrations/logins through wordpress from the several places they are buried on the forum (the WP login interfaces are far more developed) – unfortunately at least one bbPress login location is hard coded in the core which will require a direct hack everytime you upgrade.

    I was hoping for something more one-time, but…I think I can live with this.

    @circuit

    Member

    i just changed the ‘register’ link at the top of the page to point to WP. seems to work OK…

    @mzimmers

    Member

    Hey, circuit – where in the code did you make that change? There appears to be a variable called “register-page” but I can’t find its definition.

    @circuit

    Member

    i just changed the link in login-form.php

    @mzimmers

    Member

    Hmm…is this what you’re talking about?

    bb_get_uri(‘register.php’, null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_USER_FORMS),

    Replacing the third parameter with the URL of the WP registration page?

    Sorry if this is a lame question, but the code in this page is rather obscure to me.

    Edit: or is it the first parameter that gets replaced?

    @ipstenu

    Moderator

    You should be able to change register.php to the absolute path (http://foo.com/blog/whatever) to the WP register page though … Why not do a .htaccess redirect?

    @mzimmers

    Member

    Hmm… an .htaccess file. Something else I’ve never understood what it was for. I just googled it, and it looks pretty straightforward; is there anything special I need to know about using it? I assume it would go in the same directory as the file to be redirected from.

    @chrishajer

    Participant

    The only special thing to know is if you make a syntax error in the file, your site won’t load. So, make a backup first, then make your change. If the site comes up, then the syntax is good.

    You can also validate the .htaccess file before you save it:

    http://www.lyxx.com/freestuff/002.html

    @mzimmers

    Member

    Make a backup? I don’t believe I have one in the first place.

    This file *does* go in my template directory, right? There’s no such file in there right now.

    @ipstenu

    Moderator

    No, it would go in the public_html folder.

    And it would be something like…

    Redirect 301 /forum/register.php http://mysite.com/blog/wp-register.php

    @chrishajer

    Participant

    If there is none there, then yes, you need to create one. Be sure it starts with a period:

    .htaccess

    That indicates a hidden file on Linux/Unix.

    @mzimmers

    Member

    Well, I tried…it validated, but it doesn’t seem to be doing anything. The file in question is:

    http://www.scopedin.com/.htaccess

    the contents are:

    # Use PHP5CGI as default

    AddHandler fcgid-script .php

    Redirect 301 /bbpress/my-templates/my-kakumei/register.php /wordpress/wp-login.php?action=register

    Do I need an absolute pathname for the last parameter? Both of these are relative off of my public_html directory.

    @ipstenu

    Moderator

    Yes, you should use absolute pathing. Try this:

    Redirect 301 /bbpress/register.php http://www.scopedin.com/wordpress/wp-login.php?action=register

    You want bbpress/register.php and NOT your theme because the main register.php is actually what gets called.

    @mzimmers

    Member

    Wow…there is just so much I don’t know about this stuff. I feel like an entry-level technician working on a jumbo jet.

    But…with your suggested changes, it works! I know when to stop screwing with prosperity. Thanks to everyone who helped.

Viewing 17 replies - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.
Skip to toolbar