Skip to:
Content
Pages
Categories
Search
Top
Bottom

how hide whats news bar for members


  • alexdex
    Participant

    @alexdex

    Hi, i would like to know how hide the whats news text bar inside the group and activity for all the members, i need that only moderator or admin can write the news, it is possible?
    Thanks a lot

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

  • ckchaudhary
    Participant

    @ckchaudhary

    Hi there,
    You’ll need a bit of coding to achieve this.
    You can override the template files activity/index.php and groups/single/activity.php. And in those files, you can roll out your own filters to conditionally load actiivty-post-form template.

    e.g: instead of if ( is_user_logged_in() && bp_group_is_member() ) , you can use if ( is_user_logged_in() && bp_group_is_member() && bp_group_is_admin() )

    That should get you started in right direction.


    alexdex
    Participant

    @alexdex

    Thamks a lot

    GREAT


    danbp
    Participant

    @danbp

    Other related topics:

    restrict by user role

    Status

    restrict by member_type

    Status

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar