Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 13,251 through 13,275 (of 73,985 total)
  • Author
    Search Results
  • #258677
    trecks
    Participant

    Greetings,

    After a user submits the registration form on the Buddypress site I’m building, the form disappears and the page content refreshes (url remains the same) to a page with the heading “Check Your Email To Activate Your Account!” that says: “You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.”

    However, I want new registrants to be manually approved by an admin. Thus, I’ve edited the email new registrants receive and removed the activation link from it, plus I installed a plugin that sets the status of new accounts to pending and requires an admin to approve their account before the registrant can log in. The only thing left I need to do is edit the text of the completed registration page (as described above) to notify users that their account is awaiting approval instead of stating that they’ve received an activation email. How should I go about this?

    Thanks,
    trecks

    amsakwp
    Participant

    Hello,

    I am having my site users register through a registration page setup with the Memberpress plugin. Registrants are required to submit first name, last name, username, email, and password. This information is used to fill out these items of the wp-admin/profile.php. While I would like to use the Memberpress registration form and page I would like for the buddypress profile page to remain the users’ main interface to their profile information and social activity. The problem though is that the default first name and last name fields of the Memberpress registration page don’t automatically propagate in the respective fields on the Buddypress profile page. Is there a way I can get these fields to draw from the entries for first name and last name already existing in the user databases (/wp-admin/user-edit.php) to auto-fill in the relevant fields of the Buddypress profile page? Currently after registration the last name field is empty and the first name field contains the username. Yes, the member can delete the username and enter both names again, but I’m trying to avoid this. They may wonder why they need to enter their first and last names twice. Does this make sense? I had assumed that whether registering through the Buddypress page or the Memberpress page the first name and last name would be stored in the same data table serve the same function.

    #258675
    JetZ
    Participant

    I found this question in this forum, which is my question also. But the answer (this code) doesn’t work for me. The question is really old, and so is the code. The current register.php has changed quite a bit.

    I did get some guidance from the pastebin code and tried different variations. Here’s a shortened version:

    <?php do_action( 'bp_after_account_details_fields' ); ?>
    
            <?php /***** Extra Profile Details ******/ ?>
            <?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
                <?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
                <div class="register-section" id="profile-details-section">
    
                    <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4>
    
                    <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
                    <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => true ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
                    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
                        <div class="editfield">
    
                            <?php
                            $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                            $field_type->edit_field_html();
    
                            do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    
                            if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
                                <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
                                </p>
    
                                <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
                                    <fieldset>
                                        <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
                                        <?php bp_profile_visibility_radio_buttons() ?>
    
                                    </fieldset>
                                    <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    
                                </div>
                            <?php else : ?>
                                <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
                                </p>
                            <?php endif ?>
    
                            <?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
                            <p class="description"><?php bp_the_profile_field_description(); ?></p>
    
                        </div>
    
                    <?php endwhile; ?>
    
                    <!-- <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?> -->
    
                    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
                    <?php endwhile; endif; endif; ?>
    
                    <?php do_action( 'bp_signup_profile_fields' ); ?>
                </div><!-- #profile-details-section -->
    
                <?php do_action( 'bp_after_signup_profile_fields' ); ?>
            <?php endif; ?>
    
            <?php /***** Extended Profile Fields: About Me (group 9) ******/ ?>
            <?php if ( bp_is_active( 'xprofile' ) ) : ?>
    
                <?php do_action( 'bp_before_signup_profile_fields' ); ?>
    
                <div class="register-section" id="profile-details-section">
    
                    <h4><?php _e( 'About Me', 'buddypress' ); ?></h4>
    
                    <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
                    <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 9, 'fetch_field_data' => true ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
    
                    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    
                        <div class="editfield">
    
                            <?php
                            $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                            $field_type->edit_field_html();
    
                            do_action( 'bp_custom_profile_edit_fields_pre_visibility' );
    
                            if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
                                <p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?> <a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
                                </p>
    
                                <div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
                                    <fieldset>
                                        <legend><?php _e( 'Who can see this field?', 'buddypress' ) ?></legend>
    
                                        <?php bp_profile_visibility_radio_buttons() ?>
    
                                    </fieldset>
                                    <a class="field-visibility-settings-close" href="#"><?php _e( 'Close', 'buddypress' ) ?></a>
    
                                </div>
                            <?php else : ?>
                                <p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
                                    <?php printf( __( 'This field can be seen by: <span class="current-visibility-level">%s</span>', 'buddypress' ), bp_get_the_profile_field_visibility_level_label() ) ?>
                                </p>
                            <?php endif ?>
    
                            <?php do_action( 'bp_custom_profile_edit_fields' ); ?>
    
                            <p class="description"><?php bp_the_profile_field_description(); ?></p>
    
                        </div>
    
                    <?php endwhile; ?>
    
                    <!-- <?php $fields_ids[]= bp_get_the_profile_group_field_ids();?> -->
    
                    <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" />
    
                    <?php endwhile; endif; endif; ?>
    
                    <?php do_action( 'bp_signup_profile_fields' ); ?>
                </div><!-- #profile-details-section -->
    
                <?php do_action( 'bp_after_signup_profile_fields' ); ?>
            <?php endif; ?>

    Basically I reused the original profile field loop and made it specific to the group field I want. I have 5 other groups I need in the register form. And repeating the initial loop for each one makes them display beautifully in the register form, but when I fill them out and click submit only the last group is displayed in the profile. It’s like only the last bit of code is being executed, so each loop is overwriting the previous one. In the forums I read that placement of <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids(); ?>" /> is very important but after playing around with it I still have nothing.

    I also found this but have no idea of where or how to use it.

    Any guidance will be greatly appreciated.

    kmligue
    Participant

    I installed https://wordpress.org/plugins/postman-smtp/ on my WP (v 4.6) + BuddyPress (v 2.6.2) site, then configured it to use my Gmail account’s SMTP server settings.

    The emails sent by the site uses the SMTP settings when:

    – A member registers and PMPRo (https://tl.wordpress.org/plugins/paid-memberships-pro/) sends out an email confirmation
    – Emails sent using the plugin (https://wordpress.org/plugins/email-users/)

    (I can see these sent emails in the “Sent” folder of my Gmail account.)

    However, when BuddyPress sends out an email (e.g. email notification for friend request, etc.), it seems to ignore the SMTP server settings I have configured. Instead, it uses the server’s default.

    How do I make BuddyPress email notifications send using my Gmail SMTP server settings?

    #258672

    In reply to: activity primary key

    danbp
    Participant

    Hi,

    a mysql error has nothing to do with BuddyPress.
    #1062 – duplicate entry ‘190’
    Normally you re-import datas in empty tables when you restore. In your case it seems that an entry with an ID ‘190’ was already in bp_activities table…

    More details here
    http://stackoverflow.com/questions/29545733/error-1062-duplicate-entry-in-mysql

    http://www.w3resource.com/mysql/administration-tools/phpmyadmin-tutorial.php

    #258669

    In reply to: NING MIGRATION

    surfershot
    Participant

    @venutius have you tried the Mediapress plugin for Buddypress? From what I’ve read, Mediiapress much like the photo/video portion of Ning.
    https://wordpress.org/plugins/mediapress/

    #258668
    shanebp
    Moderator
    #258667
    danbp
    Participant

    Hi,

    it’s unclear: where do you see member level (none) and did you set up manually a test member ?

    BuddyPress doesn’t handle user roles or levels.
    If you want an automated level for new user, go to dashboard > settings > general and select to your need in regard of New User Default Role

    #258666
    DamnDramaQueen
    Participant

    Hi buddy,

    I have to restore the whole site, the wp-content and the database. When I imported the database from (phpmyadmin), I received and error about the ACTIVITY PRIMARY KEY ERROR?

    If this error got something to do with the buddypress, can you tell me how to fix this error?

    activity dumping table error

    Please help, thanks

    #258665
    ositive
    Participant

    Yes, it worked for me!
    I have some other doubts that I posted in a separated post as they are not related with the template:

    Buddypress email language selection in multilanguage web site

    Thank you Paul!

    ositive
    Participant

    Hi!
    I’m interested in understanding how buddypress email system works with multi language web site (I’m using qtranslate x, and may be the second point is only related to qtranslate plugin):

    1- how the languange for a buddypress notification email is selected? (emails can be sent to inactive users, i.e. for a comment to his post)

    2- all the bp emails can be traslated in admin dashboard (like normale posts). This mean that I have to traslate the emails in the admin dashboard? (That is, They are not automatically traslated via buddypress .mo .po files)

    Thank You!

    #258662
    DamnDramaQueen
    Participant

    Hi buddy,

    I just register as a test-member on the site. The user registered successfully, however, I realized the member level stay as (none)? Isn’t buddypress should automatic change the user level once is registered? I have to manually changed?

    Can you tell me why is that and how to set automatic change once they registered?

    Thanks,

    #258661
    danbp
    Participant

    Hi @hanifascraps,

    you can safely update your WorPress. šŸ™‚

    FYI: BuddyPress is developped on WP trunk version. This means in particular that any stable or maintenance version of the one or the other can always work together properly.

    The Tested Up information on the plugin repo is not always updated, if it is this who fears you.

    #258657

    In reply to: Isolated Groups

    BILL
    Participant

    Thank you very much for your reply. Being new to WP I thought for sure this feature was baked into BuddyPress. I have solved the problem with a few plugins around woocommerce and one built for the lms addon I am using with a little wiring up work.

    Have a great day

    #258654
    stunley
    Participant

    I would like to remove the admin @username from Buddypress. Or remove admin from the list of members.

    It seems to me that knowing the username removes half the work if someone wanted to hack the site, or a member.

    Thanks for any help.

    #258650
    danbp
    Participant

    Hi,

    sorry, no solution i’m aware of.
    Latest topic about Ning is 3 days old…

    NING MIGRATION

    #258648
    danbp
    Participant

    Hi @karmatiger,

    i moved your topic to it’s own location. Jumping into old topics which are not exactly related to your question is not a good practice. Thank you for comprehension.

    You can use the action hook bp_before_member_home_content which is between H1 and profile header image.
    The template containing it is in bp-templates/bp-legacy/buddypress/members/single/home.php

    To get the field value ( ie. field name is Address):

    function tralala() {
    if( bp_is_active( 'xprofile' ) && is_user_logged_in() ) :
      if ( $address = xprofile_get_field_data( 'Address', bp_get_member_user_id() ) ) :
    		echo $address;
    	endif;
    endif;
    add_action( 'bp_before_member_home_content', 'tralala' );

    Note: all templates have action hooks you can use to add content. You just have to read throught the files to get them and choose the most appropriate for you.

    #258645
    karmatiger
    Participant

    In the profile edit, if a field has been selected as multiline text input in the backend Buddypress places a wp editor on the frontend. But it has the light grey toolbar / white content area styling of the backend post creation form.

    But my profile has a dark colour scheme and I’d like to style the wp editor to match. How can this be done?

    #258644
    jcnunezm87
    Participant

    Hi everyone!

    I’m currently working with WP 4.6.1 and Buddypress 2.6.2. I had a problem with the user activation but I found out how fix it. The problem is that I haven’t found out the way to set these changes on my child-theme because the files modified in bp-members (core files).

    Does someone know how can set these changes on my child-theme?

    The files that I modified are:

    – /plugins/buddypress/bp-members/bp-members-screens.php
    – /plugins/buddypress/bp-members/bp-members-functions.php
    – /plugins/buddypress/bp-members/classes/class-bp-signup.php

    Thanks!

    #258642
    surfershot
    Participant

    Is there still away to migrate Ning.com over to Buddypress?
    Every topic I find is dated back in 2010. Thanks!

    #258639
    danbp
    Participant

    Forgot to mention that for a complete privacy, you may also lock access to the rss feeds !

    As all this was already handled in a past topic, see here how to do that.

    #258638
    danbp
    Participant

    I’m unable to reproduce your issue on a single install with over 20 plugins active and plenty of custom functions active in bp-custom.php
    I can upload medias without problem with different 3th party themes or Twenty’s

    Try to upload a fresh copy of WordPress and BP and see if it makes a difference.

    Now about the snippet.
    It works more or less, no code error. You commented the action, so it is deactivated if someone copy/paste it without correcting this.

    That said, what is the reason behind using a redirection to login if the site, or at least the buddyPress parts, should be private ?

    Wouldn’t it be more logic to redirect visitors to an anonymous page with some important information, from which the first one could be Sorry, but this site is private ? Followed by some informations how to register or pay a fee or whatever the reason.

    A private site has two type of visitors: those invited to join and the others. Don’t give the opportunity to those who are there by chance to enter the site so easily.

    I let you think about this and eventually create an appropriate page and template.
    Here a code example redirecting to a page called Intranet and the correct calls to slugs for all components (including bbPress).

    function bpfr_guest_redirect() {
    global $bp;
    // enter the slug or component conditional here
    	if ( bp_is_activity_component() || bp_is_groups_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) || is_bbpress() ) {
    	
    // not logged in user are redirected to - comment/uncomment or add/remove to your need
    		if( !is_user_logged_in() ) { 
    			//wp_redirect( get_option('siteurl') ); //back to homepage
    			//wp_redirect( get_option('siteurl') . '/register' ); // back to register page	
    			wp_redirect( get_option('siteurl') . '/intranet' ); // back to whatever page
    		} 
    	}
    }
    add_filter( 'get_header', 'bpfr_guest_redirect', 1 );

    Add it to child-theme’s functions.php

    #258637
    buddycore
    Participant

    I’ve designed and developed a theme for BuddyPress. It’s in a stable condition and has had some user feedback so far which has helped it become more functional and solid for mobile, tablet and desktop sites running WordPress + BuddyPress.

    You can view it at http://buddycore.com and grab a download on GitHub https://github.com/buddycore/surface-theme

    I’m building features the users ask for but mainly tidying up on the core functionality at this stage.

    This is currently a hobby of mine but i’m willing to take on small freelance jobs at the moment for WordPress + BuddyPress work.

    Check it out.

    Thanks

    danbp
    Participant

    You followed apparently all steps except one: permalinks activation. Go to dashboard > Settings > Permalinks and choose an option, except “default”. Save and see if your urls are working. šŸ˜‰

    Check also anything listed here (php version, htaccess,… ) in case of.

    FYI:
    The default register page is in following location
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php

    This theme exist only for backward compatibility and is no more used by BuddyPress since BP 1.8
    /wp-content/plugins/buddypress/bp-themes/bp-default/registration

    #258634
    idichoo
    Participant

    Hi,

    Which one should i follow. A. Set Up Sitewide Forums only?
    Can tell me which function will exactly remove bbpress from buddypress.

    Thanks.

Viewing 25 results - 13,251 through 13,275 (of 73,985 total)
Skip to toolbar