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.
Yuk. OK…thanks for the information.
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.
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.
i just changed the ‘register’ link at the top of the page to point to WP. seems to work OK…
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.
i just changed the link in login-form.php
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?
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?
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.
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
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.
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
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.
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.
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.
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.