Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable registration'

Viewing 25 results - 101 through 125 (of 435 total)
  • Author
    Search Results
  • #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.

    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.

    #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.

    #247522
    FliP0x
    Participant

    Before I installed buddypress, users could register just fine. I also disabled the default generated password and let users choose their own passwords at registration.
    However, I cannot find that option anymore. If users can only create insanely strong passwords, I’d rather have it back to the automatically generated passwords, but I can’t find that option anymore.

    EDIT: When I deactivate BuddyPress, I get my old registration back, that works.
    I would like the option to keep buddypress, but also keep my old registration.

    #247395
    @mercime
    Participant

    > I meant how do I disable registration?
    Go back to where you enabled it in Settings > General for single site or in Network Admin > Settings if you’re on multisite.

    #247394
    beginner3
    Participant

    Sorry I meant how do I disable registration?

    #243378
    muskokee
    Participant

    Sorry, part of the above is not true. I am using bp-custom.php. The only function in there is to disable BP registration.

    //EDIT

    Oh my! I just found this post https://buddypress.org/support/topic/bp-legacy-in-bp-templates/ . Am I supposed to be using the files from bp-legacy as this post suggests? If so, what a terrible name for a folder!

    #243179
    djsteveb
    Participant

    first test with default 2014 or 2015 theme – and all other plugins disabled except bp – does it work then? If not…

    previous forum posts maybe helpful –
    (let us know what you find works!)

    With a new bp setup I usually check these things first if email are not seeming to send or go through ->https://buddypress.org/support/topic/activation-e-mail-failing-to-send/#post-241079 (From a recent similar thread)

    Better to check the basics before digging into whether it’s a email header config on the server, php settings limiting functionality – need for wp to send as smtp plugin – something just with gmail blackhole filtering –

    so many different things can affect wp sending, bp sending, your web serving sending email as php, or an email service accepting something that was sent, much less put in the actual inbox instead of junk mail / promotions box or whatever…

    =-=- also from danbp about 8 months ago:
    When encountering a registration problem, first thing to do is to test your install without any plugins and one of WP’s Twenty default theme. Ensure that your site send correctly emails. Before activating any plugin, your base WP install must work.

    Once WP is OK – you can install BuddyPress and check your permalinks. Pretty permalinks must be activated to get the plugin working correctly.

    This point is important, especially if you have redirection issues after BP is activated.

    Second point to check is your theme installation.

    Proceeding like this will help you to isolate easely the culprit. If:
    – WP install: OK
    – BP install: OK
    – theme activation: problem

    So you know here the problem comes from.

    While testing your install, you can activate wp_debug (set to TRUE) in the wp-config file. This can give you a lot of information about conflict and/or errors.

    Just keep in mind that these information have 2 levels of importance: notice and warning.
    While notice are generally harmless, warnings should be taken seriously in account and solved.

    If WP is the problem, see first the wordPress support
    If it’s BuddyPress, see the BP support
    If it’s the theme, see the theme support
    If it’s any other plugin, see first the plugin support.

    Henry Wright
    Moderator

    That’s strange and shouldn’t be happening. Can you activate TwentyFifteen, disable all plugins and then try a test registration?

    #241929
    modx
    Participant

    @djsteveb – Hi thanks for the info! So does this mean this has nothing to do with BuddyPress at all?

    Some posts are being posted with a user ID=0, even though registration is disabled already. Below is from the first 5

    log_id log_type log_function log_priority log_date log_date_gmt log_host log_username log_user log_url log_referrer log_data
    1 brute_force Invalid Login Attempt 5 2015-07-16 10:13:39 2015-07-16 10:13:39 23.250.34.71 rogeliomackie 0 a:0:{}
    2 brute_force Invalid Login Attempt 5 2015-07-16 10:16:56 2015-07-16 10:16:56 172.85.106.118 rogeliomackie 0 a:0:{}
    3 brute_force Invalid Login Attempt 5 2015-07-16 10:19:25 2015-07-16 10:19:25 172.85.103.167 rogeliomackie 0 a:0:{}
    4 brute_force Invalid Login Attempt 5 2015-07-16 10:23:32 2015-07-16 10:23:32 45.59.26.85 rogeliomackie 0 a:0:{}
    5 brute_force Invalid Login Attempt 5 2015-07-16 10:24:18 2015-07-16 10:24:18 50.118.159.10 rogeliomackie 0 a:0:{}

    #241353

    In reply to: Stopping forum spam?

    shanebp
    Moderator

    You shouldn’t need to disable the activity stream commenting – but try it.

    There are several plugins re bbPress spam, such as:
    https://wordpress.org/plugins/stop-spammer-registrations-plugin/

    #235208
    Vanish.Sequence
    Participant

    Update: Turns out another plugin had caused this error, and it is repaied now. The name of it was Frontend or something like that, it disables access to things like the registration and such for security, and idk how I missed that, but yeah.

    Thanks for the fix!

    #235197
    Vanish.Sequence
    Participant

    This was the question I had, and when I put this into the folder, I then got an error asking me if I was sure I was supposed to be doing this.

    Are there any other steps to this that I need to be aware of?

    The URL given was mydomain.com/user-error/?message=nononce

    I am really not sure how to get past that.. I did disable the registration and activation pages in the BP Page settings.

    #234721
    mcpeanut
    Participant

    Hi @aluxi33, this can easily be done via this code

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

    What you will need to do is first create a bp-custom.php file (make sure you add the opening and closing tags at the top and bottom ) and put it in your plugins folder, then paste the code between the php opening and closing tags and save.

    This should disable buddypress registration and let you use wordpress registration as default, hope this helps.

    #234257
    mcpeanut
    Participant

    @daniel84uk i have had to do this myself on one of my sites for my own personal reasons using this snippet of code i came across.

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

    Add this to your bp-custom.php

    #234050
    gina
    Participant

    Hello,

    Yes I had already tried changing theme and deactivating all plugins before I posted.

    But.. I see you’ve reproduced. 🙂

    I also noticed (after I downgraded to previous version) that even with registration disabled I was able to load register page. Then I upgraded BP again and it was still a case.

    Thank you for your help,
    Gina

    #233834

    In reply to: Fatal error 113

    r-a-y
    Keymaster

    Are you using any plugins that might interfere with the registration process? If so, disable them.

    #233824

    In reply to: Fatal error 113

    r-a-y
    Keymaster

    Thanks for the report.

    Since this bug was happening on v2.1.1, we need some more details to duplicate the problem.

    Are you using any registration plugins? If so, disable them and see if you get the same problem.

    If not, can you let us know exactly what you are doing on the registration form?

    For example:

    * First, I go to example.com/register
    * Next, I type in “newuser” under the “Username” field.
    * …

    Thanks!

    #230725
    Amic58
    Participant

    Well, that was embarrassing.. 😀 Sorry for my stupidity.
    I was searching on forums by “Disable name change” “Hide Name in registration” etc. Most answers I found were outdated, that’s why I registered to ask.

    #221400
    DIYWWF
    Participant

    After lots of searching I finally got round the problem of BP/WP not taking you to the registration page by adding the following file into wp-content/plugins/

    bp-custom.php

    <?php
    /**
    * 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’;
    }

    This dispenses with BP’s registration system and falls back to the standard WP registration.

    #206284
    1a-spielwiese
    Participant

    For me also not:

    I tried it with

    Mitglieder-Kategorie (Team oder Fan?)

    instead of

    'name of your field'

    as well as with

    'Mitglieder-Kategorie (Team oder Fan?)'

    But my users can still change the values for this field. –

    I tried as well – already before and now again – this code of @noizeburger:

    //hide the user role select field in edit-screen to prevent changes after registration
    add_filter("xprofile_group_fields","bpdev_filter_profile_fields_by_usertype",10,2);
    function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
    //only disable these fields on edit page
    if(!bp_is_profile_edit())
    return $fields;
    //please change it with the name of fields you don't want to allow editing
    $field_to_remove=array("User Role");
    $count=count($fields);
    $flds=array();
    for($i=0;$i<$count;$i++){
    if(in_array($fields[$i]->name,$field_to_remove))
    unset($fields[$i]);
    else
    $flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
    }
    return $flds;
    }

    It works neither with

    "Mitglieder-Kategorie (Team oder Fan?)"

    nor with

    Mitglieder-Kategorie (Team oder Fan?)

    nor with:

    'Mitglieder-Kategorie (Team oder Fan?)'

    #201151
    1a-spielwiese
    Participant

    Follow-up:

    7th:

    Capability Manager Enhanced to define custom user roles, if you’re not satisfied with the default wordpress roles (subscriber, contributor,…).
    The first step is to create your user roles

    https://buddypress.org/support/topic/resolved-different-profile-types-and-different-user-roles/

    As ready implied there: I did this – and it works so far.

    8th:

    Create a xprofile field (selectbox) with the title “User Role” and name the options “Band Role” and “Fan Role” – in my case. You can call them whatever you want. Place this field in the “base” profile group, otherwise it won’t be shown during registration. Also make the field “required”. In my case the user can’t decide, if the visibility of the field can be changed.

    I did it already, when I installed and activated ‘BP Profile Search’-plugin – and it works.

    However, to choosed a dropdown menu and the categories ‘team’ and ‘fan’.

    9th:

    I modified:

    ?php
    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('User Role', $user_id));
        switch($user_role) {
            case "Band Role":
                $new_role = 'band';
                break;
            case "Fan Role":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    into:

    function custom_bp_core_signup_user($user_id) {
        $user_role = strtolower(xprofile_get_field_data('Mitglieder-Kategorie (Team oder Fan?)', $user_id));
        switch($user_role) {
            case "Team":
                $new_role = team';
                break;
            case "Fan":
                $new_role = 'fan';
                break;
        }
        wp_update_user(array(
            'ID' => $user_id,
            'role' => $new_role
        ));
    }
    add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);

    (I omitted <?php, because I created not a new bp-costum.php, rather inserted the code into my yet existing bp-costum.php. I inserted the modified code above the line ?>.)

    I did not understand, which effect this insertion should have – but, however, – as far as I see – it causes no harm.

    Did anyone understood, for which purpose the above mentioned code is?

    10th:

    I inserted as well:

    //hide the user role select field in edit-screen to prevent changes after registration
    add_filter("xprofile_group_fields","bpdev_filter_profile_fields_by_usertype",10,2);
    function bpdev_filter_profile_fields_by_usertype($fields,$group_id){
    
    //only disable these fields on edit page
    if(!bp_is_profile_edit())
    return $fields;
    //please change it with the name of fields you don't want to allow editing
    $field_to_remove=array("User Role");
    $count=count($fields);
    $flds=array();
    for($i=0;$i<$count;$i++){
    if(in_array($fields[$i]->name,$field_to_remove))
    unset($fields[$i]);
    else
    $flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array
    }
    return $flds;
    }

    into my bp-costum.php – again above the line ?>.

    It does not work:

    — threre the user role is still changeable:

    http://kampfsportlerinnenneuwied.1a-spielwiese.de/wp-content/uploads/sites/2/2014/09/user_role_still_changeble.jpg

    http://1a-spielwiese.de/members/kampfsportlerinnenneuwied/profile/edit/group/1 causes an redirection error. – The redirection error disappears, when I’m not logged in as kampfsportlerinnenneuwied, rather as superadmin.

    #190926
    xprt007
    Participant

    Hi

    Thank you for all the responses.

    Well, the issue of spam registrations & comments with the above mentioned plugins in addition to SI CAPTCHA Anti-Spam, Wordfence Security (?), etc had worked for months & was manageable, occasionally getting something in sometimes after weeks. I also blocked all IPs of spammers who would tried to login, etc.

    A few days ago, though I started getting a barrage of bot-registrations + groups with bogus content created. New registrations would come in as soon as I deleted some.

    Since it was late in the night in the middle of a very busy period, I thought someone probably getting similar issues could mention some quick solution I could find the following day.

    It was not my first time in the forum. Some of the above solutions were found through searching the forum, which i agree should be the first step.

    So far – in addition to the above plugins I first added JP User Registration Blacklist, WP-SpamShield and also reluctantly disabled user group creation. (Is there a plugin that enables moderation of user created groups, allowing the moderator to approve user created groups?)

    That stopped the group creation, but spam registrations continued coming. So like recommended above, installed Wanguard, though this being a small site which currently gets in very little income, it is not yet worth paying for it. I hope the free wanguard account can work for a while.
    That since yesterday only let in one or 2 registrations by some criminals, this being one of them – details shown by some plugin:

    Benutzername: clairmcconnan

    E-Mail: synfhongegizi@mail.ru

    Angezeigter Name: Claire McConnan

    Vorname: Claire

    Nachname: McConnan
    ….
    IP Address : 107.181.70.207
    Reverse DNS : 107.181.70.207
    Reverse DNS IP : 107.181.70.207
    Reverse DNS Authenticity : [Possibly Forged]
    Proxy Info : No Proxy
    Proxy Data : 107.181.70.207
    Proxy Status : FALSE
    HTTP_ACCEPT_LANGUAGE : en

    Names & emails suggest they mostly originate from Russia.

    danbp suggested using .htaccess to block Ru-based submissions. I will look into BUT – on an unrelated Drupal-based site, I ever had a much more serious attack, with as many 25,000 attempted login/post attempts a day(!), which were blocked by the Drupal mollom plugin BUT that constantly filled some DB table, probably logging visits/attempts, to several 100MBs a day, causing me problems with the webhost. Source of attacks was Russia, ukraine, China & Poland.

    The only solution that worked was adding literally several 10,000 lines of complete IP(blocks(?)s from those countries I got from some site to the .htaccess that blocked them out. Only that helped.

    Later on, though – months on, the web host removed that .htaccess file, because my site account was supposedly overusing server resources. I am not sure that had anything to do with the IP address lines in the .htaccess file, but the good thing is that a similar attack has not happened again.

    An .htaccess solution that only involves naming a country ( … ^(.*).ru/(.*) …) & not its thousands of IPs would of course be great & preferable, but I will do a search & see. My site does not need a single Russian & so can do without the country.

    Ultimately, for the time being – what I would need is a functioning free solution until the currently small site can pay for itself, later on. This particular site had not had anything similar in over a year, assuming Wanguard cannot be used …

    Anyway, thank you all.

Viewing 25 results - 101 through 125 (of 435 total)
Skip to toolbar