Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'registration'

Viewing 25 results - 2,426 through 2,450 (of 7,642 total)
  • Author
    Search Results
  • #234357
    jessiewordpress
    Participant

    I mean the login page looks like WordPress. Not the registration page. That looks great 🙂

    #234338
    Mathieu Viet
    Moderator

    @alice-claire

    I don’t think it’s the same issue as you’re getting the register page even if signups are not allowed. So i advise you to remove the code of the gist if you are using it.

    If i understand well, your issue is when you save the general settings having the “anyone can register” option checked, this option is not saved and you keep having the message “User Registration is Currently Not Allowed” when a user tries to register. Is that correct ?

    #234321
    Alice-Claire
    Participant

    I’m having the same issue. My registrations page is saying ‘User Registration is Currently Not Allowed’ and when I try to tick the ‘Anyone Can Register’ box in General Settings it just keeps unticking itself.

    I had, at one point, Invite Anyone plugin installed, but it hasn’t been installed (inactive or active) in well over a year.

    #234284
    Hugo Ashmore
    Participant

    Well you could and probably should be using tags like bp_is_register_page() although logged in BP will or is supposed to redirect to the home page if you try and access a page registered to the BP registration template.

    So the issue then is that if you have is_page(‘about’) in that else clause then any bp page you land on would return true for that, which isn’t right but not sure why that is the case suddenly for you, it certainly doesn’t look like that would be happening on my trunk install I’m testing on.

    Additionally there are a lot of posts covering re-direct scenarios on the forum, it might be worth checking a few of those and building a more robust redirect function, the one you have is a bit basic.

    #234265
    ckchaudhary
    Participant
    add_filter('wp_mail','my_custom_registration_mail');
    function my_custom_registration_mail($email) {
        if (isset ($email['subject']) && substr_count($email['subject'],'Activate Your Account')>0 ) {
        	//email sender name and email
        	if( empty( $email['headers'] ) ){
        	    $email['headers'] = array();
        	    $email['headers'][] = 'from:YourDomain<signups@yourdomain.com>';
        	}
        }
        return ($email);
    }

    This should do it. Just change ‘yourdomain’ with something proper.
    You’ll have to copy this code into bp-custom.php or your theme’s functions.php

    #234264

    In reply to: Require profile image?

    ckchaudhary
    Participant

    Have a look at this.

    This provides a way to upload profile pic during registration, but doesn’t force users to upload.
    You can probably tweak the plugin to achieve that, although i am not sure how easy that’ll be.

    #234258
    ckchaudhary
    Participant
    1. If your theme already has register.php template file, go step 2 directly.
      If not, copy file plugins\buddypress\bp-templates\bp-legacy\buddypress\members\register.php to themes\your-theme\buddypress\members\register.php
    2. Open register.php file and find following code:
      <?php do_action( 'bp_before_registration_submit_buttons' ); ?>
      
      <div class="submit">
      	<input type="submit" name="signup_submit" id="signup_submit" value="<?php esc_attr_e( 'Complete Sign Up', 'buddypress' ); ?>" />
      </div>
      
      <?php do_action( 'bp_after_registration_submit_buttons' ); ?>

      Move this code block to just before the line which says </div><!-- #profile-details-section -->

    That should do it.

    #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

    #234218
    thecorkboard
    Participant

    @mrjarbenne, I’ve made some progress using @sbrajesh’s very fine BuddyPress Multi Network plugin. Now it seems that I get the effect I want as long as students register at each sub-network registration page. I have an issue with blog posts showing up in the activity stream, but that’s for another forum topic…

    #234198
    r-a-y
    Keymaster

    Hi,

    Did you turn on registration?

    Login to the WP admin dashboard and navigate to “Settings > Reading”. Click on the “Anyone can register” checkbox. If you’re on multisite, you can turn on registration by going to “Network Admin > Settings > Network Settings”.

    #234193
    thecorkboard
    Participant

    Thanks, @mrjarbenne. That’s still a step or two too many, in my opinion. I get a lot of flustered students who get a little turned off by the registration process, and I’m trying to streamline things as much as possible. I’ll let you know if I come up with anything.

    Mathieu Viet
    Moderator

    Hi i only see labels argument of your custom post type in your description how do you actually add the ‘buddpress-activity’ support and do you use a bp_activity argument where you define the contexts for the front end dropdown filters.

    Post Types Activities

    #234105
    betro99
    Participant

    Aha! I switched to the Twenty Fourteen theme to see if there could be a theme conflict and it revealed a required registration field that was hidden with CSS. So registration is indeed working.

    I had hidden the primary field in the Profile Details on the User Profile page because I didn’t want it editable once they had registered. I didn’t realize that it also hid the field on the Register page, and it is a required field.

    Total derp move, but I figured it out. Upgraded to 2.2.0, added my custom functions back in, all good. Thanks for your help 🙂

    #234102
    betro99
    Participant

    I have now

    • deleted 2.2.0 and all of my custom functions
    • re-installed 2.1.1
    • deleted and recreated the Register and Activate pages

    and it’s still not working. Is there something in the database I need to delete to get a clean install of a Buddypress that has a functioning registration?

    #234097
    Rhoward8419
    Participant

    Its definitely a problem within buddypress. I have gotten everything back to normal now. However the solution was weird. Even after I changed the settings back to “anyone can register” my registration page would not work and was simply showing like my homepage. Instead of the registration form it has most recent posts etc. After checking every option I decided to make all of my posts drafts instead of being published. To my amazement the registration page then turned back into its normal form. I then republished all the posts and things are back to normal. Except my search page will no longer link. It was basically not saving as the others weren’t. Finally i deleted the search page and decided to only use the search on my members page. I don’t use any of the plugins you suggested may be the problem. Luckily my site is still in the building stage and doesn’t have any users to make mad. Thanks everyone and have a great weekend!

    #234081
    disha76
    Participant

    @imath okay then add notice by the side of : Associate WordPress Pages with the following BuddyPress Registration pages.
    Before you use this go to /wp-admin/network/settings.php
    and select “Both sites and user accounts can be registered.”

    WP+BP needs to have distro

    WP and BP standalone
    WP Network and BP
    any other

    Distros will have inbuilt pages and settings already available so that users are not confused. Users can straightway use the flavor they want – simple!

    #234080
    Mathieu Viet
    Moderator

    @disha76

    having this settings on “Logged in users may register new sites” means registrations are off for WordPress. Deactivate BuddyPress and you will see WordPress will not allow you to register. Activate BuddyPress 2.1.1 and you’ll see that there are no regressions.

    The problem is elsewhere.

    #234055
    Mathieu Viet
    Moderator

    In BuddyPress 2.1.1, when using this setting “Logged in users may register new sites” > registering new users is not available.
    If you deactivate BuddyPress to only let WordPress, this setting doesn’t generate a registration link.
    In BuddyPress 2.2 same behavior. So no bug.

    This means the problem is coming from the plugin invite anyone. Since BuddyPress 2.2, the way this plugin was overriding BuddyPress site options is not working anymore. I’m going to inform the developer of the plugin.

    #234053
    yosmc
    Participant

    Thanks for the reply – very much appreciated.

    The problem is that I am launching a network where users can create their own subsites. I anticipate that the fact that each site is initially “broken” and needs to be fixed will create a constant stream of support requests that will make things fairly inconvenient to handle.

    I don’t exactly know what the “slight changes” in existent WP installs are that would cause issues if Buddypress created the registration and activation pages automatically – but I am wondering how hard it would be to detect the environment, and default to creating those pages automatically for fresh installs only. Hell, even a “use at your own risk” config switch that would change the behavior for people like me would easily do the trick.

    Being a webmaster myself, I have always looked at the time something takes AND the number of people affected. So yes, it’s only a minute, but if it affects 10,000 people and you can get rid of the minute, you still have 10,000 minutes saved for the better things in life. 😉

    #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

    #234040
    danbp
    Participant

    hi @yosmc,

    registration and activation are directly dependant of WordPress, that’s (i presume) the reason why BP doesn’t create those page for you automatically.
    This is not a problem when you use a fresh install, but can be one if you’re installing BP on an existent WP install. In this case, some original settings may be slightly change i guess.
    BP uses all those page for internal purpose. And this usage is somehow enforced with 2.2.0 version.(see here from trac)

    There is anyway no alternative when BP is on. You have to create those page manually. Point.
    I don’t think there is a way to get those page automatically created.
    Creating them will take 1 mn, which is a less effort in regard of developing a custom function for an operation which is only done once. 😉

    #234023
    betro99
    Participant

    Yes, registration and activate pages are set, and anyone can register is checked.

    #234021
    Mathieu Viet
    Moderator

    Hi @betro99

    Sorry you have this issue after upgrading. If you go in Settings > BuddyPress > Page are the registration and activate page set ? If you go in Settings > General > Anyone can register is activated ?

    #234020
    Mathieu Viet
    Moderator

    Hi @espyd,

    Sorry you are having this issue after upgrading. Just to help us understand why it’s happening, could you reply to these questions:

    WordPress version ?
    WordPress configuation ? (Multisite or not)
    If multisite: is BuddyPress activated on the main site or in a sub site ?
    In the General settings of WordPress is the registration setting on ?
    Are you using a cache plugin ?

    #233980
    Mathieu Viet
    Moderator

    1/ I don’t understand why you are switching to the page post type ?

    2/ Where is registered the sd_article post type ?

    3/ if you’re the one registering the post type, maybe you should define the BuddyPress activity support directly when registering it. eg:

    function plugin_registers_post_type() {
    	$args = array(
    		'public'   => true,
    		'labels'   => array(
    			'name'                     => __( 'Artikel', 'your-plugin-textdomain' ),
    			'singular_name'            => __( 'Artikel', 'sozialdynamik' ),
    			'bp_activity_admin_filter' => __( 'Neuer Artikel veröffentlicht', 'sozialdynamik' ),
    			'bp_activity_front_filter' => __( 'Artikel', 'sozialdynamik' ),
     			'bp_activity_new_post'     => __( '%1$s hat den neuen <a href="%2$s">Artikel</a>', 'sozialdynamik' ),
     			'bp_activity_new_post_ms'  => __( '%1$s hat den neuen <a href="%2$s">Artikel</a>, on the site %3$s', 'sozialdynamik' ),
    		),
    		'supports'    => array( 'title', 'editor', 'buddypress-activity' ),
    		'bp_activity' => array(
    			'component_id' => 'activity',
    			'action_id'    => 'new_sd_article',
    			'contexts'     => array( 'activity', 'member' ),
    			'position'     => 100,
    		),
    	);
    	register_post_type( 'sd_article', $args );
    }
    add_action( 'init', 'plugin_registers_post_type' );

    Just like it’s explained here: https://codex.buddypress.org/plugindev/post-types-activities/#adding-the-buddypress-support-and-specific-labels-at-post-type-registration

Viewing 25 results - 2,426 through 2,450 (of 7,642 total)
Skip to toolbar