Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable registration'

Viewing 25 results - 201 through 225 (of 492 total)
  • Author
    Search Results
  • #174775
    ipstas
    Participant

    That code disables the BB register redirect, but instead it redirects to the root side registration. And I have multisite, so it is a problem. Anybody knows how to make it to stay on the same subdomain?

    #174160
    shanebp
    Moderator

    You can avoid the need for activation email by using this code in bp-custom.php

    function bp_disable_validation( $user_id ) {
      global $wpdb;
    
      $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) );
    }
    add_action( 'bp_core_signup_user', 'disable_validation' );
    
    add_filter( 'bp_registration_needs_activation', '__return_false', 100 );

    But the next screen will still inject this $title:
    “Check Your Email To Activate Your Account!”

    Even with a template over-ride!

    I think it’s reasonable that if this filter is applied:
    add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );

    That you shouldn’t need a database operation.
    And the $title should not be injected.

    Currently, the only way I see to change that $title is to hack a core file.
    Hacking core files is NOT recommended.
    That said, see:
    plugins\buddypress\bp-members\bp-members-screens.php and find Line 515.

    [ I’d love to be wrong about all this and hope somebody has an easier approach. ]

    If you’d like to help BP and anyone else trying to solve this problem,
    please submit an enhancement ticket at https://buddypress.trac.wordpress.org/
    Use the same user / pw you use here.

    Now… a question for you… On your site http://causeanddesign.com you have a very nice help tour using overlay boxes. The first box says: “Welcome. Every nonprofit deserves good design and good technology.”

    Did you write a custom script / plugin for this?
    Or find an existing plugin?

    Asynaptic
    Participant

    @mercime thanks but I feel very sheepish!

    invite anyone has an option for this: https://i.imgur.com/g6h2j8s.png

    “Allow email invitations to be accepted even when site registration is disabled”

    #172989
    jamesdonegan
    Participant

    No. THat has no effect. I’ve disabled EVERYTHING except BuddyPress, and it has no effect.

    #172977
    modemlooper
    Moderator

    If you disable the FB connect does registration return? Also try renaming the registration page

    #172875
    starapple
    Participant

    Will do, @Henry. The other bad news (for me) is that I disabled BuddyPress and tried the RegLevel plugin and found it’s not compatible with WP 3.6.1. But I’ll still try it in functions.php as I may get lucky and find a plugin that allows role level registration.

    Thanks.

    #172872
    Henry
    Member

    @starapple Did you try the function r-a-y wrote?

    
    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' );
    

    You’d need to remove all the code you’ve added first then try adding that to your theme’s functions.php file.

    #172871
    starapple
    Participant

    @Henry, thanks for your help. When I use the firmasite_redirect_bp_signup_page function I’m redirected to /wp-signup.php with the message about the loop. When I delete the function I’m redirected to the BuddyPress login/registration, which, on my site is /login. So yes, WP login is redirecting to the BddyPress login/registration.

    I haven’t been able to disable WP redirecting to BuddyPress.

    Shaun
    Participant

    enable/disable WP toolbar for logged out visitors? I’ve only ever seen the WP toolbar when logged into WP, where can I update this and is it used instead of the “bbpress login widget” ?

    bp-help
    Participant

    @shaungreen
    Unless you disabled the WP toolbar for logged out visitors there should still be a login link in the toolbar to the top left.

    #172791
    aces
    Participant

    @starapple

    There are two different ways to disable buddypress registration on https://gist.github.com/r-a-y/5578432

    #172584
    postmarkj
    Participant

    Aces! You are Aces! That’s exactly what I was trying for. I believe it needs to be either included in the codex, or as a checkbox “Enable default WordPress Registration”

    Thanks!

    #172567
    aces
    Participant
    #172552
    bp-help
    Participant

    @postmarkj
    It will always help to mention your using multisite when requesting support! In that case you need to go to Network Admin/Dashboard/Settings/Network Settings and to the right of registration settings check “Registration is disabled.”

    #172550
    postmarkj
    Participant

    Thanks for the quick reply – I don’t have an “Anyone can register” option in WP 3.6.1, and this is MU so it would need to be a Network Admin option. I’d be happy right now if I could get the code to work through functions or bp-config.

    #172549
    bp-help
    Participant

    @postmarkj
    Have you went to dashboard/settings/general and unchecked “Anyone can register” to the right of Membership? Remember BP is a WP plugin and if you disable WP registration, you also disable BP registration.

    Hugo Ashmore
    Participant

    Well for starters kill any plugins that might interfere with a registration process e.g facebook login ones – to test issues it’s always the instruction to disable all plugins working them back in until problem one is found.

    Other than that it’s hard to say there’s too little information. As far as BP 1.8.1 goes on a trunk install I appear to have no issues registering.

    #172390
    Hugo Ashmore
    Participant

    I do hope they didn’t really say could only be fixed by buddypress support. Generally email issues are not BP problems, and currently BP has no issues I’m aware of in sending registration emails, which also is really a WP function.

    Easy check that should have been run first would have been and still ought to be tried is to disable BP and simply try registering an account under WP.

    Often email issues fall under the heading of ‘Domain Record’ issues i.e email servers rejecting an email as it can’t be verified as authorised on the sending domain or there’s no PTR record or SPF record, or simply that the server sendmail is at issue, these though are not really problems that lie with WP or BP which normally happily send out emails.

    Search this forum though as these issues have been discussed many times and you’ll find more info in the archives.

    #171986
    @mercime
    Participant

    @ranebo You can disable registration by going to Settings > General and making sure registration is not enabled.

    The users can only fill out whatever Extended Profile Fields the Site/Super Admin created in the backend via Users > Profile Fields, users cannot create new profile fields. These profile fields can only be edited by the user in the front end via Member Profile Screens and not in the back end via User > Your Profie

    #171828
    cpagan2000
    Participant

    Here you go

    <?php
    // hacks and mods will go here
    /**
     * Disables BuddyPress' registration process and fallsback to WordPress' one.
     */
    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-signup.php'; 
        }
    ?>
    #171827
    cpagan2000
    Participant

    This has worked for me

    <?php
    // hacks and mods will go here
    /**
     * Disables BuddyPress' registration process and fallsback to WordPress' one.
     */
    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-signup.php'; 
        }
    ?>
    #171826
    cpagan2000
    Participant

    Well this worked lets hope no issues.

    <?php
    // hacks and mods will go here
    /**
     * Disables BuddyPress' registration process and fallsback to WordPress' one.
     */
    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-signup.php'; 
        }
    ?>
    #171823
    cpagan2000
    Participant

    It makes no sense do I have to create this file and then paste the code. Because there is no such file. Below is what it says on the link

    Disable BuddyPress’ registration and use WP’s instead. Paste this in /wp-content/plugins/bp-custom.php

    #170917
    mourneveningfall
    Participant

    I seem to have the same issue. disabled all plugins and switched my theme to Twenty Twelve disabled and re-enabled buddypress. issue still persists

    namrons
    Participant

    I have disabled all plugins and have the latest version of Buddypress and WordPress on a multisite installation. On the registration page the username field insists on lowercase characters. The only way around this for me is to change the hint.

    Which file do I edit to change hint from “Usernames can contain only letters, numbers, ., -, *, and @” to something like “Usernames can contain only lowercase letters, numbers, ., -, *, and @”

Viewing 25 results - 201 through 225 (of 492 total)
Skip to toolbar