Search Results for 'buddypress'
-
AuthorSearch Results
-
November 2, 2018 at 10:22 pm #279782
In reply to: Buddypress registration ignoring WP Mail SMTP
Paul Wong-Gibbs
KeymasterWP Mail SMTP seems to be a well-written plugin. I’ve taken a quick look at its code, and how it affects what WordPress does, and it looks like BuddyPress – in theory – should work with it. However, if you say it doesn’t, I don’t know why – you’d have to spend time debugging what is going on.
If you know some PHP and basic WordPress development, I can give you some pointers (e.g. start looking at the phpmailer_init hooks and how both plugins add to it).
November 2, 2018 at 10:09 pm #279781In reply to: Remove the no-js body class
Paul Wong-Gibbs
KeymasterNo need to try to un-hook where BuddyPress adds it. The
body_classfilter passes an array of class filters. I’d just filter it, and find and unset the no-js class you don’t want.Paul Wong-Gibbs
KeymasterNope. Try it and if you find an issue with BuddyPress after doing so, then start a discussion.
November 2, 2018 at 10:05 pm #279779In reply to: Sendgrid and buddypress emails
Paul Wong-Gibbs
Keymaster@whoweez This old code sample does nothing much at all. I’m not sure what the intent was, this is basically debugging. To answer your specific question:
I thought “__return_false” on “bp_email_use_wp_mail” should prohibit any BP emails from being sent in the first place as the new class should handle the email sending process…?
If that filter returns true, then BuddyPress generates a plain text version of the email, and calls WordPress’
wp_mail()function. By default, this is false, but it returns true ifwp_mail_content_type()has been configured for HTML, or ifwp_mail()has been redeclared (it’s a pluggable function).That last bit is key. A lot of email plugins for WordPress re-declare
wp_mail(), so for BuddyPress to use those plugins, the default behaviour is to send that plain text version of that email.If
bp_email_use_wp_mailreturn false, then it creates aBP_Email_Deliveryobject, which is what that second filter is changing, which delivery class BuddyPress uses. Inside that class’bp_email()method is where you would create a custom integration with your Sendmail plugin (or however you approach that integration).November 2, 2018 at 9:41 pm #279778In reply to: BuddyPress PHP 7.2 Compatibility test
Paul Wong-Gibbs
KeymasterThis is a false positive. It’s a custom function. See https://github.com/buddypress/wp-cli-buddypress/blob/master/features/bootstrap/utils.php#L426
November 2, 2018 at 5:20 pm #279773In reply to: Sendgrid and buddypress emails
whoweez
ParticipantHi @djpaul,
I’m playing around with the above code, but adding it to the functions.php file does not prohibit the buddypress email from sending!?
Furthermore, using sendgrid’s plugin and provided transactional template ID field does not solve anything as only the template without any buddypress/or wordpress related email content is sent – due to no relational placeholders set.
My aim is to use a custom transactional template at sendgrid for all wordpress and buddypress related content, but from some of your conversations on this I thought “__return_false” on “bp_email_use_wp_mail” should prohibit any BP emails from being sent in the first place as the new class should handle the email sending process…?
Could you perhaps give more guidelines as to why buddypress emails are still sending with this implemented:
add_filter( 'bp_email_use_wp_mail', '__return_false' ); add_filter( 'bp_send_email_delivery_class', function( $delivery_class ) { return 'Implementwpemailbp'; } ); class Implementwpemailbp implements BP_Email_Delivery{ public function bp_email(BP_Email $email){ //add_filter('wp_mail_content_type', 'set_html_content_type'); //wp_mail($to, $subject, $message, $headers = '', $attachments = array()) //remove_filter('wp_mail_content_type', 'set_html_content_type'); var_dump($email); } }Really appreciate your help 🙂
Kind Regards,
WzzNovember 2, 2018 at 1:39 pm #279772corsi159
ParticipantHello,
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!
November 2, 2018 at 12:17 pm #279771In reply to: All gallery images gone!
shanebp
ModeratorBuddyPress does not include member galleries.
You should submit your issue to the creators of the plugin or theme that you are using for member galleries.November 1, 2018 at 7:50 am #279727In reply to: Remove Name Header
Prashant Singh
ParticipantHi,
You have to check current component using the function
bp_current_component()and you can find the component list here https://codex.buddypress.org/developer/bp-is-active/Thanks
November 1, 2018 at 7:20 am #279725In reply to: Extended Profile Fields Under Photo
Prashant Singh
ParticipantHi,
You need to find the file cover-image-header.php and override it in your child theme then just after the avatar code you have to call the function https://buddypress.org/support/topic/bp_get_profile_field_data-2/
Thanks
November 1, 2018 at 7:17 am #279724In reply to: Friend request not showing
Prashant Singh
ParticipantThis is strange because this works for me really well with twenty-seventeen and BuddyPress.
October 31, 2018 at 8:16 pm #279717In reply to: Using First and Last names instead of Username
Prashant Singh
ParticipantHi,
You can use this function bp_get_displayed_user_fullname() to do so.
Also, please check these plugins: https://buddydev.com/plugins/bp-username-changer/ and https://wordpress.org/plugins/buddypress-usernames-only/
October 30, 2018 at 8:10 pm #279702In reply to: Nouveau how to change default options
Prashant Singh
ParticipantOctober 30, 2018 at 7:14 pm #279699In reply to: All members friend requested by all members
wordupwade
Participant@Commandrea – After adding the patch in Paid Memberships Pro – BuddyPress Add On, did the automatic friend requests disappear, or did you have to do something else to eliminate the automatic friend requests?
October 30, 2018 at 5:31 pm #279697In reply to: Friend request not showing
Prashant Singh
ParticipantHi, elizat801
It seems like your theme or any third party plugin is creating the issue there. It works fine with the default theme like twenty-seventeen.
You can take a backup of the site and then check by enabling default theme and if the button appears then certainly you have to ask your theme devs to check once. If the theme looks fine then try disabling plugins, except BuddyPress, one by one to check which one caused the issue.
Thanks
October 30, 2018 at 2:24 pm #279690In reply to: Change order of Group tabs
Prashant Singh
ParticipantOctober 30, 2018 at 3:12 am #279681In reply to: nowhere for user to enter bio
3diuk
ParticipantOk, I found the problem. Clicking on Author’s names was actually linking to:
renderwars.xyz/author/michael
when it should have been linking to:
renderwars.xyz/members/michael
for buddypress to work properly I had to create a child theme and then add a redirect rule in the child themes functions.php file.
For anyone else with the same problem who might not be too good at php etc, here’s the instructins I found to help me:
Creating a child theme:
https://codex.wordpress.org/Child_Themes
and then putting this code in the function.php:
add_filter( 'author_link', 'change_author_link', 10, 1 ); function change_author_link($link) { $username=get_the_author_meta('user_nicename'); $link = 'http://example.com/members/' . $username; return $link; }October 29, 2018 at 9:07 pm #279666In reply to: Display member details in card
Prashant Singh
ParticipantHi,
Please check this thread: https://buddypress.org/support/topic/adding-xprofile-fields-to-members-directory-list-items/ as well as you can test this plugin https://github.com/wbcomdesigns/bp-modify-member-directory-header as well.
Thanks
October 29, 2018 at 6:06 pm #279656In reply to: nowhere for user to enter bio
Prashant Singh
ParticipantHi,
To enter bio you can create a profile field https://codex.buddypress.org/administrator-guide/extended-profiles/ and then from the profile you can enter the bio.
For the post list, you need customizations.
Thanks
October 29, 2018 at 2:29 pm #279654In reply to: buddypress WordPress 5 and Gutenberg editor
Paul Wong-Gibbs
KeymasterThere’s no planned overlap. BuddyPress doesn’t provide any Gutenberg blocks.
If you’re referring to some of the extended profile field types that allow HTML, I expect those will stay as TinyMCE for now.
October 29, 2018 at 6:44 am #279650layan17
ParticipantSorry for the late reply. I have contacted them and run every email test together with no issue. The plugin successful you recommended send the test email, but BuddyPress is not still sending the activation email. I am beginning to give up on buddy press.
October 28, 2018 at 8:10 pm #279604In reply to: Need help removing ( Base Name) from profile page
Prashant Singh
ParticipantHi,
Please check this https://buddypress.org/support/topic/hide-possibility-to-change-base-name/#post-230718
Thanks
October 28, 2018 at 8:00 pm #279601In reply to: Creating Random Password
Prashant Singh
ParticipantHi,
BuddyPress does not send any password. It always sends an activation email and after activating your account by clicking on the link sent in the mail you have to log in with your entered password.
There must be any third party plugin or any custom code that is sending the password in the mail.
Thanks
October 28, 2018 at 5:23 pm #279579entoen
Participanti found out that it only work when i try to remove a core buddypress nav like ‘messages’ or ‘friends’. With a custom nav or subnav it doesn’t work. Any ideas why?
October 27, 2018 at 8:42 pm #279467Lars Henriksen
ParticipantI use and recommend Buddypress Registrations options.
-
AuthorSearch Results