Search Results for 'wordpress'
-
Search Results
-
I inserted your code from here:
https://buddypress.org/support/topic/error-404-page-not-found-3/
However I am getting the following error:
ct WordPress Logout to Home Page add_action( ‘wp_logout’, create_function( ”, ‘wp_redirect( home_url() ); exit();’ ) );
Warning: Cannot modify header information – headers already sent by (output started at functions.php:87) in /homepages/14/d69811276/htdocs/clickandbuilds/BrigantesNation2147/wp-login.php on line 402Warning: Cannot modify header information – headers already sent by (output started at /functions.php:87) in /homepages/14/d69811276/htdocs/clickandbuilds/BrigantesNation2147/wp-login.php on line 415
Would you have any idea why I am getting this error?
Topic: How are Users managed?
Hi – just installed BP.Now I need to understand how users are managed. Help, please…
1. I see a LOGIN button, but no “register” button – how do I add this? Assume I need to add a register page..?
2. When users sign up are they a). adding their credentials to my WP database, or b). adding their credentials to the WordPress.org database..? The reason for asking is that for login I get a WP looking screen and not a theme login..Thanks for clearing this up…
Topic: Trouble uploading File
Hi,
I created first an extra filed called CV, let user upload his CV.
And when I try to upload different files (PDF, images) from the front-end (logged in as a user),
I got the message “Changes saved” but my file is not stored on the server and the path of the new file is not correct :
/wordpress/wp-content/uploads/boardingPass-2016072807431691628792.pdfShould be something like :
/wordpress/wp-content/uploads/profiles/$user_id/boardingPass-2016072807431691628792.pdfWhen I am doing the same using the WP Dashboard, it works fine.
Does this issue could come from a plugin conflict ?
How could I check that users are allowed to upload files from the front end ?
Which php file in the core handle this upload functionality ?Thanks for your help.
Hi,
i can’t understand how to solve this 3 questions. I am not expert, i’m not a programmer and I can’t use code.
1) Logout: when a user logs out from a private page (message, for example) using the Buddypress-Access-Widget, it says “404 error page not found”. It’s obvious. How can i redirect the logout to the Home Page, solving the problem? Is there a solution without using code?
2) Lost password: in Buddypress Access Widget you can Log-In and Register. No more. If you put a wrong password, the user is redirect to wp-login and this “loses” my site’s look, because it goes to a WordPress branded page. Is there a solution?
Hello,
I would like to disable new Blog Comments recording/tracking from buddypress to wordpress but i want to keep blog post tracking. That’s why i’m not using the option in Dashboard->BuddyPress->Component setup. This option enable/disable both new Blog Comments and Blog post tracking.
In a previous version of wordpress this code was ok :
remove_action( ‘comment_post’, ‘bp_blogs_record_comment’, 10, 2 );
remove_action( ‘wp_set_comment_status’, ‘bp_blogs_manage_comment’, 10, 2 );But thoses action are now deprecated.
Can you explain me how to do that with the last version of buddypress ?
Thank you !
Want to copy the style for Group Admins on the group page from wordpress Twenty Fifteen theme to my current theme since this area is fine on mobile with Twenty Fifteen.
Topic: Eliminate buddypress pages
Buddypress Versión 2.6.1.1
Wordpress Version 4.5.4Is there a way to eliminate or block the followings pages ???
domain/members/username/settings/notifications/
domain/members/username/settings/capabilities/
domain/members/username/settingsBecause it is very important that users cant enter to those pages
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?
I created many custom notifications on my theme, such as notification on post comments, but after a post is commented and the notification is sent, the listing of posts and of other custom post types display a 404 page.
This happens only on the listing page of posts, not on the single post pages.
I really hope in an help.
This is my code: