Search Results for 'buddypress'
-
Search Results
-
Hello,
I would like to add some text on top of the register page, and I first tried to follow the instructions from this post : https://buddypress.org/support/topic/how-to-edit-the-text-in-registration-page/
But I am using Buddypress Nouveau, and bp_before_register_page seems to not exist anymore.
From what I’ve seen in the register.php file, I have to use instead bp_nouveau_signup_hook( ‘before’, ‘page’ )
My problem is that I have no clue how to pass the “before” and “page” parameter to the hook…
I tried this in the bp-custom.php, with no success :
function my_custom_register_msg_title() { echo '<h3>My custom text</h3>'; } add_action('bp_nouveau_signup_hook("before","page")', 'my_custom_register_msg_title' );Could someone please be kind enough to tell me what’s wrong in my add_action?
Thanks in advance!
Hello,
I recently passed to buddypress with youzer plugin but i have a problem about subscribe notification.
For each member, i receive 2 messages notification for tell me a new member signup to my site.
But it’s really annoying when u have more than 100-150 subscription per day because u receive more than 300 messages ..I want to know where i can disable the signup notification mail ?
Thanks u.
Hi,
I want to send my users to the top of the page after they click on “Save changes” when editig their profile informations in buddypress. As I don’t want to modify the plugin’s core files, I looked for filters and found one in buddypress’ “functions.php”.
The thing is I absolutely don’t understand how this works. I spent 4 hours trying to sort this out but I’m giving up now.(I do understand how generic filters work though)
Here are the pieces of codes I have been looking at :FUNCTIONS.PHP
function bp_nouveau_get_submit_button( $action = ” ) {
if ( empty( $action ) ) {
return false;
}/**
* Filter the Submit buttons to add your own.
*
* @since 3.0.0
*
* @param array $value The list of submit buttons.
*
* @return array|false
*/
$actions = apply_filters( ‘bp_nouveau_get_submit_button’, array(
‘members-profile-settings’ => array(
‘before’ => ‘bp_core_xprofile_settings_before_submit’,
‘after’ => ‘bp_core_xprofile_settings_after_submit’,
‘nonce’ => ‘bp_xprofile_settings’,
‘attributes’ => array(
‘name’ => ‘xprofile-settings-submit’,
‘id’ => ‘submit’,
‘value’ => __( ‘Save Changes’, ‘buddypress’ ),
‘class’ => ‘auto’,
),) );
if ( isset( $actions[ $action ] ) ) {
return $actions[ $action ];}
TEMPLATE TAGS.PHP
function bp_nouveau_submit_button( $action ) {
$submit_data = bp_nouveau_get_submit_button( $action );
if ( empty( $submit_data[‘attributes’] ) || empty( $submit_data[‘nonce’] ) ) {
return;
}if ( ! empty( $submit_data[‘before’] ) ) {
/**
* Fires before display of the submit button.
*
* This is a dynamic filter that is dependent on the “before” value provided by bp_nouveau_get_submit_button().
*
* @since 3.0.0
*/
do_action( $submit_data[‘before’] );
}$submit_input = sprintf( ‘<input type=”submit” %s/>’,
bp_get_form_field_attributes( ‘submit’, $submit_data[‘attributes’] ) // Safe.
);// Output the submit button.
if ( isset( $submit_data[‘wrapper’] ) && false === $submit_data[‘wrapper’] ) {
echo $submit_input;// Output the submit button into a wrapper.
} else {
printf( ‘<div class=”submit”>%s</div>’, $submit_input );
}Now, what I want to do is just add for example “#top” to the URL triggered by the submit button so that the user goes back to the top even if he/she didn’t fill some mandatory fiels and tha the form is not really “sent”.
Thanks in advance 🙂
FILE: /var/www/test.site/wp-content/plugins/buddypress/cli/features/bootstrap/utils.php --- FOUND 1 ERROR AFFECTING 1 LINE --- 426 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli insteadBuddyPress 3.2.0
PHP Compatibility Checker 1.4.6Hello,
I configured the WP Mail SMTP plugin, and tested it properly with their embedded test-email. This plugin is linked to a Gmail account. Whenever I send a mail, I can see a trace of it in my Gmail “sent box”.
But when someone registes to my site (using buddypress), I can see that the registration mails are sent through the old mail config (via my web host), not through WP Mail SMTP.
Is there anything I have to do to “tell” Buddypress to use WP Mail SMTP?
I’m using :
– Buddypress 3.2.0
– WP Mail SMTP 1.3.3
– WordPress 4.9.8My website : http://www.merciki.be
Thanks in advance for your help!
Please I would appreciate any help. I have tried to fix this and search, it seems no one is having this problem.
When you click on a users name, it takes you to the profile but on the profile, there are button under, Mainly Home and view. It automatically goes to home and it is blank. You have to click on view before you see member bio.
I want it to go directly to showing member info.
Here is a screenhsot of how it looks: https://prnt.sc/ld0xqr
As you can see, the profile tab is active but there is a home under it aside from the hnome on the tab and it is blank.
I have changed Buddy press theme Legacy and the other one, still same.
I have used the appearance > customize >Nouveau still the same.
How do I get ride of that home there and let it just display the profile of the person instead of blank?