Opened 10 years ago
Closed 10 years ago
#5879 closed enhancement (fixed)
"Notify group members" email should contain more useful information
Reported by: | boonebgorges | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | needs-refresh |
Cc: |
Description
When changing the name or description of a group, you have the option of sending an email notification informing group members of the change "Notify group members...". However, the email as it stands is pretty useless. https://buddypress.trac.wordpress.org/browser/tags/2.0.3/bp-groups/bp-groups-notifications.php#L36
I proposing modifying the emails so they look like this:
Group details for the group "foo" were updated: * Name changed from "bar" to "foo" * Description changed from "Old description" to "New description" To view the group: http://example.com/groups/bar/
See attached patch.
Attachments (1)
Change History (6)
#2
@
10 years ago
Idea sounds good.
I had a quick look at the patch and:
- I think it'd be improved if it uses LI elements (etc) rather than asterisks for fake bullet points.
- The
__( '* Name changed from "%s" to "%s"', 'buddypress' )
strings should probably have some context to clarify that it's the group name that's changed, not the name of something else. - Maybe add a new filter inside
groups_notification_group_updated
to let other plugins easily add their own "bullet points" for changes of any group functionality that they introduce.
#3
@
10 years ago
Thanks, guys.
I think it'd be improved if it uses LI elements (etc) rather than asterisks for fake bullet points.
Yes, but this is the text of an email. We currently only support plain-text email.
The ( '* Name changed from "%s" to "%s"', 'buddypress' ) strings should probably have some context to clarify that it's the group name that's changed, not the name of something else.
Maybe add a new filter inside groups_notification_group_updated to let other plugins easily add their own "bullet points" for changes of any group functionality that they introduce.
Good ideas. Thanks!
Like it a lot!!
I had the opportunity to look into this area lately and there might be other group changes that might desearve an attention message. I'm thinking of a change of status. If a group that was private becomes public, then i think members should be informed. But that's another ticket story, i think because it would require to intoduce some "transition group status" mechanism and a new notification function. I'll submit another ticket about this.