Search Results for 'buddypress'
-
AuthorSearch Results
-
March 5, 2016 at 9:07 pm #250731
In reply to: PHP fatal error – possible bug
Paul Wong-Gibbs
KeymasterThis will be fixed in BuddyPress 2.5.1.
March 5, 2016 at 9:06 pm #250730Paul Wong-Gibbs
KeymasterThis will be fixed in BuddyPress 2.5.1.
March 5, 2016 at 8:32 pm #250728In reply to: BP 2.5 + Transcational email (sendgrid)
Paul Wong-Gibbs
Keymaster@rogercoathup Hi. Assuming those plugins re-implenment
wp_mail(), as I expect most do, yes. Things will continue to work. They’ll get plain text versions of the BuddyPress emails, just the same as in previous BuddyPress releases (though some emails’ sentences have been tweaked/rephrased).March 5, 2016 at 6:58 pm #250715In reply to: Problem in email “accepted your friendship request”
Paul Wong-Gibbs
Keymaster@lanvalencia I and others will try to get to help you as soon as possible.
None of us gets paid for contributing to BuddyPress. It’s the weekend. I have about 6 other forum discussions open where I’m trying to figure out why emails aren’t being sent at *all*, and that’s my current (personal) priority.
March 5, 2016 at 6:52 pm #250714In reply to: Using bp_parse_args() to filter members loop
shanebp
ModeratorPlease use the
codebutton when sharing code.The fields
field_idandfield_valuedo not exist in the function you are attempting to filter.
See this for accepted fields:
https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-members/bp-members-template.php#L453I think you want this field
retval['include'].Something like:
function see_woman_gender( $retval ) { global $wpdb; $field_id = 3; $field_value = 'Woman'; $query = "SELECT user_id FROM " . $wpdb->prefix . "bp_xprofile_data WHERE field_id = " . $field_id . ' AND field_value = ' . $field_value; $woman_ids = $wpdb->get_col( $query ); if ( !empty( $woman_ids ) ) $retval['include'] = $woman_ids; return $retval; } add_filter( 'bp_after_has_members_parse_args', 'see_woman_gender' );There are field re meta data; I don’t think they work with profile data.
But you could try this and let us know if it works:function see_woman_gender( $retval ) { $retval['meta_key'] = '3'; $retval['meta_value'] = 'Woman'; return $retval; } add_filter( 'bp_after_has_members_parse_args', 'see_woman_gender' );March 5, 2016 at 6:19 pm #250711In reply to: translation email
lanvalencia
ParticipantI install the new version of Buddypress and the email “accepted your friendship request” do not work and the rest of emails it is work, my site do not send the email or in my account of hotmail, gmail and yahoo i do not recive this email, i would like that any people give me a solution. Thank you.
March 5, 2016 at 5:58 pm #250707In reply to: BP 2.5 + Transcational email (sendgrid)
Paul Wong-Gibbs
KeymasterHi @nkeatign
It ought to be totally do-able, but you’ll need to write it. If BuddyPress detects that something has re-implemented WordPress’
wp_mailfunction (like the Sendgrid plugin does), then it’ll use the plain text version of the email and pass that towp_mailto let the customwp_mailimplementation deliver the email.I am not aware of anyone who’s written a Sendgrid implementation for BuddyPress 2.5 yet, because the 2.5 release is still pretty new! Maybe you could write an integration plugin and be the first!
Here’s what you need to do (we can document this process more formally if this works for you): — off the top of my head, not tested, be wary of unexpected dragons, etc —
1) Add
add_filter( 'bp_email_use_wp_mail', '__return_false' );
2) Addadd_filter( 'bp_send_email_delivery_class', function( $delivery_class ) { return 'Your_Class'; } );.These steps tell BuddyPress to always use its own email APIs, and tell it to use the class named
Your_Classto handle the email delivery. The default delivery class isBP_PHPMailerwhich uses PHPMailer. I strongly suggest you use it as a reference for implementing a Sendgrid implementation.Your_Classneeds to implement the interfaceBP_Email_Deliverywhich provides a methodbp_email(), which receives aBP_Emailobject. Everything about the email is contained inside theBP_Emailobject.What your
bp_email()method will need to do is call the Sendgrid’s plugin email-sending function. You can get all the information you need (recipients, HTML body, plain text body, etc) from theBP_Emailobject.March 5, 2016 at 5:12 pm #250705In reply to: Activation mails not send after update
fidelleon
ParticipantHello,
I agree having more betatesters would be fine but sometimes it’s difficult when you just manage only one Buddypress site.
I’m having the same problem, the activation mail is not being sent since I updated. I have activated full debug mode (E_ALL and Display_errors) but nothing shows in the error log.
Besides, I had overriden the normal activation mail in my child’s theme’ functions.php. After it stopped working I did a grep and saw the function I was trying to use was in the v2.5 deprecated list, so I commented out all the overriding code.
I’m using the Easy WP SMTP plugin, the sender mails are good ones both in the plugin and the main WordPress configuration, and it can receive mails.
March 5, 2016 at 3:48 pm #250700In reply to: BuddyPress in Multi Site
danbp
ParticipantYep, now it’s clearer. But sorry, I don’t know about a way to get some groups on main site and some others only on a secondary site.
Group should be intended as members group. And a group is not a site. It is just a bunch of members attached to a group.
Also, a group is not a blog and that’s why you get on a multisite install several blogs who share the same members, belonging eventually to differents groups. What and wherever the install is on main or seconday blog.
Members are all in the same DB table and WP doesn’t share them by groups, but by username > blog authors…
As you already know, BuddyPress comes with a member directory and a group directory. And on a multisite(aka network), a blog directory. But basically, all 3 cases are related to members, not to blog. There is no relation between a blog and a group. You can eventually install a blog into a group (buddypress group blog plugin), but you can’t install a group into a specific blog (outside the one where BP is activated). A group is not a blog.
On codex it is specified: buddypress root blog (the one you get from WordPress) or buddypress root blog on secondary site.
In other words, It should go to the secondary site. is not possible.
But i can be completely wrong. 😉
March 5, 2016 at 3:37 pm #250699In reply to: PMPRO and Buddypress
jrb9406
ParticipantIt seems that buddypress sub-pages aren’t calling this plugin. When I echo any of the variables, they show up for /groups/, but not for /groups/group-name/. Perhaps there’s a template somewhere that I need to address?
March 5, 2016 at 2:09 pm #250697In reply to: BuddyPress in Multi Site
tammy1999
ParticipantSorry I wasn’t clear.
I have a multi site with with a main site and secondary site. I have put define ( ‘BP_ROOT_BLOG’, 2 ); in the wp-config.php. I have only activated BuddyPress on the secondary site. And everything is good with the settings.
Except when it comes to the Groups Pages on the Dashboard of the secondary site. When I make any changes to the pages on any group and hit Save, it will go to the Main Site. It should go to the secondary site. Also any Group Page details shows up in the Group Page area on the Main site. The only reason I know this is because I activated Buddy Press on the Main site and all the groups are there. But I keep all the BuddyPress plugins off on the Main site.
The Group Pages doesn’t have any group pages listed on the secondary site.
I thought after making the secondary site the BuddyPress site that everything would show up there.
March 5, 2016 at 1:38 pm #250693In reply to: PUBLIC MESSAGE
danbp
ParticipantThe css tag ID
#aw-whats-new-submitmay exist, but if your theme use some specific height or width for it which is different from what is used by BP in the js/css file, you didn’t see the button.This is a very common theme issue, handled on many topics on this forum.
@tonyxs1 logically in the template. The what’s new form is used on activity, profile and group page.You’ll certainly find some good information from these one or other search results:
https://buddypress.org/support/search/what%5C’s+new+form/March 5, 2016 at 1:30 pm #250692In reply to: BuddyPress in Multi Site
danbp
ParticipantHi @tammy1999
I have a 2 site multisite sounds a bit ambiguous.
Do you mean 2 multisite installs or 1 multisite install with 2 sites ?
If your config is the second option, BuddyPress should be at the root of the main site, at the same level as WordPress. Case A. of a standart network install, as explained here:
Read attentively each step of your special configuration to see if you didn’t omited something in your settings.
March 4, 2016 at 8:42 pm #250679In reply to: How to disable BuddyPress register page
edragonxx
ParticipantDid not work either. Have tried so many different ways to get rid of that buddypress register page and use standard one. This option should be already built in to let users use do they want use buddypress one or do they want use wordpress one. So that login, register, lost password, etc forms would use same page/system and would not be different.
March 4, 2016 at 8:42 pm #250678In reply to: Activation mails not send after update
Paul Wong-Gibbs
KeymasterPeople who are having problems: as far as I know, we have never seen this problem before during testing. If someone like you had helped us test BuddyPress 2.5 in beta or release candidate stage about four weeks ago, we’d have fixed it prior to release.
We’ll get it fixed as soon as we figure out what the problem is.
I was just thinking about it and have one question which would be interesting: in
wp-admin Settings > General, the value for theEmail Address— is it a REAL email address? For example, if you were to send an email to that address, would it receive it?March 4, 2016 at 8:34 pm #250674In reply to: Activation mails not send after update
DCstyle
ParticipantIm running into the same problem, But its not just the Activation mails, its any kind of mail related to buddypress thats not working anymore. My members get no updates and cant activate. Please Bring us a fix/solution Asap
March 4, 2016 at 8:29 pm #250673In reply to: New Email Template (Self defeating?)
Paul Wong-Gibbs
KeymasterThanks for your feedback, @backpackersunion. I’ll let others chime in as I spent a long time working on the email feature, so it’s close to my heart, but here’s my thoughts:
- Decisions, not options.
- It’s much easier to add options than it is to remove options.
- It’s risky to add options or features unless you’re sure what your users want, so launching with a minimal feature set and listening to feedback and consensus helps us make informed decisions.
And the template, yes — you run the risk of the template going out-of-sync with the version distributed by BuddyPress. But this isn’t specific to the email feature, and could apply to any of BuddyPress thirty or so other templates.
We have some plans to add some communication around template changes in a feature release, like WooCommerce apparently does, which will help a bit.
March 4, 2016 at 8:23 pm #250671In reply to: translation email
Paul Wong-Gibbs
KeymasterIF your translation file is up to date (have you re-downloaded the files to check?), those strings should be getting translated.
Otherwise, another option is to edit the email template. Copy
buddypress/bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.phpinto your theme and make whatever changes you want.March 4, 2016 at 8:17 pm #250669In reply to: ‘bp_email_use_wp_mail’ Causing Issues
Paul Wong-Gibbs
KeymasterIf the filter
bp_email_use_wp_mailreturns true, it’ll grab the “plain text” version of the email from BuddyPress, and send that towp_mail(). BuddyPress does not re-implementwp_mail().BuddyPress will also fall back to use
wp_mail()if it detects that any other plugin has re-implemented that function (pretty common in email plugins), or if something’s configured WordPress to send HTML emails.BuddyPress does not stop or block any other plugins’ emails from being sent, nor any emails sent by WordPress core (with a few exceptions for multisite-specific emails, but this has been implemented for about 6 or 7 years, so it’s not a new change).
I am just now testing this with WP Better Emails. Give me a minute.
March 4, 2016 at 6:39 pm #250661In reply to: translation email
airsid
ParticipantMarch 4, 2016 at 6:16 pm #250659In reply to: Filtering Activity Loops
mtraps
ParticipantOkay thanks. I’ll have to do some more research.Do you recommend using a theme that is meant for buddy press or would any theme work perfect with buddypress?
March 4, 2016 at 5:22 pm #250650In reply to: Filtering Activity Loops
shanebp
ModeratorWhat you want is the ability for members to create posts in the front end.
And have filterable activity items created for those posts.Both items are very doable – via other plugins or custom code.
To see the current offerings, Google:
buddypress front end postMarch 4, 2016 at 5:07 pm #250645In reply to: BuddyPress + bbPress Breaks bbPress Search Widget
Gretchen Louise
ParticipantYes, this is the search widget built into bbPress.
We deactivated all plugins except for bbPress, and it worked fine. Next we activated BuddyPress, and it quit working. Even when those are the only two plugins active, it doesn’t work.
March 4, 2016 at 4:48 pm #250640In reply to: Visible profile fields
idoobi
ParticipantForgot to mention: using latest BuddyPress, bbPress in Divi theme.
March 4, 2016 at 11:26 am #250628Mark
Participant@djpaul Hi Paul,
I have no clue what that means! Will copy my details from this ticket into a bug report when I get a chance. It’s 3:22AM so I will do so probably tomorrow.
So I just pieced some code from Buddypress 2.5.0 (previously used code from 2.4.0 files during testing) files together using class-bp-core-whos-online-widget.php and bp-members-widgets.php to create a generic widget containing a generic loop in it. After putting that generic widget into a dynamic sidebar and then calling that sidebar above the cover image header the loop displays and doesn’t break the private message button. Weird way about getting my custom loop to display above the cover image header on a member’s profile but works for some reason. Thought I’d let you know just in case the info helps.
Not sure why the code I pieced together from Buddypress 2.4.0 (bp-members-widgets.php) didn’t work also when I first tried this random workaround. During that round of testing the loop displayed as intended but still broke the private message button. I’m not a coder so I have no clue what is happening, I just figured it was something to do with the loading of the code so I tried random things to try and get it to work. Noticed you no longer just use bp-members-widget.php for 2.5.0 so maybe that has something to do with my workaround working now. Weird.
Anyways, thanks for all your help. Will be great to have one of you experts take a look and remedy this quirk.
Have a great night.
Regards,
mark -
AuthorSearch Results