Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable registration'

Viewing 25 results - 151 through 175 (of 446 total)
  • Author
    Search Results
  • #175155
    ride2719
    Participant

    OK, here’s a followup on my trying to find the source of the automated registrations.

    — I disabled bbPress on the network plugins page.
    — I renamed the following directories:
    wp-content/plugins/bbpress
    wp-content/plugins/buddypress/bp-forums
    wp-content/plugins/gd-bbpress-attachments
    — enable registrations from the network admin settings

    And… the automatic registrations CONTINUE.

    — disable registrations (network admin) and the automatic reg stops

    SO, it’s beginning to look like it is not bbPress. PLEASE ADVISE:

    • Do you agree? Or is there some other possibility that will implicate bbPress?
    • What other possibilities are there for by-passing registration protocols?
    #175140
    ride2719
    Participant

    Here’s a followup on my progress in stopping the automated registrations. It turns out that my side issue (see my first post) was very important. I found a plugin called “unconfirmed” that gives you limited access to the user records with unconfirmed emails, including the ability to delete them. I had 7100 unconfirmed registrations. The plugin is not fully implemented, so I had to delete them about 20 at a time. (I figured I was not likely to find anything better, so I bit the bullet and deleted 300 groups of records.) Once deleted, the registrations stopped.

    So here’s the analysis: there were thousands of pending registrations. For whatever reason, the automaton that started the registration process either could not respond to the email, or was designed to respond to the emails slowly.

    So, now I have some time to diagnose the solution to the problem without the fear of my data base being flooded with crap.

    Next I’ll try to disable bbPress to see if it’s the problem, but I really don’t want to delete it as I already have several forums configured. I’ll see if I can disable it without deleting it and then turn registrations back on at the network admin level to see if they start up again.

    #175131
    ride2719
    Participant

    Follow up comments:

    I am using the theme Prose (child of Genesis) from Studio Press if that matters.

    I would be willing, as a stop-gap measure to manually register people, but the spam registrations are bypassing the “registration is disabled” setting.

    Rick.

    #175088
    neelesh7
    Participant

    Hi @modemlooper. Thanks for your reply. Yip. I created it in the backend but it doesn’t show up on the registration page. I also disabled all buddypress related plugins and then buddypress and deleted and re-installed but the settings remained.

    #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'; 
        }
    ?>
Viewing 25 results - 151 through 175 (of 446 total)
Skip to toolbar