Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to disable Group Activity updates?

  • Avatar of ultimateuser
    ultimateuser
    Participant

    @ultimateuser

    As there is already a Forum I do not see the need for members to give updates as on the Home tab of a group. This is confusing.

    Does anyone know an easy way on how to disable this option in the latest version of BP?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    If your BP theme or bp-default child theme doesn’t have one yet, copy over http://buddypress.trac.wordpress.org/browser/tags/1.5.3.1/bp-themes/bp-default/groups/single/activity.php to your theme folder following the directory structure, i.e. yourthemefolder/groups/single/

    Open up activity.php file and delete the following lines:
    `

    `

    Save.

    Avatar of ultimateuser
    ultimateuser
    Participant

    @ultimateuser

    Hi @mercime,

    I’m trying to this again but on another blog. I can’t see the code in your previous post.

    Could you repost the code I need to delete?

    Thank you

    Avatar of shanebpdev
    shanebp
    Participant

    @shanebp

    change this:

    <?php bp_get_template_part( 'activity/post-form' ); ?>

    to this:

    <?php //bp_get_template_part( 'activity/post-form' ); ?>

    or just delete this:

    <?php if ( is_user_logged_in() && bp_group_is_member() ) : ?>
    
    	<?php bp_get_template_part( 'activity/post-form' ); ?>
    
    <?php endif; ?>
    Avatar of ultimateuser
    ultimateuser
    Participant

    @ultimateuser

    @shanebp Thank you.

    I could not find the first code but by delete the second code it work.

    However on the Activity page in the status update I can still select a group in the Post in dropdown…

    Avatar of Bülent Sakarya
    sakarya
    Participant

    @sakarya

    Hi..

    I’m using default theme and deleted that code, but still, showing status update form..

    What’s wrong, is there anything do I have to do?

    Code is:

    <?php if ( is_user_logged_in() && bp_group_is_member() ) : ?>
    
    	<?php bp_get_template_part( 'activity/post-form' ); ?>
    
    <?php endif; ?>
    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Did you remove it from this file http://buddypress.trac.wordpress.org/browser/tags/1.8.1/bp-themes/bp-default/groups/single/activity.php

    I hope you’re using a child theme of the BP Default theme instead of making those changes on that theme in your server. Otherwise, your changes will be overwritten when BP is updated.

    Avatar of Bülent Sakarya
    sakarya
    Participant

    @sakarya

    Yes, I deleted codes from activity theme, and I don’t use child theme..

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @sakarya Just to be clear, you’re removing the status update form from the group’s activity, so that should work. Have you cleared cache? Or were you trying to remove the status update form everywhere?

    I can only say that the best practice is to create a child theme.

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

You must be logged in to reply to this topic.