Skip to:
Content
Pages
Categories
Search
Top
Bottom

Groups promoted admin is not able to delete the activity reply.


  • Kiran@Caret
    Participant

    @kirancaret

    Hi, I have promoted a member as admin of the group.The promoted admin can delete the activity, but not able to delete the activity reply inside the group.

    I have disabled every plugin and re-installed the buddypress 1.6.4 and using wordpress 3.5.1, using default buddypress theme.

    How can i solve this issue, is that a core buddypress bug!! Any suggestion would be very helpful.

    Thank you.

Viewing 1 replies (of 1 total)

  • Kiran@Caret
    Participant

    @kirancaret

    Hey all anyone who face this similiar problem, made a core change in buddypress to delete the activity comment as an admin.Which i know its not correct way deal with, but just a quick hack.

    File name : ajax.php
    Path: plugins\buddypress\bp-themes\bp-default\_inc\ajax.php
    Line number: 405
    Description: To give the capability to promoted admin of community, for deleting the activity comment.

    Original code
    ——————
    // Check access
    if ( ! bp_current_user_can( ‘bp_moderate’ ) && $comment->user_id != bp_loggedin_user_id() )
    exit( ‘-1’ );

    Change code
    ——————-

    // Check access
    /* if ( ! bp_current_user_can( ‘bp_moderate’ ) && $comment->user_id != bp_loggedin_user_id() )
    exit( ‘-1’ );
    */

Viewing 1 replies (of 1 total)
  • The topic ‘Groups promoted admin is not able to delete the activity reply.’ is closed to new replies.
Skip to toolbar