Giter Club home page Giter Club logo

buddypress-group-email-subscription's Introduction

=== BuddyPress Group Email Subscription ===
Contributors: dwenaus, boonebgorges, r-a-y
Description: Allow users to receive email notifications of group activity. Weekly or daily digests are available.
Tags: buddypress, bp, activities, activity, groups, group, emails, email, notifications, notification, subscribe, subscription, digest, summary
Requires at least: 3.2
Requires PHP: 5.3
Tested up to: 6.4
Stable tag: 4.2.1

== Description ==

This powerful plugin allows users to receive email notifications of group activity. Weekly or daily digests are available. Each user can choose how they want to subscribe to their groups.

Please note that this plugin requires BuddyPress, as well as the BuddyPress Groups and Activity components.

EMAIL SUBSCRIPTION LEVELS
There are 5 levels of email subscription options:

1. No Email - Read this group on the web
2. Weekly Summary Email - A summary of new topics each week
3. Daily Digest Email - All the day's activity bundled into a single email
4. New Topics Email - Send new topics as they arrive (but don't send replies)
5. All Email - Send all group activity as it arrives

DEFAULT SUBSCRIPTION STATUS
Group admins can choose one of the 5 subscription levels as a default that gets applied when new members join.

DIGEST AND SUMMARY EMAILS
The daily digest email is sent every morning and contains all the emails from all the groups a user is subscribed to. The digest begins with a helpful topic summary. The weekly summary email contains the topic titles from the past week by default. Summary and digest timing can be configured in the back end. (The admin can view a sample of the digests and summaries in the queue by going adding this to your url: mydomain.com/sum=1. This won't send emails just show what will be sent)

HTML EMAILS
The digest and summary emails are sent out in multipart HTML and plain text email format. This makes the digest much more readable with better links. The email is multipart so users who need only plain text will get plain text.

EMAILS FOR TOPICS I'VE STARTED OR COMMENTED ON (only available with BuddyPress legacy discussion forums)
Users receive email notifications when someone replies to a topic they create or comment on (similar to Facebook). This happens whether they are subscribed or not. Users can control this behaviour in their notifications page.

TOPIC FOLLOW AND MUTE (only available with BuddyPress legacy discussion forums)
Users who are not fully subscribed to a group (ie. maybe they are on digest) can choose to get immediate email updates for specific topic threads. Any subsequent replies to that thread will be emailed to them. In an opposite way, users who are fully subscribed to a group but want to stop getting emails from a specific (perhaps annoying) thread can choose to mute that topic.  bbPress plugin users can utilize the "Subscribe" / "Notify me of follow-up replies via email" option.

ADMIN NOTIFICATION
Group admins can send out an email to all group members from the group's admin section. This feature is helpful to quickly communicate to the whole group, but it should be used with caution.

GROUP ADMINS CAN SET SUBSCRIPTION LEVEL
Group admins can set the subscription level for existing users on the group's "Admin > Manage Members" page - either one by one or all at once.

SPAM PROTECTION
To protect against spam, you can set a minimum number of days users need to be registered before their group activity will be emailed to other users. This feature is off by default, but can be enabled in the admin.

TRANSLATORS

- Brazilian Portuguese - www.about.me/dennisaltermann (or www.congregacao.net)
- Catalan - Sara Arjona Téllez
- Danish - Morten Nalholm
- Dutch - Anja werkgroepen.net/wordpress, Tim de Hoog
- Farsi - Vahid Masoomi http://www.AzUni.ir
- French - http://www.claudegagne-photo.com, Sylvain Ghysens
- German - Peter Peterson, Thorsten Wollenhöfer, Jörg Lohrer
- Hebrew - Iggy Pritzker
- Italian - Stefano Russo
- Japanese - http://buddypress.org/community/members/chestnut_jp/
- Lithuanian - Vincent G http://www.Host1Free.com
- Russian - http://www.viaestvita.net/groups/
- Spanish - Williams Castillo, Gregor Gimmy
- Swedish - Thomas Schneider, Joakim Hising

NOTE TO PLUGIN AUTHORS
If your plugin posts updates to the standard BuddyPress activity stream, then group members who are subscribed via 3. Daily Digest and 5. All Email will get your updates automatically. However people subscribed as 2. Weekly Summary and 4. New Topic will not. If you feel some of your plugin's updates are very important and want to make sure all subscribed members receive them, you can filter 'ass_this_activity_is_important' and return TRUE when $type matches your activity. See the ass_this_activity_is_important() function in bp-activity-subscription-functions.phpfor more info.

PLUGIN SUPPORTERS:
Major supporters: shambhalanetwork.org & commons.gc.cuny.edu
Other supporters: bluedotproductions.com

PLUGIN DEVELOPMENT
For bug reports or to add patches or translation files, please visit the [GES Github page](https://github.com/boonebgorges/buddypress-group-email-subscription/).  Contributions are definitely welcome!

== Installation ==

1. Install plugin
2. Go to the front end and set your email options for each of your groups
3. On the group admin settings, set the default subscription status of existing groups
4. For groups with existing members, go to the bottom of the manage members tab to set all members to the default subscription
5. If emails are not being sent ensure that the activity component is turned on

== Screenshots ==

1. Email Options on settings page
2. Email Options on other group pages
3. Email Options in Group Directory
4. Sample Email (HTML emails in future versions)
5. Follow and mute links in group forum (only available with BuddyPress legacy discussion forums)
6. Send Email Notice to entire group (admin only)
7. Admin Settings

== Changelog ==

= 4.2.1 =
* Update BP 12.0 polyfills to fix some redirect issues.

= 4.2.0 =
* Compatibility with BuddyPress 12.0+ and its new system for building URLs using WP's Rewrites API.
* Dropped support for versions of BuddyPress older than 2.1.
* Improved readability of single-item email templates by removing an extraneous colon when there's no user-provided content related to the activity item.
* Fixed bug that caused replies to group-linked activity comments to be misattributed in some cases.

= 4.1.1 =
* Fixed bug introduced in 4.1.0 that broke AJAX subscription level changes.

= 4.1.0 =
* Introduced interface where site admin can set the global default subscription level.
* Introduced new filters that make it easier to disable subscription levels globally.
* Removed the stripping of links in user-generated portions of outgoing emails.
* Internationalization improvements.
* Adjustments to Dashboard panel to deemphasize legacy "migration" tasks.
* Fixed bug that caused `restore_current_blog()` to be called when unavailable.
* Improved the triggering of the immediate send queue, to avoid unnecessary runs.
* Only install BPGES email templates if they don't exist. This prevents duplicates on update.
* Improved the way that URLs are escaped when generating unsubscribe links.
* Added `$group_id` parameter to `ass_group_unsubscribe_links()` that allow for greater customization.

= 4.0.4 =
* Fixed regression in 4.0.3 that caused activity action to be blank in outgoing emails.

= 4.0.3 =
* Improved PHP 8+ compatibility.
* Improved handling of "action" strings when generating email text.
* Improved handling of click events when using group-header subscription interface.

= 4.0.2 =
* Migrated subscription options markup to a template file that can be overridden in a child theme, for greater customizability.
* Improved filters for values used when generating email text and sendng emails.
* Fixed bug that caused BP email templates to be reinstalled during some upgrades.

= 4.0.1 =
* Improved cleanup when a WP user is deleted.
* Avoid duplicate notifications when a bbPress topic or reply is reapproved by the admin.
* Timezone improvements.
* Improved compatibility with jQuery 3.x.
* Fix bug that could cause certain translatable strings not to be loaded in time.
* Improvements to avoid timeouts and other issues during async send batches.
* Improved formatting for digest content.

= 4.0.0 =
* Overhaul markup for subscription settings panel, for better responsiveness and accessibility.
* Fix bug that could cause incorrect information to be pulled for bp-groupblog activity items.
* Fix bug that can cause empty upload directories to be created in some cases.
* Allow BP email_type to be filtered.
* Introduce `bpges_force_immediate_admin_notice()`, allowing plugins to force admin-sent emails to go out to all members regardles of their subscription setting.
* Fix bug that caused duplicate notices in the case of updated group details.
* Improved handling of local times when building digest.
* Ensure that all non-public links in digest emails are wrapped in a login URL.
* Add ability to modify content-cleanup routine on a per-activity basis.
* Remove duplicate content filtering when sending admin notice.
* Improved compatibility with latest versions of BuddyPress.
* Add filter for just-in-time filtering of digest items on a per-user basis.
* Remove legacy bp-forums function checks.
* Improve CSS selectors in group settings radio buttons.
* Some hardening against potential CSRF attacks.
* Improved stylability for View links in digests.

= 3.9.4 =
* Fix bug that could trigger fatal errors in some upgrade situations.

= 3.9.3 =
* Improvements to the way that the 3.9 update admin notice is shown on Multisite.
* Improvements to user domain caching.
* Improved data cleanup when a user leaves a group or when user account is deleted.
* Improved behavior of email queue so that {ges.subject} tokens work properly in async send batches.
* Ensure that bp-groupblog emails can be sent with HTML content.
* Updated nl_NL translation.

= 3.9.2 =
* Improvements to CLI 3.9 migration tools.
* Improvements to the way that 3.9 migration admin notices are displayed
* Avoid fatal errors during activation when required BP components are not activated

= 3.9.1 =
* Improvements to 3.9 migration routine.
* Updated nl_NL translation.

= 3.9.0 =
* Move to a new system for storing subscription and digest data, for improved performance and scalability
* Improve the ?sum=1 debugging tool, with support for `user_ids` and `user_count` URL paramaters.
* Add the ability to log debugging information about outgoing messages, using the `BPGES_DEBUG` constant. See https://github.com/boonebgorges/buddypress-group-email-subscription/wiki/How-to-troubleshoot-missing-emails
* Require a form submission when clicking on the Unsubscribe link in email footers.
* Move to the wordpress.org translation infrastructure.
* Improve compatibility with new versions of PHP.
* Improve admin-facing notices when minimum requirements (BP components, PHP version) are not met.
* Localization improvements.
* Accessibility improvements for user settings interface.
* Fix bug that could prevent hidden activity items from being fetched when generating digest text.

= 3.8.2 =
* Improve logic in activation routine, to avoid fatal errors in cases where load order is non-standard.

= 3.8.0 =
* Drop support for PHP 5.2, and improve support for PHP 7.2.
* Allow group admin sections to be customized via theme templates.
* Add attachment links when generated by GD bbPress Attachments.
* Improved digest queue cleanup, so that items are only removed from the queue when they're actually added to a digest.
* Improved unsubscription on group leave/remove for better functionality with third-party automated group membership tools.
* Fix bug that caused users to be subscribed to groups when being banned.
* Improved filters for controlling digest vs immediate notifications on a per-user basis.
* Ensure that users set up to receive bbPress self-notifications receive notifications that match their digest preferences.
* Improved filters for login redirect URL.
* Improved filters for group subscriptions.
* Improvements to 'ass_digest_format_item_group' filter.

= 3.7.2 =
* Fix bug that could cause fatal errors when activating without BuddyPress.
* Improve data passed to filters.
* Fix invalid form markup.
* Introduce new filters for disabling "Email Notice" and "Welcome Email" sections
* Add CSS clases to HTML elements in digests.
* Improve handling of deleted activity items when generating digests.
* Fix some spelling errors.
* Improve handling of default subscription level filters.

= 3.7.1 =
* Fix incorrect activity comment permalinks in digest emails.
* Use login redirect links in digest emails, for improved navigation when not logged in.
* Improve compatibility with non-standard Multisite configurations.
* Improve compatibility with PHP 7.1+.
* Improve compatibility with BP 2.5+ function signatures.
* Improve HTML character encoding in digests.

= 3.7.0 =
* Add support for BuddyPress HTML emails, available since BuddyPress 2.5. (View the accompanying wiki article for more info - https://github.com/boonebgorges/buddypress-group-email-subscription/wiki/Email-Tokens)
* Reduce the amount of code loaded by GES on any given page.
* Fix issue with the email options popup being displayed automatically when changing the group filter or when clicking on a paginated link.
* Do not send email to a banned group member.
* Improve JavaScript event binding for better compatibility with AJAX page loading
* Pass user information to 'ass_welcome_email' filter.
* Add Catalan translation
* Admin menu moved to "Settings > BP Group Email Options" for those using BP 1.6+.
* Drop support for BuddyPress 1.2.

= 3.6.1 =
* Fix bug that could cause fatal error when sending digests in some cases.
* Improve appearance of "Get email updates" link in directories when using Twenty* themes.
* Add filter that enables JS/CSS assets to be loaded in custom locations.
* Update Swedish translation.
* Update German translation.

= 3.6.0 =
* Introduce `ass_generate_notification()`, a generic handler for sending notifications.
* Add Hebrew translation.

= 3.5.2 =
* Adds a filter to control whether a specific user should receive immediate email notification of a given item.
* Fixes bug that prevented users from saving the "No email" setting in some cases.
* Reorders the way the group extension is bootstrapped.
* Removes hardcoded reference to default group setting, in case this value is filtered by a plugin.
* Fix incorrect group link in digest emails.

= 3.5.1 =
* Localization improvements
* Fixes bug that could cause fatal error in some bbPress configurations
* Fixes bug that caused incorrect links in some digest emails
* Fixes bug that caused some email subscription settings not to be saved in some cases

= 3.5 =
* Fixes bug so that user no longer gets an email for their own group activity update
* Improved email content parsing, so that the URLs contained in links are not completely removed from the email
* Improved JavaScript and CSS asset loading, for better cache busting
* Fixed bug that caused email footer to be repeated multiple times in certain cases
* Better support for plugin white labelling & changed directory names
* Improved compatibility with the WP Better Emails plugin
* Update JS not to use deprecated jQuery.live()
* Improved compatibility with BuddyPress 2.2
* Better filters for customizing the format of digest emails, nav item visibility, and redirect URLs

= 3.4 =
* Reinstate bbPress "Subscribe" option in forum threads for group members not subscribed to "All Mail"
* Performance improvements in daily and weekly digests
* Add support to manage each group member's subscription in the WP admin dashboard's "Groups" backend interface (only in BP 1.8+)
* Improves redirect behavior for group notification links
* Use native BP user meta functions for better multi-network compatibility
* Fixes bug where users may have received other user's digests
* Fixes bug where group creator was not subscribed to the email setting selected during group creation
* Fixes bug where self-notifications may not have worked in some instances
* Fixes bug with quotes and apostrophes not being stripped from admin notices and welcome emails

= 3.3.3 =
* Updated nl_NL translation

= 3.3.2 =
* Updated nl_NL translation
* Updated de_DE translation
* Fixed some textdomains

= 3.3.1 =
* Fixes a bug that caused duplicate bbPress 2.x digest notifications
* Improved compatibility with PHP 5.4 and WP 3.5

= 3.3 =
* Better support for bbPress 2.x group forums
* Fixes Weekly Summary emails
* Improves redirect behavior in View links related to forum topics in private/hidden groups
* Added filters to digest content for improved customizability
* Improved behavior with BP_ENABLE_MULTIBLOG mode

= 3.2.3 =
* Fixes lame duplicate bug reintroduced in 3.2.2
* Updates Danish translation

= 3.2.2 =
* Fixes main site link in digest emails
* Breaks up email content cleanup for better control by plugins
* Abstracts activity_type checking into a separate function, for greater control by plugins and themes
* Disables topic subscription in bbPress 2.x when inside of a group, to avoid duplicate messages

= 3.2.1 =
* Fixes bug in the implementation of forum post digests
* Fixes backward compatibility issue with filters in forum reply and topic functions

= 3.2 =
* Rewrote digest emailer to use wp_mail(), for better compatibility with WP SMTP plugins
* Better compatibility with BP 1.5+ native functions
* Refactored forum notification function, to work around bugs related to double posts. Many thanks to r-a-y for his work on this

= 3.1.2 =
* Corrected a bug in the way digest links are constructed
* Added Lithuanian translation

= 3.1.1 =
* Improved styling of subscription settings popup on My Groups pages
* More attempts at improving the loading of JS and CSS across BP versions

= 3.1 =
* Added the ability to unsubscribe from single group notifications directly from the email without needing to be logged in. This is on by default. * Also added the ability to unsubscribe from all group email notifications. This feature needs to be enabled in the plugin admin page.
* Added a new group welcome email that gets sent out the moment someone joins a group - regardless of the email subscription setting. Edit this in the group admin -> email options.

= 3.0.1 =
* Fixes bug that may have caused deleted activity items to appear in digests in some cases
* Fixes some notices

= 3.0 =
* Adds filter for email digest CSS
* Rewrites digest logic for fewer bugs and greater efficiency

= 2.9.9 =
* Added Danish translation, new subject filters

= 2.9.8 =
* Fixes bug that prevented admin/manage-members/ action links from working

= 2.9.7 =
* More fixes for 1.5+ compatibility. Props king76

= 2.9.6 =
* Fixed a number of PHP notices
* Fixed the admin Send To Group functionality in BP 1.5+

= 2.9.5 =
* Added Farsi translation. Thanks, Vahid!

= 2.9.4 =
* Added additional filters to digest builder

= 2.9.3 =
* Added updated Spanish translation

= 2.9.2 =
* Fixed some syntax errors that may have caused problems with digest formatting

= 2.9.1 =
* Fixed bug that may have caused scripts and styles not to be loaded on BP 1.2.x
* Fixed some PHP notices
* Fixed bug that might have caused BPGES javascript to load before jQuery in some cases

= 2.9 =
* Full support for BuddyPress 1.5
* Code cleanup and normalization

= 2.8.7 =
* Tweaked email text so that contentless notifications don't get empty quotation marks

= 2.8.6 =
* Added simple activity item caching to digests to reduce database queries at digest time
* Fixed bug that caused hidden items not to be sent in digests

= 2.8.5 =
* Added better brazilian portuguese translation, improved error checking to see if user has email before emailing them

= 2.8.5 =
* Fixed bug introduced in latest BP version where when an group admin manually removes a group member in Group Admin -> Manage Members -> Remove from group, the user kept getting emails
* Added translation strings for the javascript mute/follow
* Minor code cleanup to how digest/summaries are stored
* Added Russian translation
* Added filter to digest subject line
* Fixed error where only site admins could send out instant emails and not group admins

= 2.8.4 =
* Added German Translation

= 2.8.3 =
* Fixed issue where activity updates had html in the email subject line

= 2.8.2 =
* Fixes Dashboard panel to be compatible with WP 3.1/BP 1.2.8 multisite. Also adds a helpful "settings saved" message to dashboard panel.

= 2.8.1 =
* Fixed issue when plugin was hiding new group activity update comments

= 2.8 =
* Group activity replies are now registered in the plugin and emailed/digested accordingly
* Users can now choose to get emails for posts they make (in their settings page)
* Useful filters were added - you can now add a header or footer to the digest emails
* Fixed a bug where group names were sometimes missing for private groups in the digest
* Fixed minor bug where people on weekly digest who followed a single topic don't get any emails
* Added swedish translation.

= 2.7.9 =
* Now translated in japanese, spanish, french, portuguese, italian and dutch. no changes to the code on this update.

= 2.7.8 =
* Internationalization bug finally fixed. Spanish and Italian now included. 'Email Options' is now translatable

= 2.7.7 =
* Internationalization bug fixed.

= 2.7.6 =
* The cron schedule is now fully fixed, thanks to gvvaughan. plus the plugin is now fully internationalized thanks to chestnut_jp.

= 2.7.5 =
* The plugin is now fully internationalized thanks to chestnut_jp! Please send other language po and mo files to [email protected] and i'll include them.
* load_plugin_textdomain is used also. NOTE: due to a bug in buddypress 1.2.6 users will not be able to see their notifications page (see here for a fix http://trac.buddypress.org/changeset/3375)

= 2.7.3 =
* Fixed bug where hidden groups would not have names in digest, added link to view digest queue in back end (add ?sum=1 to your url to see queue)

= 2.7.2 =
* Fixed bug causing wp_cron to misbehave

= 2.7.1 =
* Fixed bug where digests were not fired - the next digest will combine all missed ones.
* Fixed bug where edited topics were removed from digest, added note and link at end of users' notification settings pointing them to place they can edit their group subscriptions

= 2.7 =
* Major re-write to the digest code, implemented caching and drastically sped up processing, other minor changes.
* See (but not send) what is in the digest queue by visiting mydomain.com/sum=1

= 2.6.4 =
* Added 'change email options' link under each group in digest

= 2.6.3 =
* Rewrote the email sending so digest emails are read properly in Outlook.
* Added a link at bottom of digests to go to my groups to edit notification settings.

= 2.6.2 =
* Fixed sneaky bug where people who requested access to a private group were subscribed to default setting.

= 2.6.1 =
* Improves wording of join pull down menu, fix bad follow/mute link.

= 2.6 =
* Allow site admins to set the subscription level for all current users of a group (in manage members)

= 2.5.5 =
* Put back text domain, added more translation hooks

= 2.5.4 =
* Added css class names, fixed duplication in email display when sending New Topics email

= 2.5.2 =
* Fixed class name

= 2.5.1 =
* Fixed silly bug where "th" tag was not showing up in group forum directory to match the extra td tag for follow/mute. sorry for the delay.

= 2.5 =
* Fixed a bug where digest emails were cumulative. fixed bug where editing an item would resend the notification email.
* Added filter hooks to digest section

= 2.4.4 =
* Improved the "Follow this topic" text in New Topic subscription emails so the user knows they won't get replies and gives them instructions if they do.

= 2.4.3 =
* Added ability for group admins to change the subscription settings for users in their group. Added backend options to enable or disable this function.
* Also added backend options to enable group admin override emails.

= 2.4.2 =
* Fixed minor bug about leaving groups your not subscribed to

= 2.4.1 =
* Made daily digests and weekly summaries HTML/Plain text multipart emails

= 2.3.4 =
* Added quotes around topic name in emails and added setting status at bottom of emails

= 2.3.2 =
* Javascript fix for subscribe options. removed beta notice.

= 2.3 =
* Plugin finished and ready for public usage.

= 2.2 =
* Plugin complete re-write finished.
* Digest function added, plus too many features to list here.

= 2.1 =
* Group admins can set default subscription level

= 2.0 =
* Plugin totally re-written by Deryk Wenaus, with new structure and name

= 1.3 =
* Added support for topic-by-topic settings for forum notifications

= 1.2 =
* Tagged stable release.
* Added Boone Gorges as an author.
* Made "do a dance" installation step optional.

= 1.1 =
* Fixed directory rename causing white screen of death.

= 1.0 =
* Initial release.  Please test and provide feedback.  Not recommended for production sites.

buddypress-group-email-subscription's People

Contributors

boonebgorges avatar christianwach avatar dcavins avatar dotsam avatar dwenaus avatar joerglohrer avatar jonathanreeve avatar lenasterg avatar modelm avatar r-a-y avatar sarjona avatar sorich87 avatar therajumandapati avatar x2764tech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

buddypress-group-email-subscription's Issues

Two links in daily digest are not working

Two links in our daily digest emails are not working properly.

Screen shot

The first is the Group Summary link at the start of the email. This one links internally to a Gmail URL which doesn't exist - clicking it has no effect.

The second one is the View link, at the end of each entry. This "view" link always (regardless of the actual location of the resource) looks like this:

http://nrocnetwork.org/community/activity/p//

an address that does not exist, and gives a 404 error.

I've reviewed the code in bp-activity-subscription-digest.php and it seems to be pulling a permalink. My permalink structure is /postname/ which is working fine everywhere else, and I don't have any plugins (that I know of) that mess with permalinks. FWIW, I use CBOX, and the only other email plugin I have is WP SMTP.

Any thoughts on what might be causing this?

Doesn't seem to work with BP 1.7 bleeding

Hi,
Just installed this plugin to test it out with BP 1.7 Bleeding (currently running build 6637) but group email notifications are not being sent out... (ie, new topic in group forum)
Have only tested with the immediate email option at the moment, but presume it's due to code changes in 1.7?
Is this a confirmed issue, and if so, any idea when / if it'll get fixed?

Thanks

bbPress: follow/mute single topic

With bbPress 2.3 the Group Email Subscirption works for each forum, but not for each topic yet. I took a look into the function ass_topic_follow_or_mute_link(), here is only line 1077 referring to the retired BP group forums. I'd suggest to change it this way:
if(function_exists('bbp_get_topic_id')) $topic_id = bbp_get_topic_id(); else $topic_id = bp_get_the_topic_id();
Sure it has to be hooked into bbPress, too. I did it for now directly in my own theme. Klicking the Link now shows "Error" as linktext, but reloading the page shows that it worked.
I'm not sure, why it returns error. Script debugging with firebug shows me that the response is "\nmute" instead of "mute". But before the data "stheid[0]" is "mute". After deactivating and reactivating other plugins it's even worse: response = "\n\nmute". No idea why, I put this twice now in the js: response = response.replace("\n", "");

Digest memory issues

See:
http://wordpress.org/support/topic/dailyweekly-digest-memory-issues


Large arrays are memory-hungry.

Perhaps look into using SplFixedArray:
http://stackoverflow.com/questions/6336528/memory-optimization-in-php-array

The other approach is to omit the following block entirely:

foreach( (array) $user_subscriptions as $us ) {
    $subs = maybe_unserialize( $us->meta_value );
    foreach( (array) $subs as $digest_type => $group_subs ) {
        foreach( (array) $group_subs as $group_id => $sub_ids ) {
            foreach( (array) $sub_ids as $sid ) {
                // note: activity ID is added as the key for performance reasons
                if ( ! isset( $all_activity_items[$sid] ) ) {
                    $all_activity_items[$sid] = 1;
                }
            }
        }
    }
}

And consider saving a pointer to the activity ID after digests are run and a pointer to the activity ID before digest execution begins to avoid the entire block above altogether.

Then for grabbing the activity items, we use something like:

SELECT blah WHERE id BETWEEN {$id_at_beginning_of_digest} AND {$id_before_digest_execution}

Note: This only solves a portion of the digest memory problems.

Digest filters

See:
http://wordpress.org/support/topic/plugin-buddypress-group-email-subscription-add-apply_filter-to-item-content

Apparently, there is a backslash problem that could be fixed by using stripslashes().

Might be a good time to overhaul ass_digest_filter() to use apply_filters() so plugin devs can manipulate the digest content.

Quick fix would be to do something like this:
function ass_digest_filter( $item ) { $item = wptexturize( $item ); $item = convert_chars( $item ); return apply_filters( 'ass_digest_filter', $item ); }

The alternative is to switch out all references to ass_digest_filter( $content ) to apply_filters( 'ass_digest_filter', $content ); and get rid of ass_digest_filter() altogether.

HTML templating, WP Better email plugin and Subscription digest

Hi Boone,
Is it possible to override HTML subscription digest and integrate it in the WP Better emails plugin's template?
Do i have to modify the function 'ass_send_multipart_email()'
in bp-activity-subscription-digest.php ?

If not, how can i hook the function 'ass_digest_format_item()' to use my own responsive html template?

Thanks for your answer.

groups root slug

Could you please change in bp-activity-subscription-digest.php line 238

$group_permalink = $bp->root_domain.'/'.$bp->groups->slug.'/'.$group_slug. '/';

into

$group_permalink = $bp->root_domain.'/'.bp_get_groups_root_slug().'/'.$group_slug. '/';

in your next update?

Provide the Placement of ass_group_subscribe_button through Plugin Settings/Options

Hello,

Wanted to provide some feedback and a feature request, I noticed that the inclusion of the group subscribe button within the groups listing is a commented out feature as I indicated in issue #74.

Rather than force a code change to enable it meaning next plugin update it'll revert I was hoping the placement of the ass_group_subscribe_button could be a setting, potentially three checkboxes to indicate where it should be included and have these settings control the add_actions.

Thanks

Email status of users is not being reported correctly under BP -> Group Management

Hi,

For some reason the email status for my users under BP -> Group Management is not being reported correctly. For every user it states "No Email" even though all users either receive a Daily Digest or All Email. Changing the settings for a user under the 'Group Management' admin area doesn't make any difference to the status reported. Here's a screenshot to illustrate what I am seeing:

Screen Shot 2013-04-26 at 11 48 20

This was working fine, but now is not, and I would be grateful for any advice as to how to fix it.

Thanks,

Nick

Can replies to/comments on updates in activity streams be included in digests?

Well, the title says it all really. Most users on my site seem to be taking to posting updates in the activity stream, rather than posting topics on the forums, and while updates are included in the daily digests, comments on/replies to updates aren't included, which means that users aren't getting pulled back to conversations on the site from their daily digests.

Would it be possible to include this?

Thanks,

Nick

Only 1 Group

For some reason, I only seem to be getting digests generated for one group. I keep checking myurl/?sum=1 and when I add an activity or forum reply in one group, it appears. When I do the same in other groups, nothing appears to be getting collected. Any ideas? I have just updated to the latest files available here on the site (which fixed the forum topic replies issue).

Error: The actual loaded translation content does not match the textdomain: bp-ass

I've been getting errors while trying to add custom translations for buddypress-group-email-subscription. My translation doesn't seem to take effect in /wp-content/languages/buddypress-group-email-subscription, or in /wp-content/languages/bp-ass. (I describe more of the details of my attempts on this Stack Exchange question.) When I use the plugin Codestyling Localization in conjunction with Codestyling Localization Preserver (not my preferred method of translating, but a common one, and has built-in error checking), it complains "Error: The actual loaded translation content does not match the textdomain: bp-ass" as in the screenshot below:

selection_474

Could this have something to do with the discrepancy between the namespaces buddypress-group-email-subscription and bp-ass? It's also possible I'm doing something wrong here in trying to add this translations file.

Subscription buttons do no action on click

I have wordpress 4.2.1, buddypress 2.2.3.1 and bbpress 2.3.7 (fresh updated today). buddypress, bbpress and group email plugin are the only active plugins (all other inactive).

After activation of your g-e-p I do see new buttons in buddypress groups like this:

layout broken

but they do not see to do anything on clik and the layout seems also broken. I'm not sure how to describe the error any further. Can you point me at a direction as for what would help you diagnose the error?

Thanks.

Daily digests no longer working properly

I have been using this plugin for some time now and the daily digests have been working fine, but now for some inexplicable reason they are not. Here is an example of what I am seeing in the digest emails:

Screen Shot 2013-03-04 at 22 42 12

i.e. none of the actual content of the items in the digest are getting added, and the name of the groups aren't present. Also the links that are in place aren't working properly. I'm not aware of having added any new plugins, so I'm not sure what is causing this issue and would be glad of some help with troubleshooting it.

Thanks,

Nick

"Undefined index" errors when assembling digest

From an email (in machine-translated English and original French). The user guesses that the guillemet character is causing a string to be truncated improperly. I can't see at a glance how this would work, but it needs some sort of investigation.

I think I found a bug with buddypress-group-email-subscription which you are one of the authors.

I had problems with access to our website and in the logs I found:
[01-Jul-2014 14:24:41 UTC] PHP Warning: current() expects parameter 1 to be array, boolean given in /srv/data/web/vhosts../wp-includes/plugin.php on line 46819:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67
[01-Jul-2014 15:19:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67

In this case I think this is a string in a bbPress forum a BuddyPress group that problematic site is perhaps the type of quote '"'
I searched the word "anciens" in the files and database. I found several but it could be a problem:
[...\nToutes les commissions sont invitées, et même les "anciens" du projet.\nC'est lundi 21C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options)
J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-) juillet, 19h au Parc tête d'or (Porte des Enfants du Rhône, cf plan ici: https://www.dropbox.com/s/t1fvm5m4l...).\nM'appeler ...]
The file is ISO-8859-1 but I do not think it changes anything

Other error messages:
[02-Jul-2014 09:32:09 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182
[02-Jul-2014 22:00:15 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options)
J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)
[02-Jul-2014 22:07:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182
[02-Jul-2014 22:10:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-actiOther error messages:vity-subscription-functions.php on line 1182
[03-Jul-2014 07:41:47 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options)
J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)
[03-Jul-2014 12:22:52 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182

This may be because it is an old plugin (which still has the old menu? .. Wp-admin/admin.php page = ass_admin_options)
I hope it will be inserted into the heart of BP because for me the notification is inseparable from a social network :-)

Regards


Bonjour,
Je me permets de te contacter puisque tu es membre de ce forum. Je ne parle pas bien anglais et j'ai du mal avec le système de gestion de bugs.
J'ai traduis comme j'ai pu avec un système en ligne

Je crois avoir trouvé un bug avec buddypress-group-email-subscription dont tu es un des auteurs.

J'ai eu des problèmes d'accès a notre site et dans les logs j'ai trouvé :
[01-Jul-2014 14:24:41 UTC] C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options)
J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)PHP Warning: current() expects parameter 1 to be array, boolean given in /srv/data/web/vhosts../wp-includes/plugin.php on line 46819:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67
[01-Jul-2014 15:19:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67

Dans ce cas je crois que c'est une chaîne de caractère dans un forum bbPress d'un groupe buddyPress qui a poser problème au site c'est peut-être le type de guillemet '"'

J'ai regardé et cherché le mot "anciens" dans les fichiers et la base de donnée. J'en ai trouvé plusieurs mais ceci pourait poser problème:
giner la suite tous ensemble.\nToutes les commissions sont invitées, et même les "anciens" du projet.\nC'est lundi 21 juillet, 19h au Parc tête d'or (Porte des Enfants du Rhône, cf plan ici: https://www.dropbox.com/s/t1fvm5m4l...).\nM\'appeler
Le fichier est en ISO-8859-1 mais je neBonjour,
Je me permets de te contacter puisque tu es membre de ce forum. Je ne parle pas bien anglais et j'ai du mal avec le système de gestion de bugs.
J'ai traduis comme j'ai pu avec un système en ligne

Je crois avoir trouvé un bug avec buddypress-group-email-subscription dont tu es un des auteurs.

J'ai eu des problèmes d'accC'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options)
J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)ès a notre site et dans les logs j'ai trouvé :
[01-Jul-2014 14:24:41 UTC] PHP Warning: current() expects parameter 1 to be array, boolean given in /srv/data/web/vhosts../wp-includes/plugin.php on line 46819:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67
[01-Jul-2014 15:19:52 UTC] PHP Parse error: syntax error, unexpected ‘anciens’ (T_STRING) in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-digest.php(524) : runtime-created function on line 67

Dans ce cas je crois que c'est une chaîne de caractère dans un forum bbPress d'un groupe buddyPress qui a poser problème au site c'est peut-être le type de guillemet '"'

J'ai regardé et cherché le mot "anciens" dans les fichiers et la base de donnée. J'en ai trouvé plusieurs mais ceci pourait poser problème:
giner la suite tous ensemble.\nToutes les commissions sont invitées, et même les "anciens" du projet.\nC'est lundi 21 juillet, 19h au Parc tête d'or (Porte des Enfants du Rhône, cf plan ici: https://www.dropbox.com/s/t1fvm5m4l...).\nM\'appeler
Le fichier est en ISO-8859-1 mais je ne pense pas que cela change quelque chose
Autres messages d'erreurs :
[02-Jul-2014 09:32:09 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182
[02-Jul-2014 22:00:15 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182
[02-Jul-2014 22:07:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182
[02-Jul-2014 22:10:49 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182
[03-Jul-2014 07:41:47 UTCC'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options)
J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182
[03-Jul-2014 12:22:52 UTC] PHP Warning: Missing argument 4 for ass_bbp_disable_email() in /srv/data/web/vhosts/../htdocs/wp-content/plugins/buddypress-group-email-subscription/bp-activity-subscription-functions.php on line 1182

C'est peut-être parce que c'est un ancien plugin (qui a encore l'ancien menu : ..wp-admin/admin.php?page=ass_admin_options)
J'espère qu'il sera insérer dans le coeur de BP car pour moi la notification est indissociable d'un réseau social :-)

new feature: change email status without having to log in

let's say someone is receiving emails via our plugin, but they can't seem to log in, they will continue to receive those emails and have no way to cancel them. It would be nice if we could add a way for people to change their subscription level via a link in the email, and secure it using a generated hash thingamajiggy, so they can unsubscribe, or increase their subscription with one click. Anyone interested...? R-a-y? :)

Is there a kickstarter type system for open source project where the community can choose to fund this type of development depending on their own needs? CiviCRM does this, and it seems to work. Having this for all WP plugins would be awesome.

Enable subscribe actions in Groups List

Hello,

Was wondering how I can enable the functionality within the groups listing?
I would like to have users be able to control their subscriptions from their groups listing.

Thanks

Handling deletions from the activity stream in digests

What I am seeing is that when items are deleted from the activity stream, they are removed from the digest, but the number of items reported for each group in the digest doesn't change to reflect this, i.e. the number in brackets after the name of the group doesn't match the number of items actually in the digest. This is confusing for users, and I wonder if there is a fix for this.

Thanks,

Nick

Email status change links not clickable

Greetings,

I just installed this plugin and overall its working like a charm except for one issue with the email status editing function in the groups. The links to make changes (either as an individual trying to change, or an admin) simply get covered with a gray box and are not clickable. The only way to edit is to dig all the way into the group settings. Any ideas on why this might happen?

image

Can we convert digests to use wp_mail()?

@dwenaus - Hey Deryk. I've seen a couple bug reports like this http://wordpress.org/support/topic/plugin-buddypress-group-email-subscription-how-emails-are-sent?replies=4 that, because digests are sent using ass_send_multipart_email() instead of wp_mail(), custom mail plugins that do stuff like sending through SMTP are not working for digests.

Do you recall the reason for switching away from wp_mail()? The inline docs say:

// formats and sends a MIME multipart email with both HTML and plaintext using PHPMailer to get better control

I did a quick side-by-side comparison of our function and wp_mail() and it looks like it should be possible to make all the necessary modifications by hooking into 'phpmailer_init' and modifying the $phpmailer global, but it's very possible that I missed something.

Before I have a shot at testing this, I thought I'd see if you had any wisdom. Thanks!

Emails not being sent but queue is successfully cleared.

Hello,

I ran into an issue where these options below do not send out emails.

4.) New Topics Email - Send new topics as they arrive (but don't send replies)
5.) All Email - Send all group activity as it arrives

The daily/weekly digests are still being mailed out. But not the "instant" emails. I tried deactivating and reactivating the plugin again as suggested in #60. I have inherited this site so I don't know much of the history and when exactly this issue started. But I can provide as much info as I can.

I am running a multi-site installation with the following...
WP v4.0
BuddyPress v2.1.1
GES v3.4

This was working but has recently stopped and I cannot figure out why. Any suggestions are very welcome!

Many thanks,
-Tim

little language improvements

The syntax of "Follow"..."this topic" / "Mute"..."this topic" doesn't work well with some languages like German. Would it be possible to change it to complete strings:
"Follow this topic" / "Mute this topic"
on line 762 and 766 (and delete "this topic" in 777, 780) of bp-activity-subscription-functions.php ?

And another question: Do you think it would be possible to add something personal like a "Hello Username" into the group email (sent by admin)?

Thank you!

Uncaught TypeError: undefined is not a function in bp-activity-subscription-js.js (resolved)

Hi,
there is an issue with bp-activity-subscription-js.js
The console error was : "Uncaught TypeError: undefined is not a function" (near line 45)
The error was preventing other js code to be executed (i'm on latest version of WP & BP with the awesome lastest version of roots.io theme).
I have find how the resolve the problem :

everywhere you've a "click" function like here:
j(".group-sub").live("click", function() {

replace the line with this method :
j(".group-sub").on('click', function() {

on now it works again ! ;-)

so the entire valid code for is bp-activity-subscription-js.js :
// ----------------------------------------------------------------------------
jQuery(document).ready( function() {
var j = jQuery;

// topic follow/mute
j(".ass-topic-subscribe > a").click( function() {
    it = j(this);
    var theid = j(this).attr('id');
    var stheid = theid.split('-');

    //j('.pagination .ajax-loader').toggle();

    var data = {
        action: 'ass_ajax',
        a: stheid[0],
        topic_id: stheid[1],
        group_id: stheid[2]
        //,_ajax_nonce: stheid[2]
    };

    // TODO: add ajax code to give status feedback that will fade out

    j.post( ajaxurl, data, function( response ) {
        if ( response == 'follow' ) {
            var m = bp_ass.mute;
            theid = theid.replace( 'follow', 'mute' );
        } else if ( response == 'mute' ) {
            var m = bp_ass.follow;
            theid = theid.replace( 'mute', 'follow' );
        } else {
            var m = bp_ass.error;
        }

        j(it).html(m);
        j(it).attr('id', theid);
        j(it).attr('title', '');

        //j('.pagination .ajax-loader').toggle();

    });
});

// group subscription options
//j(".group-sub").live("click", function() {
j(".group-sub").on('click', function() {
    it = j(this);
    var theid = j(this).attr('id');
    var stheid = theid.split('-');
    group_id = stheid[1];
    current = j( '#gsubstat-'+group_id ).html();
    j('#gsubajaxload-'+group_id).toggle();

    var data = {
        action: 'ass_group_ajax',
        a: stheid[0],
        group_id: stheid[1]
        //,_ajax_nonce: stheid[2]
    };

    j.post( ajaxurl, data, function( response ) {
        status = j(it).html();
        if ( !current || current == 'No Email' ) {
            j( '#gsublink-'+group_id ).html('change');
            //status = status + ' / ';
        }
        j( '#gsubstat-'+group_id ).html( status ); //add .animate({opacity: 1.0}, 2000) to slow things down for testing
        j( '#gsubstat-'+group_id ).addClass( 'gemail_icon' );
        j( '#gsubopt-'+group_id ).slideToggle('fast');
        j( '#gsubajaxload-'+group_id ).toggle();
    });

});

//j('.group-subscription-options-link').live("click", function() {
j('.group-subscription-options-link').on('click', function() {
    stheid = j(this).attr('id').split('-');
    group_id = stheid[1];
    j( '#gsubopt-'+group_id ).slideToggle('fast');
});

//j('.group-subscription-close').live("click", function() {
j('.group-subscription-close').on('click', function() {
    stheid = j(this).attr('id').split('-');
    group_id = stheid[1];
    j( '#gsubopt-'+group_id ).slideToggle('fast');
});

//j('.ass-settings-advanced-link').click( function() {
//  j( '.ass-settings-advanced' ).slideToggle('fast');
//});

j('.group-subscription-options').hide();

// Toggle welcome email fields on group email options page
j('#ass-welcome-email-enabled').change(function() {
    if ( j(this).prop('checked') ) {
        j('.ass-welcome-email-field').show();
    } else {
        j('.ass-welcome-email-field').hide();
    }
});

});

bbPress 2: Add older bundled forum notifications support

GES has a couple of advanced features for the older legacy forums such as those options listed under a user's "Settings > Notifications > Group Forum".

The options that do not work specifically are:

  • Replies in a forum topic you've started
  • Replies after you in a forum topic

(Commit 467c4ce disabled these options for now.)

We should look into implementing these options to bring bbPress 2 up to feature parity.

allow default default subscription levels other than "no email"

If I want to change the default default subscription level (the pre-selected subscription level that group admins see when they have the option to change their group's default subscription level), I can filter ass_default_subscription_level, but that only solves half of the problem, since ass_save_default_subscription() actually removes the groupmeta field when it gets the "no email" choice, because it assumes that "no email" will always be the default. So if I have the default default subscription level set to "daily digest," and then I try to set the default subscription level to "no email" in a group admin panel, it won't save my preference--it always reverts to "daily digest."

An easy solution is to remove the checks for $postval = 'no' in this line and this line. I'll submit a pull request if it would be of use.

code for consideration (performance improvement)

Some time ago the plugin stopped sending emails (also preview wasn't showing up). We send about 5000 emails (we have 500+ groups).
After an investigation I found that in_array was causing fatal error (time out) so I changed it. It seems to be faster and work fine (about 6 months) on our website. I hope it could be useful for others.

file: bp-activity-subscription-digest.php
function ass_digest_fire( $type )

now it's:

if ( !in_array( $sid, $all_activity_items ) ) {
$all_activity_items[] = $sid;
};

my version:

foreach ($all_activity_items as $key => $value) {
if($sid == $value){
$all_activity_items[] = $sid;
}
}

Weekly summary items not recording

https://wordpress.org/support/topic/weekly-digest-not-sending

Confirmed. Looking into it.

Update - Looks like weekly summary items are only recorded if that item is "important":
https://github.com/boonebgorges/buddypress-group-email-subscription/blob/master/bp-activity-subscription-functions.php#L452
https://github.com/boonebgorges/buddypress-group-email-subscription/blob/master/bp-activity-subscription-functions.php#L527

Important items include wiki entries and calendar events. I think we should widen the scope of this. Pull request forthcoming.

Changing Email Status in Group Member Admin Not working

Admins of a group can no longer change the email notification status of individual emails in Group Member Admin. This worked before BP 1.5.1

example.com/groups/group_name/admin/manage-members

When Admin Clicks on a new status, for example, to change status from No Email to Email, the URL changes to:
example.com/groups/group_name/admin/manage-members/email/supersub/119?_wpnonce=922088b871

But, the status does not change.

BP 1.5.1 / plugin version 2.9.7

Email links are mangled when activity is spawned by cron or AJAX

When an activity item is created as part of a cron event (or, in some cases, an asynchronous request), there is no $bp->groups->current_group set; as a result, some of the code that concatenates group links fails. That code should be modified so that it calls up a group object from the activity item_id, and then uses that object to create links.

Forum topics and replies only getting added to Daily Digest emails for one user

I currently have 12 users on my site, signed up to various public groups, and all are signed up to receive daily digests.  For some reason new posts and replies on the forums (for all groups I have tested) are only getting added to the digest for one user.  New updates on the activity stream, new docs, and new tasks are getting added for all users however.  I am not sure if this is a bug, or a quirk on my set up, and I'm pretty sure it was working OK before.  Perhaps it's related to the recent update of this plugin, perhaps not.  I have tried deactivating and activating the plugin again, with no success.

URL Issue with "To view or reply, log in and go to:" on email notifications - Windows

I've noticed several times that the link is not working after the words "To view or reply, log in and go to:" on group email notifications. I just get the url text for the link.

I am testing with Windows 7, using Outlook - On Mac, I haven't seen this happening.

URL definitely works most of the time, but it's happened to me at least three times now. I think I am clicking the link to the forum post, while actually I unsubscribe to the forum (since there is no active link to the post and the unsubscribe link is directly below it.)

Escaping characters

When the digests go out, I see the escape characters within the email for apostrophes:

Example: Someone said there's a new post.

Edit the template for mail

Hi @boonebgorges ,

There are two things which i want to ask.

  1. I want to edit the mail template. Is it possible to do so and also,

  2. There is some where user gets option to change the email preference.
    changeerror

When i click on "change", nothing happens and in the link it shows "javascript:void(0)".
changeerror1

Any idea what is the reason for that.

Thanks in advance

Consider moving email sending to the 'shutdown' hook

For members who are subscribed to anything but a digest, GES currently sends emails as soon as the forum post is recorded.

This can slow down the performance of the server when posting especially when there are a lot of members subscribed to a topic or group.

Perhaps we should look at moving this to the 'shutdown' hook or use wp_remote_post() to spawn a new process to send the emails?

Sending emails/digests in batches

Was wondering if it is possible to send notification emails/digests in batches? I'm hosting my site at a shared server and they have a limit of 500 emails per hour. There were a couple of times where I exceeded the limit, as my buddypress site has >500 users. Is there a way to add such functionality? I couldnt use the plugin anymore. Thanks and keep up the great work!

Add filters to all subject lines

Right now, the [SITE NAME] is suffixed to the end of each subject line.
Would be better if it was like WordPress emails with the sitename prefixed instead.

But, in the meantime, I'll suggest filters for them.

A pull request will be coming soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.