Never mind I got it – I dont even know what I did. I checked it on a different computer and there it was. Then I checked it on the first computer and the sign up link was there. Wonder what that was all about.
@dailynewarker what do you mean when you said you pointed to your “real, production database”
I tried removing lines 17+18 of bp-core-signup.php /* If the user is logged in, redirect away from here */
if ( is_user_logged_in() )
but that didnt do anything
On to the next fix…
I am having this problem too. There is no registration page showing up. when I type in http://www.yoururl.com/register it redirects to the home page. Any suggestions?
Hello.
I am using WordPress installed in the root directory with my posts as http://myurl.com/post-name
with BuddyPress installed my URL’s are like http://myurl.com/members/Perry%20Roper/profile/
. I use Facebook Connect as the only way for registration so I have the “problem” of multiple users with the same user name, which so far is fine as I just use user ID’s to identify users. However, with BuddyPress I am not sure how to get around the problem.
Also http://myurl.com/members/Perry%20Roper/profile/
doesn’t actually take me to my profile, it just redirects to my home page.
Any help with these problems would be amazing.
Kind Regards,
Perry
I have same problem.
I’ve mapped site with Multi-site plugin, probably this is cause…
@mihaimihai
Big thanks!!
I have added this filter to plugins/bp-custom.php and it seems to be ok now.
Are you using WP or WPMU? If the latter, do you have registrations turned on at Dashboard > Site Admin > Options?
Have you tried the bundled bp-default theme to see if the same thing is happening there?
For anyone that runs across the problem. I never got any response from anyone here so I found an Ajax login plugin that is working beautifully as a workaround. I’m also not having any issues with spambot fake registrations this way either.
So this is a pretty huge issue I’m having,
For the longest time I’ve had a maintenance plugin turned on so that no one can view my site unless they’re logged in. And there were a few times when I would turn it off to check out the registration page (in previous versions of BP) and it would work, I would see the registration page.
So now, I’m about ready to launch the site, and I decided I’d turn of maintenance mode for a while and check out the registration page before I launch and it just takes me back to my homepage.
I’ve deactivated every plugin except buddypress and it still refuses to work, I’ve even switched back to the original buddypress theme, and I’ve temporarily deleted my bp-custom.php file to see if there was an issue in there. It just refuses to go to the page.
I’ve tried going to /wp-signup.php and then I can see in the URL it’s obviously redirecting to /register, and then it redirects back to /.
Then for the heck of it, I decided I’d try and turn off buddypress (so it’s back to wordpress-mu). THEN it works, but obviously it’s just the simple wordpress-mu sign up page on /wp-signup.php
So I’m completely stumped, I really would like some help on this.
I haven’t edited anything in the buddypress core files. (and yes signup IS enabled in the admin)
I’m using:
Wordpress-Mu 2.9.2
Buddypress- 1.2.2.1
Thanks for any help I get.
@mihaimihai ~ were your registration page failing on secondary domains, sub- domains/directories only or also in the root and when you say “multiple sites on different domains”..how are you mapping the domains, if you don’t mind me asking?
@mihaimihai
You might want to post this on Trac:
https://trac.buddypress.org/newticket
Login with the same credentials you use here on bp.org.
In bb-core.php -> bp_core_get_site_options()
if ( bp_core_is_multisite() )
$meta = $wpdb->get_results( "SELECT meta_key AS name, meta_value
AS value FROM {$wpdb->sitemeta} WHERE meta_key IN ({$meta_keys})" );...
buddypress doesn’t seem to be checking for the site id – so if you have multiple sites defined (on different domains) you can get incorrect results.
Fixed this in my MU install by adding this filter
add_filter('bp_core_get_site_options', 'bp_tweaks_bp_core_get_site_options');
function bp_tweaks_bp_core_get_site_options($options){
global $wpdb;
$option_names = array_unique(array_keys($options));
$option_values = $wpdb->get_results("
SELECT meta_key, meta_value FROM {$wpdb->sitemeta}
WHERE site_id={$wpdb->siteid}
AND meta_key IN ('".join("','", $option_names)."');
");
foreach($option_values as $v){
$options[$v->meta_key] = $v->meta_value;
}
return $options;
}
I am posting this as a new topic because the other instance of this issue is marked as resolved and I have tried almost everything that was suggested there to no avail. The original topic was here:
http://buddypress.org/forums/topic/registration-link-redirects-to-home-page
I have tried the solution suggested by @Windhamdavid and it did not work for me. I have not “wiped my WPMU and BP install” as @dailynewarker did to fix his problems. I’m hoping that someone can suggest another out besides this.
In my final post on the other thread/topic I noted:
I have two installs: one testing site and one live site. On the test install, the registration page is working perfectly. On the live site the registration/signup text on the sidebar and the register page will not display no matter what I do.
Here’s the test site:
http://bestofnj.net/
Here’s the live site:
http://bestofnj.com/
I have tested all my plugins for conflicts and tried to make both installs as much alike as possible. The major difference at this point is that the test site has a ton more themes than the live site.
I would appreciate any suggestions.
BNJ
@Meerblickzimmer, I am having the same problem and I have checked almost everything that I know could be a problem. I have two installs and the test install has the registration page working perfectly and the live site simply will not display the register page or the registration text on the sidebar no matter what I do.
Here’s the test site:
http://bestofnj.net/
Here’s the live site:
http://bestofnj.com/
BNJ
@designodyssey: nice if it works for you, but not for me. this is definitly not the problem
Ok, for those not too bright types like me, I hadn’t checked the box in wp admin under general settings to let anyone register. Ooops! Check the box and everything working.
PJParticipant
https://wordpress.org/extend/plugins/buddypress-real-names/
I tried that but the registration form doesn’t change and all and when I click the Buddypress button in the site admin it redirects me to my homepage. The title of the plugin sounds good, but if it worked that would be better.
Well, i get the same trouble and it looks like i get it after update to the last buddypress-version.
/register/ redirect to the homepage. I use wpmu – latest version. Anyone how knows a solution? Thanks for help! M
Thanks Windhamdavid! I was having a similar problem on my test site and this has shed some insight into whats going on
No problem, I’m glad it helped. i can always replicate errors that come from NOT following directions since I almost never follow them.
I had the same problem. Odd, my sign up link didn’t even show up??? But I did what windHamDavid said and I went here /wp-admin/wpmu-options.php
Note: because I have MU installed maybe different for regular wordPress
I disabled registrations saved and re-enabled, and it worked.
Thanks windHamDavid
Well, I finally just backed up my entire wp-content folder and wiped my WPMU and BP install. I re-installed WPMU to a test database, then changed the wp-config.php file to point to my real, production database.
Everything works now. I’m moving my wp-content stuff back and checking to ensure the site is working properly. All is well.
Thanks to all for your time on this. Hopefully this log is a help to anyone else with this issue.
@Windhamdavid
Thanks. I haven’t tooled around in the core code, but I’ll try your suggestion.
My site is hosted at DreamHost — nothing fancy.
I’ll post the ticket number here once I file it.
I would dbl check it.. did you comment out the line in the core file or deactivate buddypress and then reactivate after you edited? I let it persist for long time until I took a look at that function, Also, do you have your home url set as an IP and not a domain or perhaps another of the compatibility functions? I’m unable to duplicate this error under a number of server conditions. If none of these are responsible, then Yes.. please file a ticket so it’ll get attended to.