Search Results for 'registration'
-
Search Results
-
Hey all,
Been digging for a solution but can’t seem to find one. My site has 2 registration forms (Form A and Form B) on separate pages that are working great. When users signup to Form B a hidden field called
subscriber_type
is populated. Otherwise Form A and B are identical. Once the forms are submitted a user should only be auto-activated and logged-in if thissubscriber_type
field is populated.So far users filling out Form B are activated (and don’t get the activation email) and are logged in. But users filling out Form A aren’t getting their activation emails either even though they should. Looks like no users are getting any activation emails, regardless of the form they fill.
Is there any way to make sending of the activation emails conditional?
What I’ve tried so far:
// Auto-activate users from Form B (This works) function auto_activate_user( $user_id ) { $subscriber_type = $_POST['subscriber_type']; if ($subscriber_type || $subscriber_type === 'current_subscriber'){ global $wpdb; //Hook if you want to do something before the activation do_action('bp_disable_activation_before_activation'); $activation_key = get_user_meta($user_id, 'activation_key', true); $activate = apply_filters('bp_core_activate_account', bp_core_activate_signup($activation_key)); BP_Signup::validate($activation_key); $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) ); //Add note on Activity Stream if ( function_exists( 'bp_activity_add' ) ) { $userlink = bp_core_get_userlink( $user_id ); bp_activity_add( array( 'user_id' => $user_id, 'action' => apply_filters( 'bp_core_activity_registered_member', sprintf( __( '%s became a registered member', 'buddypress' ), $userlink ), $user_id ), 'component' => 'profile', 'type' => 'new_member' ) ); } //Send email to admin wp_new_user_notification( $user_id ); // Remove the activation key meta delete_user_meta( $user_id, 'activation_key' ); // Delete the total member cache wp_cache_delete( 'bp_total_member_count', 'bp' ); //Hook if you want to do something before the login do_action('bp_disable_activation_before_login'); //Automatically log the user in . $user_info = get_userdata($user_id); wp_set_auth_cookie($user_id); do_action('wp_signon', $user_info->user_login); //Hook if you want to do something after the login do_action('bp_disable_activation_after_login'); } } // Fix validation on Form B (This works) function fix_signup_form_validation_text() { $subscriber_type = $_POST['subscriber_type']; if ($subscriber_type || $subscriber_type === 'current_subscriber'){ return false; } } // Disable autivation email only for Form B (This doesn't work) function disable_activation_email() { $subscriber_type = $_POST['subscriber_type']; if ($subscriber_type || $subscriber_type === 'current_subscriber'){ return false; } } add_action( 'bp_core_signup_user', 'auto_activate_user'); add_filter( 'bp_registration_needs_activation', 'fix_signup_form_validation_text'); add_filter( 'bp_core_signup_send_activation_key', 'disable_activation_email');
Since the update user registrations are broken. I have tried running with bare bones buddypresssimple install with just the WP 2012 or 2016 themes and nothing works. All the fields are filled out and submitted and the nothing happens just reloads registration page.
I would appreciate any assistance I just started promoting site and now people can’t register when they go to it.I’ll do my best to answer these before asking my question, per moderator request.
1. Which version of WordPress are you running? 4.5.22. Did you install WordPress as a directory or subdomain install? unsure. Installed as program at my host. domain is bennypointer.com
3. If a directory install, is it in root or in a subdirectory?
4. Did you upgrade from a previous version of WordPress? If so, from which version? Not today.
5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Still working basically
6. Which version of BP are you running? 2.5.9
7. Did you upgraded from a previous version of BP? If so, from which version?
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Buddypress not activated now (BBpress is). Also running Beaver Builder Lite, Page Builder by Site Origin, Site Origins Widgets Bundle, Title Remover, and UPdrafts plus backup. Not my idea to use most of these. . . trying to help a friend out.
9. Are you using the standard WordPress theme or customized theme? Using Off the Shelf theme
10. Have you modified the core files in any way? No
11. Do you have any custom functions in bp-custom.php? Not that I’m aware of unless a plugin altered them
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? bbpress 2.5.9
13. Please provide a list of any errors in your server’s log files. n/a
14. Which company provides your hosting? will have to check
15. Is your server running Windows, or if Linux; Apache, nginx or something else? unsure, but Apache, I think.
____________________________
Bennypointer.com is to have a forum (/forums). I have it built, have registration/login/lost-password pages that seem to work, except upon registration, no email gets sent (doing automatic registration for the moment). I’ve scoured everything I can find, and cannot seem to fix this. Ideas?Also, I am trying to get a right sidebar on the forum page with registration, etc. but cannot get it up. On Benny’s Forum page (/forums), I have ‘right sidebar’ as page type. I with widgets setup with login URI and lost password URI fields accurate, and did the same at appearance>widgets where there is only Blog Sidebar and Footer listed on the right (where I drag the widgets to). I cannot find a place to “create new sidebar” that I have in my Karma wordpress theme. I have tried having the widgets in both the Appearance>customization area, and on the appearance>widegets page).
Help? I’ve got about 12 BBpress and codex pages open on topics ranging from learning child-themes, to BB press, etc.
Thanks y’all
JonTopic: Users unable to register
I’m running WordPress 4.5.1 and up to date on my Buddypress. All other plugins are working right, but whenever I enable Buddypress, new users can’t register. The fields are grayed out for the password and submit button and it is using another register page, I think. When I deactivate it, New users can register and it uses a http://XXXXXXXXXXX/register/#gf_2 page. Any suggestions on how to resolve this? I don’t want to delete buddypress, but if I can’t get the registration page to work with my website, I might have to.
I was tearing my hair out because the registration was just doing a loop back to whatever page I was on, and the edit profiles were going to a long URL that was like /members/author/username/group/1
or something like that, can’t find it now. But I turned off Extended Profiles and now it works and Registration works and the Edit goes to my domainname url /your-profile
Hi everyone…
I set up a website a few weeks ago and I’m running into something a bit weird with the member stats. When I look at a user’s “Extended Profile” some (but not all) consistently show the last active time as being the current server time (which on a related note I cannot, for the life of me, get to sync with my local time.) I have no idea why this would only be happening for some users. There’s no way they’re consistently on 24/7.
I’ve also ended up with a few anomalies in the registration process… one user who seems legitimate showed up as having registered the following day (as in the day of their registration I checked and saw their signup as the currentDate +1 ) and was active on the site despite not having verified their e-mail activation. Others are signing up without a “Name”, despite that being a required field. And lastly not all new members seem to be automatically getting assigned the default forum role for bbPress.
Any help would be appreciated! Thank you so much!
PS – It’s at nycplantswap.org running WordPress version 4.5.2 and BuddyPress 2.5.2 on DreamPress with Varnish cache
Hi.
I am about to test ut the PMP plugin on my WP install with Kleo theme and Buddypress. At the moment i hav 350 registered users in my community.
I Now wonder how things are best done when it comes to handling registering etc. Buddypress did set up these when I installed back when, and the Kleo theme adapted just fine to that.
But how am I suppose to handle this now with the PMP? The plugin also want to set up a set of pages automatically handeling these things.
Anyone?
I do not want to break things up and have 350 users loosing their login. And I also use the extended profile plugin to handle extra profile fields at signup.
Cheers!
Hello, I updated to the latest version of Buddypress and now my site is redirecting the registration page of my site to wp-login. If I disable the buddypress plugin it stops redirecting from the page.
When users try to register they are seeing a field that shows “admin (required) on the signup.
I have tried to go to users, profile fields to delete this Base Primary, but all I seem to have the ability to do is change the title. I also can’t change the visibility to no one instead of everyone.
Thanks in advance for any help.
Sorry WP 4.5.2
BP 2.5.2How on earth do I remove these words on my registration page? http://tenantstalk.org/join-today/ My coworkers are afraid that other members will be able to view the information that’s entered. Plus it’s annoying! ANY IDEAS?????? THANKS!
I can’t repair my register and activation pages for my BuddyPress Installation. I have used default themes to troubleshoot and deactivated most plugins. Still the save button won’t show. I even set to close open registration. Still no save buttons. The only save button is on the last tab of the settings page in the dashboard. Please help!