Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to disable activity commenting

  • 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)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

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

    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

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Copy activity/index.php from bp-default to your child theme, and delete lines 12 – 14

    http://trac.buddypress.org/browser/tags/1.2.8/bp-themes/bp-default/activity/index.php#L12

    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. :)

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

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

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    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

    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.

    Avatar of davelopware
    davelopware
    Member

    @davelopware

    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

    Avatar of olivier147
    olivier147
    Participant

    @olivier147

    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

    Avatar of Donald McIntyre
    Donald McIntyre
    Participant

    @donmcint

    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)

You must be logged in to reply to this topic.