Skip to content


Group Forum Subscription v1.4

If you use Group Forum Subscription for BuddyPress, you should upgrade to the most recent version, 1.4, released today. This version fixes a bunch of bugs, including one important bug that causes automatic subscription to fail for some members of large groups.

As always, if you have any issues with the plugin, please let me know. I plan to include some big new features for the next release, so stay tuned.

EDIT: I almost forgot to mention that this release also marks the inclusion of several new translations. Many, many thanks to those who have translated this plugin:

  • German: Markus Schubert
  • French: Daniel H
  • Italian: Luca Camellini
  • Russian: slaFFik
  • Spanish: Admin at dominicana.net.do
  • Traditional Chinese: Levin

Posted in Plugins and Extensions.

Tagged with , , , , .


25 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. antonrsa says

    Great plugin. When the notification email is sent, it is sent with html tags eg

    A new message has been posted in the group “blah blah”.
    Author: tes test

    content of message

    Anything I can change in the code so that it doesn’t send html tags in the email message?

  2. Avatar of Boone Gorges Boone Gorges says

    Hi Anton,

    Ha ha – this is only happening because you’re using the TInyMCE plugin too!

    Try the following. In the function gfs_send_email_notification(), right after the $text variable is defined, run it through the kses filter:
    $text = wp_filter_nohtml_kses( $text );

    I think that should work, though there’s a chance that it might wreak some havoc with line breaks when text is pasted into the TinyMCE box and then emailed through the plugin. It’s a problem I had to solve here on the CUNY Academic Commons, but I’m away from my work computer for the next few days so I can’t look at exactly what the solution was. Let me know how this fix works for you.

    (BTW it will be fixed in either the next version of GFS, or of TinyMCE, or likely a bit of both through the use of proper hooks.)

  3. antonrsa says

    Thanks for the reply Boone. I will test it over the weekend when the site is a bit quieter and let you know by Monday. Thanks for the help

  4. LMarchese says

    I’m using your plugin yet my notifications stopped. I’m the administrator of all groups and yet receive no notifications from the group forums whatsoever. I’ve checked my notifications settings, etc. yet cannot see why. What do you suggest?

  5. Carlos says

    Great plugin, but it seems when enabeld (1.4, running BP 1.1.3), I cannot save changes to notification settings! Eeep.

    I went and de-activated each plugin, isolating the problem to yours.

    Thanks!

  6. Avatar of Boone Gorges Boone Gorges says

    Hi Carlos – What do you mean that you can’t save the settings? When you click the save button, does the screen refresh and show the old settings unchanged? Or does the button stop working? Or do you get an error message?

  7. Carlos says

    Hi Boone —

    No errors, I make a change, save the change, page refreshes as normal — change isnt saved.

  8. Carlos says

    I’m sorry, I lied. When I save the changes, the page takes me back to the home page of the overall site (you can see it at my ‘web’ field below… gearspace dot org ) When i return to the notifications page, no changes have been saved.

  9. Avatar of Boone Gorges Boone Gorges says

    Hi Carlos,

    I finally had a chance to dig in and look at this, and it looks like you found a genuine bug! The way that those settings screens are created appears to have changed sometime recently, and the way that the plugin was originally coded worked well enough to show the menu but not to save the settings. I’ll have to figure out how to fix the problem in the plugin repository – I don’t just want to implement this fix in case it breaks backward compatibility for people using older versions of BP – but you can do the following in order to fix it as long as you’re running BP 1.1.3.

    In bp-group-forum-subscription.php, find the function gfs_bp_core_add_settings_nav. Replace it with the following:
    function gfs_bp_core_add_settings_nav() {
    global $bp;

    if ( !function_exists ( 'bp_core_new_nav_item' ) ) { // For BP loggedin_user->domain . 'settings/', 'bp_core_screen_general_settings', false, bp_is_home() );
    bp_core_add_subnav_item( 'settings', 'notifications', __('Notifications', 'buddypress'), $bp->loggedin_user->domain . 'settings/', 'gfs_bp_core_screen_notification_settings', false, bp_is_home() );

    if ( !is_site_admin() )
    bp_core_add_subnav_item( 'settings', 'delete-account', __('Delete Account', 'buddypress'), $bp->loggedin_user->domain . 'settings/', 'bp_core_screen_delete_account', false, bp_is_home() );

    } else {

    /* Add the settings navigation item */
    $bp->settings->id = 'settings';
    $bp->settings->slug = BP_SETTINGS_SLUG;

    /* Register this in the active components array */
    $bp->active_components[$bp->settings->slug] = $bp->settings->id;

    /* Add the settings navigation item */
    bp_core_new_nav_item( array( 'name' => __('Settings', 'buddypress'), 'slug' => $bp->settings->slug, 'position' => 100, 'show_for_displayed_user' => false, 'screen_function' => 'bp_core_screen_general_settings', 'default_subnav_slug' => 'general' ) );

    $settings_link = $bp->loggedin_user->domain . BP_SETTINGS_SLUG . '/';

    bp_core_new_subnav_item( array( 'name' => __( 'General', 'buddypress' ), 'slug' => 'general', 'parent_url' => $settings_link, 'parent_slug' => $bp->settings->slug, 'screen_function' => 'bp_core_screen_general_settings', 'position' => 10, 'user_has_access' => bp_is_home() ) );
    bp_core_new_subnav_item( array( 'name' => __( 'Notifications', 'buddypress' ), 'slug' => 'notifications', 'parent_url' => $settings_link, 'parent_slug' => $bp->settings->slug, 'screen_function' => 'gfs_bp_core_screen_notification_settings', 'position' => 20, 'user_has_access' => bp_is_home() ) );

    if ( !is_site_admin() && !(int) get_site_option( 'bp-disable-account-deletion' ) )
    bp_core_new_subnav_item( array( 'name' => __( 'Delete Account', 'buddypress' ), 'slug' => 'delete-account', 'parent_url' => $settings_link, 'parent_slug' => $bp->settings->slug, 'screen_function' => 'bp_core_screen_delete_account', 'position' => 90, 'user_has_access' => bp_is_home() ) );
    }
    }

    Let me know if this works for you, and thanks for letting me know about the problem!

  10. Carlos says

    Looks great, and the settings save.

    Thanks, and keep up the great work!

  11. Shane says

    I operate a bbpress forum, and followed the included instructions for installing in a bbpress environment. However, there’s no addition to the bbpress administration Dashboard. Is it possible to correct this?

    Thanks,
    Shane

  12. Avatar of Boone Gorges Boone Gorges says

    Hi Shane,

    This plugin will only work with BuddyPress and its integrated version of bbPress. If you’re using bbPress by itself, you’ll have to get a different plugin. I suggest this one, from which I borrowed a little bit of code for Group Forum Subscription: http://bbpress.org/forums/topic/email-notification

  13. Deryk says

    HI, a little bug here. In the latest RC2 with this plugin installed, going to My Account -> Settings -> Notifications fails. you just end up at the home page.
    thanks for the great plugin :)

  14. Avatar of Boone Gorges Boone Gorges says

    Deryk, you’re way ahead of the game! I haven’t even looked at this plugin with 1.2 yet.

    Are you using the new bp-default, or bp-classic, or something else?

  15. Deryk says

    I’m using BuddyPress Default 1.2-rc theme.
    There are still some big issues with BP 1.2 rc so maybe wait until they sort them out. But it could be your plugin too.

  16. Avatar of Boone Gorges Boone Gorges says

    It’s probably my plugin’s fault. It has to do with the way with 1.2 templates work or something. I’ll have a look soon.

  17. Sawyer says

    Any solution to Deryk’s issue with it redirecting to the home page? Would love to use this plugin.

    Thanks!

  18. Sawyer says

    There redirection error can be solve by commenting out these three lines:

    remove_action( ‘wp’, ‘bp_core_add_settings_nav’, 2 );
    remove_action( ‘admin_menu’, ‘bp_core_add_settings_nav’, 2 );
    add_action( ‘wp’, ‘gfs_bp_core_add_settings_nav’, 2 );

    Is there anyway to disable the automatic subscription of a user to new group posts when they are not in that discussion? Kind of spammy.

  19. Avatar of Boone Gorges Boone Gorges says

    Hi Sawyer. The solution is to use a different plugin :)

    I’m ending support on this plugin (for users on BP 1.2+) and suggesting this plugin instead, which does all the same stuff and more: http://wordpress.org/extend/plugins/buddypress-group-activity-stream-subscription/

  20. Sawyer says

    I was afraid you’d say that. That one actually breaks on my website. I posted a help post on their website explaining the problem it causes on mine: http://namoo.co.uk/groups/group-activity-email-notifications-plugin/forum/topic/need-help/

  21. Avatar of Boone Gorges Boone Gorges says

    Yipes! I responded to your question on namoo.co.uk – have a look there.

  22. AntonRSA says

    I’ve upgraded to your latest version but it seems to send out 3 emails every time. 2 only with the words and a link that theirs a new reply and the 3rd with the full content.

  23. AntonRSA says

    Sorry, only read that you re discontinuing the support on this plugin. I will give the other one a go

  24. Jettochkin says

    Hi!
    Great plugin, but there is a significant problem: 15 users, 15 groups .. click submit, – get 55 connections to the database!

  25. Avatar of Boone Gorges Boone Gorges says

    Jettochkin – Yeah, it’s not very efficient. For up-to-date versions of BP (1.2+), use http://wordpress.org/extend/plugins/buddypress-group-email-subscription/ instead, which is a bit more optimized in terms of database calls.



Some HTML is OK

or, reply to this post via trackback.

Additional comments powered by BackType