Skip to:
Content
Pages
Categories
Search
Top
Bottom

bug with Group : Promote to Mod | Promote to Admin notifications


  • gwu123
    Participant

    @gwu123

    Do the notifications with Promote to Mod | Promote to Admin in a group work for anyone?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

  • paulhastings0
    Participant

    @paulhastings0

    I’m not sure if I totally understand your question. Could you be a little more specific?


    gwu123
    Participant

    @gwu123

    when a user is promoted as group admin or moderator, no email notification is sent. I tried this on bptest.org.
    I check the notification settings and everything is set to “yes”.

    anyone got this same issue? or is there a bug reported?


    staurand
    Member

    @staurand

    Same issue here with BuddyPress 1.2.9 & WP 3.2.1

    The problem seems to come from this file :
    /buddypress/bp-groups.php
    which calls
    do_action( 'groups_promoted_member', $user_id, $bp->groups->current_group->id );

    before the file below is included
    /buddypress/bp-groups/bp-groups-notifications.php
    that should add the action to add the notification:
    add_action( 'groups_promoted_member', 'groups_notification_promoted_member', 10, 2 );

    Quick fix:

    function addGroupNotificationFile($user_id, $group_id)
    {
    require_once ( BP_PLUGIN_DIR . '/bp-groups/bp-groups-notifications.php' );
    }
    add_action('groups_promoted_member', 'addGroupNotificationFile', 100, 2);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘bug with Group : Promote to Mod | Promote to Admin notifications’ is closed to new replies.
Skip to toolbar