Forum Replies Created
-
In reply to: Custom Email: Send Notice When User Leaves a Group
You’d need to write some PHP. 🙂
The “recipient’s status” type is hooked to the
groups-member-promotedaction — so no.
You could use thegroups_leave_groupaction which is triggered when a user is removed from a group.There is some example code on our codex for how to set up custom emails. Take a look here: https://codex.buddypress.org/emails/custom-emails/
In reply to: PHP fatal error – possible bugThanks.
Everyone else, keep an eye on https://buddypress.org/support/topic/read-this-first-buddypress-2-5-master-list/
Thanks. Yes, it’s the same root problem as the bug report I linked to above.
See also https://buddypress.org/support/topic/read-this-first-buddypress-2-5-master-list
I’ve added your idea here! https://buddypress.trac.wordpress.org/ticket/6938#ticket
Hi @mi423.
Yes, this is intentional.
BuddyPress 2.5 uses its own implementation of emails under-the-hood. We no longer use
wp_mail. A consequence means that anything hooked to actions or filters specific towp_mailno longer work.wp_mail_fromandwp_mail_from_nameis an example of this.
I apologise for the inconvenience.There are a few ways to achieve this; you can either change the value after the default is *set*, or change it when the value is *read*. For simplicity, I’d suggest the first. This should work though I haven’t tested it:
add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_from( "custom@example.com", "Custom Website Name" ); }, 10, 2 );EDIT: sample code tested and updated on March 4.
In reply to: PHP fatal error – possible bugI agree with your analysis, @nyodulf!
There’s an issue in our bugtracker at https://buddypress.trac.wordpress.org/ticket/6937 where we are working on this.
It’d be helpful if you can confirm if you have the Activity component enabled or not on your site?
Thank you for letting us know.
In reply to: Activation mails not send after updateHi @ingeB1983
I’m sorry you’re having problems. Thank you for letting us know.
* How were you customising your activation emails?
* Is your site sending other emails correctly, or are all emails broken? Can you test to be sure?
* Are you running WordPress multisite, or regular WordPress?
* Do you run any plugins that changewp_mailor affect how emails are delivered? For example, any plugins that send email via Mailchimp, etc?@mi423 Thanks for the feedback! And sorry for introducing a new bug. We try not to do that. 🙂
I’ve created a bug report at https://buddypress.trac.wordpress.org/ticket/6937 which you can monitor for updates, or partipicate. Our first question is: what BuddyPress components do you have enabled?
Specifically, is the Activity component *not* enabled?
In reply to: translation emailYes, the French translation needs to be updated for BuddyPress 2.5. See https://translate.wordpress.org/projects/wp-plugins/buddypress/stable/fr/default?filters%5Bstatus%5D=untranslated&sort%5Bby%5D=priority&sort%5Bhow%5D=desc
In reply to: Warning of Buddypress@scottofford Please could you update to BuddyPress 2.5 (we released it yesterday) and try again? If you’re seeing the problem, please open a new topic with more information about the problem, such as how to recreate it.
Thanks.
In reply to: Same Cover Update Across Network – Multisite@imath you might be interested in this one 🙂
Great! Thanks for confirming @billysgtr. We’re sorry for causing the problem originally.
Going to close this now we’ve released 2.5! Please open a new ticket for any new discussions.
In reply to: Poor handling of username’s with spaces@brx8r Yep. 🙂
The last one isn’t a bug. Let me try to explain.
* “The Keeper” is your BuddyPress name.
* “the-keeper” is the version of your name used in URLs and for at-messages.If your BuddyPress name looks like “firstname lastname”, BuddyPress will, by default, split that on the space into “firstname” and “lastname”, and sets those as your First Name and Last Name in the WordPress user profile (in wp-admin -> Users -> Edit).
The “What’s new” box is pretty old at this point and it must have been built to specifically fetch the “First Name”. Thus the “The” 😀
Hi @markob17
Glad you like it — thanks for using BuddyPress! There isn’t a token to add a member avatar. Where would you want it shown?
We could add a token, but it’d end up rendering a
<img>tag, so I’d love to understand a bit more what your idea is. Maybe break out MS Paint and take a screenshot of an email and mark out what you’re describing?In reply to: translation email@lanvalencia The Spanish translation still needs to be completed for BuddyPress 2.5. The new phrases for the emails have not been translated: https://translate.wordpress.org/projects/wp-plugins/buddypress/dev/es/default
Maybe you can help @_dorsvenabili get those done 😀
After the translation is updated, and after WordPress downloads the updated language pack (the .mo and .po files), go to
wp-admin > Tools > BuddyPressand run the “Reinstall emails” tool.Screenshot: https://i.imgur.com/kQj5CtT.png
This will reinstall the emails in Spanish for you.
Thank you for using BuddyPress!
@BackpackersUnion I’ll update the documentation now. You either always use two or three pairs of brackets for tokens.
Two brackets: insert this value safely (escapes HTML).
Three brackets: insert this value verbatim (potentially dangerous if mis-used).Always use two brackets unless and until you find somewhere you need raw markup.
In reply to: BP 2.5 RC1: php syntax error?Running the dev build means you’re not getting the optimised CSS / JS files.
If you’re able to deploy with a SVN checkout instead of Git, you could use
svn co https://plugins.svn.wordpress.org/buddypress/tags/xxx/ --ignore-externalswhich will not include the bbPress folder from the checkout.In reply to: Buddypress Amazon ec2It must be something to do with the server configuration; it could be anything. I’ve used BuddyPress on Amazon instances of all sizes and I’ve never had a problem.
In reply to: WordPress Network and BuddyPressDid you Network Activate the BuddyPress plugin, or just enable it on one of the sites?
In reply to: Mark user as a spammer – do NOT delete dataYou could probably write some code to do this (unhook various action callbacks) but there’s no on/off switch for something like this.
In reply to: MISSING FOOTERYour best bet is to try the bbPress.org support forums — the shortcode you’re using is bbPress, not BuddyPress.
In reply to: Buddypress Legacy Files – Up-to-date?They’re legacy in the optimistic hope that we’ll build new templates sometime this year (2016). I think it’ll happen.
In reply to: how to get retina-quality avatars?I ran into this recently. I’m not sure what we need to do – I think we need to change the cropping logic, and also end up with a bunch more versions of the avatars.
I’m not sure when we might get to improving on avatars in this way.
In reply to: Error in Release Candidate 2.5😀