Search Results for 'buddypress'
-
Search Results
-
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,
trecksHello,
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.
Topic: Field groups in registration
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.
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?
Topic: activity primary key
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?
Please help, thanks
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!
Topic: Current Member Level (none)
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,
Topic: Remove admin username
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.
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?
Topic: Modify bp-members files
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.phpThanks!
Topic: Migrating Ning to BuddyPress
Is there still away to migrate Ning.com over to Buddypress?
Every topic I find is dated back in 2010. Thanks!Topic: Open Source Theme: Surface
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