Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable registration'

Viewing 25 results - 151 through 175 (of 647 total)
  • Author
    Search Results
  • #255638

    In reply to: Confirmation Email

    David Cavins
    Keymaster

    I’m not sure what behavior you’re aiming for, but this snippet will disable the confirmation email and log the user in automatically upon successful registration.

    <?php 
    add_action( 'bp_core_signup_user', array( $this, 'disable_validation_of_new_users' ) );
    add_filter( 'bp_registration_needs_activation', '__return_false' );
    add_filter( 'bp_core_signup_send_activation_key', '__return_false' );
    
    function disable_validation_of_new_users( $user_id ) {
    
    	// Get the user's activation key for BP. This is the activation_key in user_meta, not the key in the user table.
    	$user_key = get_user_meta( $user_id, 'activation_key', TRUE );
    
    	// Activate the signup
    	$awuser = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $user_key ) );
    
    	// Automatically log the user in.
    	// Thanks to Justin Klein's  wp-fb-autoconnect plugin for the basic code to login automatically
    	$user_info = get_userdata($user_id);
    	wp_set_auth_cookie($user_id);
    
    	do_action( 'wp_signon', $user_info->user_login );
    
    	bp_core_add_message( __( 'Your account is now active!', 'my-plugin-slug' ) );
    
    	buddypress()->activation_complete = true;
    }
    #255632

    Topic: Confirmation Email

    in group forum Requests & Feedback
    Dono12
    Participant

    I’m using Cymi User Extra Field, when you enable email confirmation the user gets the Buddypress email template
    with the confirmation link. when the user clicks the link it takes them to the confirmation page of the site prompting them
    to login with username and password. Problem is the user name and password doesnt work. The user gets created because they
    are visible in the users list. How can I fix this problem.
    I’ve disabled the Buddypress sign up for the default WordPress using: BP CUSTOM

    function my_disable_bp_registration() {
      remove_action( 'bp_init',    'bp_core_wpsignup_redirect' );
      remove_action( 'bp_screens', 'bp_core_screen_signup' );
    }
    add_action( 'bp_loaded', 'my_disable_bp_registration' );
    add_filter( 'bp_get_signup_page', "firmasite_redirect_bp_signup_page");
        function firmasite_redirect_bp_signup_page($page ){
            return bp_get_root_domain() . '/wp-login.php?action=register'; 
     }

    and I found this code in a Buddpress Forum:

    https://buddypress.trac.wordpress.org/ticket/3443

    // Change the text on the signup page

    add_filter( 'bp_registration_needs_activation', '__return_false' );
    
    function my_disable_activation( $user, $user_email, $key, $meta = '' ) {
    	// Activate the user
    	bp_core_activate_signup( $key );
    
    	// Return false so no email sent
    	return false;
    }
    add_filter( 'wpmu_signup_user_notification', 'my_disable_activation', 10, 4 );
    
    

    I tried it with the hope that the key would be disabled and the key fired by WordPress would take over but it still didnt work.

    I really don’t care who fires the key I just want the user to be able to login after click the key in their email.

    #255361

    Topic: spam users

    in group forum Installing BuddyPress
    v!per
    Participant

    i tried using setting –> general –> and disable the Anyone can register option in WORDPRESS .

    doing this help me control the spam users but than i thought how to do the registration ? Can anyone help please here is the website now currently (Anyone can register) is disabled.

    thanks

    #254532
    jasonegli
    Participant

    Hello, thanks for the advice. I installed the plugin, but unfortunately it still doesn’t appear to be sending registration emails. I noticed that the plugin mentioned above will be automatically disabled on BuddyPress 2.5.3 and higher because the functionality is already built-in.

    jasonegli
    Participant

    I’m having trouble with getting emails to send when BuddyPress is enabled. If I disable the plugin I get registration emails, but when it is enabled I get a message on the screen saying the message was successfully sent, but the email never goes through.

    I have tried installing Postman SMTP as described in this post: https://buddypress.org/support/topic/register-activation-emails-not-being-send-smtp-configuration-not-set/#post-252037

    Even with Postman STMP installed, registration messages still don’t come through. They also don’t show up in the Postman logs. However, my test messages in Postman are delivered with no trouble, and password resets, etc, show up in Postman logs and are delivered successfully.

    This is running on Windows Server 2012 using XAMPP
    Wordpress: 4.5.2
    BuddyPress: 2.5.3
    Theme: Alliance

    Any help is much appreciated.

    GDU
    Participant

    Hi all

    So I’ve been doing some further trouble shooting on this one and it’s just… odd.

    The issue doesn’t seem to be with just buddypress in isolation. It appears to be related to (whatever happens or changes) when buddypress and bbpress are activated at the same time.

    So, I created a brand new install of WordPress and installed WP job manager

    Within WP job manager I have the “allow account creation’ setting enabled when submitting a job listing

    With buddy press installed and enabled by itself I can enter and preview a new job listing without any issues.

    With bbpress installed and enabled (and buddypress disabled) I can enter and preview a new job listing without any issues.

    With buddypress + bbpress enabled at the same time, previewing a job posting takes me to a 404 page not found error message

    The interesting thing is.

    If I leave Buddypress and bbpress enabled but I disable “allow account creation” when submitting a new job listing in WP job manager. The job preview step works just fine.

    So I guess from I’ve been able to ascertain that it is the WP job manager account creation step which is conflicting with ‘something’ that changes on the back end when both buddypress and bbpress are enabled at the same time.

    I have no idea what might change on the backend when bbpress and buddypress are enabled from an account registration perspective so at this point I’m stumped.

    Does anyone have any ideas where I might be able to look next?

    Thanks

    Mark

    #253998
    r-a-y
    Keymaster

    I also tested BP 2.5.3 on WP 4.5.2 on a fresh install and cannot duplicate your problem, Earl_D.

    I tested with the Extended Profiles component enabled.

    Are you using any caching plugins? If so, try to disable it or whitelist the register and activate pages from caching.

    Do you have any special extended profile registration fields? If so, can you list what they are and how they are configured?

    cahara
    Participant

    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 this subscriber_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');
    
    #253553
    benaafv
    Participant

    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.

    #252926
    Jeff
    Participant

    I have a chance to use a third-party plugin for allowing users to “Like” activity entries. I need to first disable or hide the existing “Like” functionality. Is there a setting for this?

    Plugins:
    Akismet (3.1.10) by Automattic
    Awesome Support (3.2.9) by ThemeAvenue
    bbPress (2.5.8) by The bbPress Community
    BuddyBoss Inbox (1.0.4) by BuddyBoss
    BuddyBoss Media (3.1.9) by BuddyBoss
    BuddyBoss Reply by Email (1.0.2) by BuddyBoss
    BuddyBoss Wall (1.2.7) by BuddyBoss
    BuddyPress (2.5.2) by The BuddyPress Community
    BuddyPress Edit Activity (1.0.7) by BuddyBoss
    BuddyPress Xprofile Custom Fields Type (2.4.6) by donmik
    Gravity Forms (1.9.18) by rocketgenius
    Gravity Forms Help Scout Add-On (1.3) by rocketgenius
    Gravity Forms Polls Add-On (3.0) by Rocketgenius
    Gravity Forms Survey Add-On (3.0) by Rocketgenius
    Gravity Forms Trello Add-On (1.0) by rocketgenius
    Gravity Forms User Registration Add-On (3.3) by rocketgenius
    Invite Anyone (1.3.10) by Boone Gorges
    Like Button Voting & Rating (2.1.9) by LikeBtn
    List Plugins (1.4.4) by SedLex
    Maintenance (2.7.1) by fruitfulcode
    Orbit (1.6) by TrueThemes
    POWr Social Feed (1.4) by POWr.io
    POWr Social Media Icons (1.4) by POWr.io
    Remove Dashboard Access (1.1.3) by Drew Jaynes (DrewAPicture)
    Subscribe To Comments (2.3) by Mark Jaquith
    TinyMCE Advanced (4.3.8) by Andrew Ozz
    User Role Editor (4.25.1) by Vladimir Garagulya
    WordPress Social Stream (1.5.15) by Lee Chestnutt
    WPBakery Visual Composer (4.11.2) by Michael M – WPBakery.com

    Thanks!

    #252205
    concoa
    Participant

    UPDATE:
    I deleted all BP files and the plugin and did a reinstall.

    PROBLEM #1)
    I am still having trouble with the Register page. I do not know what this error refers to:

    displays an error message:
    “Profile Details
    Warning: Creating default object from empty value in /home/content/p3pnexwpnas09_data01/28/2853428/html/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php on line 649”

    Line 649 is:
    $fields[ $key ]->visibility_level = $field_visibility;

    PROBLEM #2)
    Registration submission is now working, but an auto response email is being sent. Is there something in BuddyPress (or WordPress) to disable this? I’m getting an email saying:
    Hi test4,
    Thanks for registering!

    To complete the activation of your account, go to the following link: http://blahblahblah.com/activate/ef23a0f24958c3a125917f7e3bac95f8/

    I’m using s2Member to allow admin approval of registrations. This email needs to be removed. Thx.

    r-a-y
    Keymaster

    I turned off all Plugins except WordPress and Buddypress and this issue still occurs.

    Are you sure you disabled all plugins except BuddyPress? If so, check for any rogue code snippets in your theme’s functions.php or wp-content/plugins/bp-custom.php.

    Once that is done, delete all registration pages you have set up in WordPress. Create a new WordPress page to be used for BuddyPress registration. Just enter a post title and hit “Publish”. Also, ensure all your pages in the “Pages” trash are deleted.

    Next, go to “Settings > BuddyPress > Pages” and set the “Register” page to the page you just created.

    #251450
    simbaclaws
    Participant

    Hey everyone,
    I’m trying to adjust the admin bar for logged out users so that there is no register and login button and that the anonymous user profile shows up with register, logout, password etc.

    I’ve been searching for a while now and haven’t been able to find out how to do it.
    I’ve tried doing it through my functions.php by using $wp_admin_bar->remove_menu and $wp_admin_bar->add_menu. I’ve even put a script in to check what the node ID’s were of my menu’s in order to be able to remove or add them.

    I’ve seen previous posts where people said that this had something to do with either your theme or your plugins, so I disabled all plugins except buddypress and enabled twenty fifteen theme to see if it changed anything. Which it did not.
    I’m using wordpress 4.4.2 with buddypress 2.5.1 on my localhost machine.

    I’ve also looked at the following page:

    Modifying the Toolbar

    But it seems like this is a deprecated-guide?
    Does anyone know of the current way to make this work?
    I basically want the same wp-admin-bar-my-account to work for logged out users. Which is displayed as node ID: my-account.

    I have already set my site to allow users to register and I have also made sure that logged out users are capable of seeing the bar in my buddypress settings. Which works because I can see the bar with a login and register button on it but not with the my-account profile on it. And I can also use the registration form for new users.

    Does anyone have any ideas on how I can make this work?

    pelumiemmans
    Participant

    Hello,

    Wordpress = 4.4.2
    Buddypress = 2.5.1
    website = infotej.com
    Problem = The buddypress comment feature continues to show comments even after writing “NO COMMENT”. If a user comments in the activity page for instance, that comment will show in registration page after writing “NO COMMENTS”, it will also show at the bottom of the activity page, under the list of groups, in profile page and all other buddy press pages.

    I have disabled the comment ability from my blog posts because of this, but whenever a user comments in activity stream, the comment shows everywhere.

    Pls help!

    r-a-y
    Keymaster

    I cannot duplicate this problem with Theme My Login.

    I’m using the default Theme My Login settings untouched and was able to go to the register page and successfully submit the form with no redirections.

    Make sure for BuddyPress that you selected the BuddyPress “Register” page and not TMLs.

    Also disable any plugins that might be interferring with registration like New User Approve, etc.

    Swennet
    Participant

    I’ve done a lot of searching but did not find a complete answer on how to do this.

    Basically, I want users to sign up with a Username, Email and Password. I want to disable the BuddyPress “Name” field (which is required).

    The Display Name for every user will be the same as their username.

    Every answer I found suggests using Javascript to hide this field. This seems like a terrible solution to me.

    How can I completely disable the required Name field from the registration and profile pages?

    dgalfano
    Participant

    1. Which version of WordPress are you running? WordPress 4.4.2
    2. Did you install WordPress as a directory or subdomain install? Directory
    3. If a directory install, is it in root or in a subdirectory? Subdirectory
    4. Did you upgrade from a previous version of WordPress? If so, from which version? We always keep WordPress up to date, so of course it’s an upgrade. Not sure which version. Maybe 4.1.X?
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. Yes
    6. Which version of BP are you running? BuddyPress 2.5
    7. Did you upgraded from a previous version of BP? If so, from which version? No
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Yes, far too many. However, I did deactivate most to troubleshoot leaving only BuddyPress 2.5, BBpress 2.5.8 and Visual Composer 4.3.4
    9. Are you using the standard WordPress theme or customized theme? Customized theme (Bridge by Qode)
    10. Have you modified the core files in any way? No
    11. Do you have any custom functions in bp-custom.php? No
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? bbPress 2.5.8
    13. Please provide a list of any errors in your server’s log files. Not available
    14. Which company provides your hosting? Blue Host
    15. Is your server running Windows, or if Linux; Apache, nginx or something else? VPS Server, Apache

    I stole this from another thread as it’s the exact same issue:

    I have a problem with getting the registration page to work – the registration page itself is displayed properly, however when I try to submit the registration form (“Complete Sign Up”), all it does is reload the page with fields already filled in (only password fields are blank) and nothing more happens.

    WordPress Registration works just fine when BuddyPress is disabled using the Bridge theme. Registration also works when BuddyPress is enabled and I switch to the 2014 theme. Even with all the plugins installed. Perhaps some script conflict within the main theme files?

    Here’s a link to the registration page: http://tinyurl.com/gwdmt6n

    #250331
    Don
    Participant

    Hello,

    I just installed BuddyPress on my new WordPress Multisite network (v4.4.2) configured for subdomains and it doesn’t appear to have been installed correctly, or I am missing a critical configuration setting.

    After installing BuddyPress on my Multisite network through “Plugins > Add New” the following menu items were added to my “Users” menu:

    1) Manage Signups
    2) Profile Fields

    The issue is, when selecting Manage Signups, I am taken to an empty “Users > Add New” interface where it indicates (directly under the interface title) 2 total users and 1 Super Admin (I’m setting this up for the first time).

    When clicking the “Registration is disabled. Edit settings” link in the “Manage Signups” window, I am taken to my Multisite Network Settings where I have the following selections saved:

    • Logged in users may register new sites

    • Send the network admin an email notification every time someone registers a site or user account.

    When linking to “Users > Add New” through the original Multisite Users menu (“Users > All Users) the two current users are listed as expected. At this point, the function of “Manage Signups” is not clear.

    Thank you for your assistance,
    Don

    #249663

    Topic: Few Issues

    in forum Showcase
    angelawilkes
    Participant

    I am needing help on a few issues. I have latest WP & BP available as of today, and am using theme Twenty Thirteen. The website is http://www.ogfs.org
    1) When registered users log in, I need them to only have access to the front-end rather than their limited back-end page. (Note: I am using BP Registration Options to require admin approval upon registration).
    2) Disable the toolbar at top for all non-admin users
    3) Recommendation on plugin that allows photos to be posted to group post comments. I have tried a few that allows media into the original post, but not the comments. A secondary alternative is possibly allow media attachment into private message (not ideal, but acceptable)
    4) Ability for users to Edit their comment. Delete works great, but need ability to edit also. Plugin?
    Thanks in advance for any and all assistance!

    #249656

    Topic: Few Issues

    in forum Showcase
    angelawilkes
    Participant

    I am needing help on a few issues. The website is http://www.ogfs.org
    1) When registered users log in, I need them to only have access to the front-end rather than their limited back-end page. (Note: I am using BP Registration Options to require admin approval upon registration).
    2) Disable the toolbar at top for all non-admin users
    3) Recommendation on plugin that allows photos to be posted to group post comments. I have tried a few that allows media into the original post, but not the comments. A secondary alternative is possibly allow media attachment into private message (not ideal, but acceptable)
    4) Ability for users to Edit their comment. Delete works great, but need ability to edit also. Plugin?
    Thanks in advance for any and all assistance!

    #249357
    edragonxx
    Participant

    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?

    #249320
    discdemo
    Participant

    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.

    #249254
    rileydong
    Participant

    The registration process on my website is not working.
    wordpress 4.4.1
    buddypress 1.3.3
    http://www.pandadar.com

    After I have filled the form and submit the application, it redirect to Home page without showing a sucessful and check email message. At the back end, there is no record (the user name not showing up in ‘pending’ or ‘Manage Signup’) of this application. The user did not get activation email either.

    This is what I have done.
    1. I disabled all the plugin including bp and use a 2015 theme.
    Wordpress registration and activation works well.
    2. I activate bbpress plugin, and it still worked.
    3. I activate buddypress. Registration is in Register Page, and I can not register any more (and there is no error message in SCRIPT_DEBUG). I am redirected to Home after Submit.
    4. I edit Setting>General, change it to ip address, remove www or add www back, it does stop to redirect to Home without www. But login wise, it is no help.

    5. I set the permalink to post name and nothing changes.
    6. I disabled all the redirect in the settings I can find in the dashboard, nothing changes.

    I notice the action field of signup_form is empty. but it comes with the theme. I do not think it is relavant.

    Does anyone what problem it is? And if i have to look into the code, where should I start?

    Many Thanks!

    mitdrissia
    Participant

    I have the latest wordpress and buddypress version installed on studin.nl.
    Buddypress is working with a theme called WPLMS which is an LMS site.

    My question is why new users who register receive a lost password mail after a welcome mail?
    I have disabled most of the plugins except for ninjaforms and postman smtp but still the same problem.
    What could be the issue?Any help appreciated

    #248203
    GreyWyvern
    Participant

    I am using WP 4.3.1 installed as a directory in root. In order to combat spam registrations, I have been manually editing the register.php files and bp-members-screens.php files each time I update Buddypress to add a challenge field with a simple question. These were the files I was editing:

    To add the challenge field:
    \wp-content\plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php
    \wp-content\plugins\buddypress\bp-themes\bp-default\registration\register.php

    To accept the incoming form data:
    \wp-content\plugins\buddypress\bp-members\bp-members-screens.php

    Each Buddypress upgrade would revert these files to the default, and I would manually add the challenge question again. This worked for almost two years, and throughout several Buddypress upgrades, up to and including Buddypress 2.3.x.

    Recently I upgraded from 2.3.x to Buddypress 2.4.3. This was the ONLY change I made. I did not upgrade any themes or other plugins. I went to edit the files above, only to find that editing them no longer affects the registration page. I cleared caches, then disabled all of my caching plugins and even deleted the two register.php files above from the server, and the registration form was not affected. With my manual code addition to bp-members-screens.php that REQUIRES the challenge field text to be present, forms with no challenge field submitted were succeeding. So then I deleted bp-members-screens.php from the server entirely, and registrations were STILL succeeding.

    This leads me to believe that in Buddypress 2.4.x the registration page is generated and processed in a different way, and the files above are no longer used. If so, where can I go to edit them now?

    Thanks in advance for your help.

Viewing 25 results - 151 through 175 (of 647 total)
Skip to toolbar