Plugin: BuddyPress Group Email Subscription

Join this plugin group to follow comments, support topics and reviews.

Plugin should respect custom slugs (4 posts)

Started 1 year, 1 month ago by: Luciano Passuello

  • Profile picture of Luciano Passuello Luciano Passuello said 1 year, 1 month ago:

    Hi, first of all, congratulations for such a great plugin!

    The plugin sometimes hardcode slugs that are user-customizable. There are at least two instances to be fixed (didn’t check all the code):

    In bp-activity-subscription-functions.php, line 407, should be changed to:

    <p class="ass-sub-note"><?php _e('Note: Normally, you receive email notifications for topics you start or comment on. This can be changed at', 'bp-ass'); ?> <a href="<?php echo $bp->loggedin_user->domain . trailingslashit( BP_SETTINGS_SLUG ) . 'notifications/' ?>"><?php _e('email notifications', 'bp-ass'); ?></a>.</p>

    and on line 968 to

    echo '<p>' . sprintf( __('To change the email notification settings for your groups go to %s and click change for each group.','bp-ass') . '</p>', '<a href="'. bp_loggedin_user_domain() . trailingslashit( BP_GROUPS_SLUG ) . '">'.__('My Groups','bp-ass') .'</a>' );

    Hope this is useful!

  • Profile picture of Dwenaus Dwenaus said 1 year, 1 month ago:

    thanks, this is helpful. I’ll change it in the next version.

  • Profile picture of Dwenaus Dwenaus said 1 year ago:

    i’ve made these changes

  • Profile picture of Luciano Passuello Luciano Passuello said 1 year ago:

    Thanks @dwenaus! Just tested and it’s working fine now!