Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to disable activity commenting

  • @meini

    Member

    How can I stop people from commenting on the activity pages whilst still showing the summary from the forum and other activites etc.?

Viewing 10 replies - 1 through 10 (of 10 total)
  • @mercime

    Participant

    BuddyPress > General Settings “Disable activity stream commenting on blog and forum posts?:”

    @meini

    Member

    Thanks @mercime
    Yes, I tried that, but it does not seem to have any effect. Users still have the option to type and post something in the “What’s new…” box

    @mercime

    Participant

    Copy activity/index.php from bp-default to your child theme, and delete lines 12 – 14
    https://trac.buddypress.org/browser/tags/1.2.8/bp-themes/bp-default/activity/index.php#L12

    @meini

    Member

    Thanks mercime, so far I haven’t been able to get it to work. For some reason it does not “pick up” the information in activity/index.php in the child theme. I’ll have to do some more testing I guess, but so far, what you say makes sense, but nothing else does at the moment. :)

    @r-a-y

    Keymaster

    You could also create a blank php file for /activity/post-form.php in your child theme.

    @mercime

    Participant

    Whichever method you use, Meini – r-a-y’s method is better :-) make sure you follow the folder structure of the file you copied from parent theme.

    e.g. for r-a-y’s method, the post-form.php should be in this structure in server:
    wp-content/themes/yourChildThemefolder/activity/post-form.php

    @meini

    Member

    Hey thanks folks – it’s working! The form does not appear any more and I can still see all the activities. I used the “blank post-form.php file” method… :)
    I appreciate your support.

    @davelopware

    Member

    I’ve done a tweak to post-form.php that allows admins and moderators of a group to post directly into the activity stream, but prevents anyone else from doing it (in my case I want members of the group to use the Forums for discussion).

    More details available including the code and how to install it are here: http://daveamphlett.com/2011/10/12/buddypress-activity-streams-vs-forums/

    Note: this is just for BuddyPress 1.5

    @olivier147

    Participant

    Hi’ davelopware,

    Your tweak seems exactly what i need but the link (http://daveamphlett.com/2011/10/12/buddypress-activity-streams-vs-forums/) is unreachable.
    Is there a place i could donwload it ?

    thank’s in advance.
    Best regards

    @donmcint

    Participant

    Hello! I need to disable the the post-form only for the Site Activity page, but let everyone post on the groups, their profiles, friends, and everywhere else. Does the blank post-form.php solution achieve this?

    Thx!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] How to disable activity commenting’ is closed to new replies.
Skip to toolbar