<?php
/*
Plugin Name: Redirect After Register
Plugin URI: http://laptopacademy.net
Description: Redirect after user registration.
Version: 1.0.0
Author: John Weiss
Author URI: http://laptopacademy.net/wordpress/instructor
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: redirect-after-register
Domain Path: /languages
*/
I agree that this should be a function in buddypress core. A standard checkbox to make a site private. If selected, a standard set of pages are automatically added as viewable by logged out/unregistered users (about us, privacy policy, terms of service, etc.), and able to be unchecked by the admin as necessary.
You know what, while we’re at it, Theme My Login plugin functionality should be added to core as well. The ability to customize the login for branding, and customizing the registration page; eg. viewable/required fields, to make it more site specific should be included as well.
Hi @mrjarbenne could you help me with my setup? I have both buddypress and bbpress enabled for the network. I have bbpress setup on my main site and bbpress setup on my subdomain. Should the members have capabilities site-wide? I would think so. Yet when I try to access the forums page I am redirected to the buddypress registration page.
I don’t have any experience with multisites and most of what I read just confuses me. Any help would be appreciated. Thank you.
I have similar problem. and also I can’t find anywhere here CREATE NEW TOPIC / POST link I am using this one.
When I installed buddypress our site registration option was disabled. So I enabled it now, and then used REPAIR option –> The following active BuddyPress Components do not have associated WordPress Pages: Activate, Register. Repair <– But the problem is that REPAIR does nothing. How to fix that problem and create these registration and acitvate pages?
Also I noticed from installation manual something weird –> Make sure you have pretty permalinks enabled on your WordPress install. <– WTF is that? There in wordpress does not exist option like pretty permalinks. You have plain, numeric, Post name, and other options, but not “pretty permalinks”. Anyway I am using date/postname version at the moment, it should be pretty enough, but still where is that “pretty permalinks” option and where I should find it?
I found a plugin for this: https://wordpress.org/plugins/bp-disable-activation-reloaded/
Now, i just need to edit the post-registration landing page. If anyone can point me to this, I’d be grateful.
All fields in default Base (Primary) fields group will appear on registration page. Those fields can be required or not, based on Required setting for fields: http://take.ms/soyY7
So if you want to remove some custom field from registration page – just move it to another fields group (out of Base fields group).
It looks like you’ve tried all the normal investigative things, so thanks.
Not sure without debugging the code — but why does registration on your site take me to http://192.241.173.232/wordpress/register/ ? Totally different URL etc.
I wonder if that has something to do with it.
EDIT: is this your testing still? Do you have two different WordPress sites?
Hello
I had added a field to restrict spam registrations (“Re-write the second combination…. types) on my site registration page using a plugin. Now after few minths that I tried removing that field, I could not find / recall that plugin, and am unable to get rid of / edit this field
Can you please help?
Should I uninstall BP and reinstall?
Regards
Arvind
I believe this not an issue because BP only needs an email, username and a password to do a succesfull registration. All other inputs may change for each site.
You can use a plugin(like “contact form”) to create registration forms and then assign form inputs into custom created xprofile fields.
Hey wonky1,
I’m looking to do something similar. I’m currently on VB and want to move to something else. Xenforo looks like a likely candidate, but we want to be able to utilize BuddyPress.
May I ask how you’re running user management, registration and access? Is all of that managed by Xenforo, and WP is just pulling/syncing the data? Or the other way around? Waht are you doing for member profile pages? Combine the buddypress and Xenforo pages, or running two separate ones>
And maybe you can share some details on what you’re using for your bridge.
Lots of questions, but answers would be a big help.
Thanks!
WWB
Still working on this, I discovered something while debugging:
1) If I set my priority to 1 like so:
add_action('bp_core_activated_user', array( $this, 'setup_registration_metadata'), 1 );
then in my setup_registration_metadata()
function I use add_user_meta()
to capture the first_name
& last_name
values at that point in time. Thankfully it makes an entry in the usermeta table with the expected value from get_user_meta($user_id, 'first_name', true)
2) Unfortunately, something else apparently is hooked afterwards (possibly a method from the “Enable BuddyPress to WordPress profile syncing”, which then overrides any value I had set for those fields so that in the end the WordPress fields are now incorrect or wiped.
It seems apparent to me that the “Enable BuddyPress to WordPress profile syncing” option is the culprit, but would that be a bug that the setting is grabbing the wrong values because even if I don’t hook into bp_core_activated_user
the meta values that were successfully stored at registration are then wiped during activation? For example:
- first_name becomes the username
- last_name is cleared completely
Setting the priority to 20 the results show that by that point the originally stored meta_value
(s) have already been wiped.
Oh wait! It looks like it is working? I have a Maintenance home page plugin that I had activated, odd – but likely the issue. I deactivated it so you all could access the site. The Members, Activity, and Site Directory pages are generating.
Where is the Registration Page? It is not listed in Menus.
(Still the social registration/login question remains…)
Thank for your patience!
My set up for “Can I use a social login plugin for registration/login?”
WP version 4.4.1
PHP version 5.4.45
BuddyPress 2.4.3
site url http://toni-esl.com/eslbuddy
In the past – I’ve used the following code in my functions.php to resolve this issue:
/**BuddyPress**/
add_action( 'wp_enqueue_scripts', 'wpb_adding_scripts' );
remove_action( ‘bp_init’, ‘bp_core_wpsignup_redirect’ );
remove_action( ‘bp_screens’, ‘bp_core_screen_signup’ );
I’ve also tried following the advice in this thread, with no luck.
https://buddypress.org/support/topic/use-standard-wordpress-registration/
The only changes i’ve made since implimenting the above fix was to make updates to wordpress and my plugins. I suspect, the buddypress plugin update in particular to be the cause here but I cannot be sure. I’ve spent several hours trying to troubleshoot this and i’m about ready to pull my hair out here… Any advice / help would be greatly appreciated.
Helpful information:
- Site is a subdomain
- was using the wordpress registration page in earlier versions of (wordpress/buddypress) just fine.
- tried disabling/updating all plugins
- Tried googling the issue already – no luck
- the code in functions.php was added under the child theme, so updates would not over-write it
All fields in default Base (Primary) fields group will appear on registration page. Those fields can be required or not, based on Required setting for fields: http://take.ms/soyY7
Here is how it looks in a list of fields in admin area: http://take.ms/tMI8w
So just modify that setting for fields, that you need always be filled with data, to Required
.
All fields that are in the first Base
fields groups will appear on registration page.
So you can just move those fields to another fields group, that you can create on this page /wp-admin/users.php?page=bp-profile-setup
using this link http://cosydale.com/wp-admin/users.php?page=bp-profile-setup&mode=add_group
.
Another option
Find the ID of a field that you want to hide in admin area (when you edit the field it’s in the URL like this /wp-admin/users.php?page=bp-profile-setup&group_id=1&field_id=2&mode=edit_field
= field_id=2
is what you need), make sure that this field is NOT required, then open style.css of your theme and add there something like this:
#profile-details-section.register-section .editfield.field_2 {display:none}
For reference: http://take.ms/lONUD
How can I view all of the profile fields a user submitted on registration while their account is still pending? I need to see these profile fields before I decide to accept their pending registration.
@shanebp thanks a lot, at first i thought it was not working, till i received an email for a new user registration and the user went ahead and created a Group too…everything worked fine. I went ahead to keep trying it on my own, it is working fine. And i also had to install some plugins too, it is actually more friendly than i thought, it’s just that if you don’t know you wont understand it.
Hello,
I would like to have a suggestion on the best way to add a payment section to buddypress registration form on my website.
I would like that a new user who registers himself on buddypress section,have to pay a fee.
I want a new section of payment via Ccard in buddypress register form.
Thanks
@alonsotron please go to settings–>General and check Anyone can register check box then you will be able to allow registration from others
When I try to view the page that SHOULD be registration, it brings me directly to my home page.
Thank you, this seems to have done the trick. Quick followup question – I can’t seem to find the option which allows new users to register. I’m currently hitting a wall with “User registration is currently not allowed.” being yielded.
Am I missing something?
Once I’ve created the blank pages and associate them with the register/activate settings they’ll auto-populate with the registration form and activation confirmation?
@danielmariveles
Just tested on a fresh install (regular config & multisite one).
When a user registers from the front-end registration form on both configs, i can’t manage to reproduce your issue.
first_name/last_name user meta are created
display_name field in table wp_users
is created
value for the xProfile Name field is created in wp_bp_xprofile_data
table
Title of the page is looking like this FirstName LastName - Site Name
for profile’s page.
So everything works fine for me.
Are you sure it’s happening when a user registers ?
Have you tried without any other plugin activated than BuddyPress ?
Hello,
Could you please tell me if BP 2.4.3 offer a possibility to integrate BP user profile in UI registration process or profile edit ?
Thank you, Florent