BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: A question about “WP User Login Notifier” plugin #43804

    Hello David,

    You can use the above-mentioned filters. You need to make a code to filter or modify the email message and put that code in ‘bp-custom.php’ or your active theme ‘functions.php’ file.

    Please look at the sample code:

    
    add_filter( 'wpuln_successful_login_user_email_message', function ( $message, $user, $details ) {
    
    	// Fetch the details for the user.
    	// Append the details to message.
    	// Return the modified message.
    
    	return $message;
    } );
    
    

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Buddyblog : displaying author name on single post page #43803

    Hello Mitsugu,

    Thank you for sharing the screenshot. Please switch to the default WordPress theme temporarily and check. It might be some CSS issue.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Anjan,

    Welcome to the BuddyDev Forums. Please take a look at the following blog it explains how to show members based on member type.

    https://buddydev.com/show-only-users-of-opposite-genders-on-buddypress-site/

    Regarding your second requirement for common items. I am supposing you are using Xprofile fields for this. If yes, you can use the Xprofile query within the member’s loop.

    Please give it a try.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: How do do data validation for profile fields? #43801

    Hello Vincent,

    Thank you for the acknowledgement.

    The filter with name “bp_xprofile_set_field_data_pre_validate” allows to validate user inputs for the field where second filter “bp_xprofile_field_type_is_valid” allows to check the input against the field registered format. Yes, You can use the filter “bp_xprofile_field_type_is_valid” as well. As it runs later when setting the field value.

    Please let me know if you need any further assistance.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for posting. BuddyPress sends email notifications for activation to the user. Is it coming through BuddyPress or any other custom code or plugin?. Please let me know.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Tosin,

    Thank you for sharing the suggestion. It looks like a good suggestion to have an option to select from. For now, I have added this to the featured list for the Pay Per Post plugin. We will think about this and will acknowledge you accordingly.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hello Eric,

    Thank you for sharing the details. To set a user as featured use the button with the name “Set Featured” which is available on the member’s directory as well as on the user profile. Only those users set as featured using this button will be shown using Widget or the Member’s directory featured tab.

    Please have a look: https://www.awesomescreenshot.com/image/23989515?key=2ec8bb7ff270a82059082b0fda5fe99f

    Please let me know if it helps or not.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: A question about “WP User Login Notifier” plugin #43770

    Hello David,

    Welcome to the BuddyDev Forums.

    Please look at the following filters to modify the email message.

    
    wpuln_successful_login_user_email_message
    wpuln_failed_login_user_email_message
    

    Please let me know if you need any further assistance.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Buddyblog : displaying author name on single post page #43768

    Hello Mitsugu,

    Welcome to the BuddyDev Forums. Please let me know are you looking to add a link that links the post author to their Profile’s Post tab added by BuddyBlog rather than the WordPress default author archive page link.

    Regards
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: How do do data validation for profile fields? #43767

    Hello Vincent,

    Welcome to the BuddyDev Forums.

    Please look at the filter with name “bp_xprofile_set_field_data_pre_validate”. You can use this filter to validate user input. Please let me know if you need any further assistance with this.

    Regards
    Ravi