Search Results for 'buddypress'
-
AuthorSearch Results
-
November 5, 2018 at 4:31 am #280138
In reply to: Extended Profile Fields Under Photo
Prashant Singh
ParticipantHi,
You can find it in your theme kleo/buddypress/members/single/cover-image-header.php and the code is
<?php bp_displayed_user_avatar( 'type=full' ); ?>You need to echo your profile field just below this one.
Thanks
November 4, 2018 at 9:32 pm #280063Prashant Singh
ParticipantHi,
This is hardcoded in bbpress plugin here bbpress\includes\extend\buddypress\groups.php.
Find the line
$this->slug = 'forum';but I think changing this may create some issues but you can check if it works fine for you or not. Also changing anything in core file is never recommended because on the next update you will lose it and then have to redo again.One recommendation is that always take a backup of your site when you are doing such core changes.
Thanks
November 4, 2018 at 1:40 pm #279959Prashant Singh
ParticipantAlso, it seems to a coding customization to me that is done on your site. Because BuddyPress does not provide that home link in profile, it always starts from view.
Thanks
November 4, 2018 at 1:27 pm #279955In reply to: Extended Profile Fields Under Photo
Prashant Singh
ParticipantYou need to create buddypress/members/single folder in the child theme and then copy paste the file from plugin to this location and there you can see the code for the avatar.
Thanks
November 4, 2018 at 1:23 pm #279954Prashant Singh
ParticipantHi,
This topic already exists here: https://buddypress.org/support/topic/trigger-function-on-submitting-edit-profil-form-filter/
Please do not repost again.
November 4, 2018 at 5:40 am #279890lookingahead
ParticipantP.S.: apparently this is NOT a bbpress issue; they said it is something that buddypress is responsible for, because these are forums that are associated with user groups in buddypress.
November 3, 2018 at 7:19 pm #279799In reply to: Newbie question
Bit Boy
ParticipantHi,
BuddyPress works on top of WordPress to add community/social features. The integration is almost seamless.Now to answer your questions:-
1. will my members have to login a second time to use BuddyPress?
Is the login required by WordPress account? if yes, They will not need to login again.2. Will that they then have two accounts to deal with?
No, It is only one account.Give it a try, BuddyPress should be simple enough to use.
Best Regards
BNovember 3, 2018 at 6:10 pm #279797In reply to: Buddypress registration ignoring WP Mail SMTP
corsi159
ParticipantHello Paul,
Thank you for your reply.
I’ve seen in this old topic that people had, in the time, similar issues :
BuddyPress Email Notification Ignoring SMTP Server Settings?
I thus created a bp-custom.php file in my plugin directory, and added the following to it :
add_filter(‘bp_email_use_wp_mail’, ‘__return_true’);And now, Buddypress is sending the e-mails through the WP SMTP Config.
I am surprised that I had to do this. This is not ideal, as my emails are now sent in plain text (not html)…
November 2, 2018 at 10:22 pm #279782In 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; } -
AuthorSearch Results