[Resolved] How to disable activity commenting
-
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…” boxCopy 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#L12Thanks 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.
You could also create a blank php file for /activity/post-form.php in your child theme.
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.phpHey 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.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
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 regardsHello! 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!
- The topic ‘[Resolved] How to disable activity commenting’ is closed to new replies.
Meini
@meini
13 years, 8 months ago
How can I stop people from commenting on the activity pages whilst still showing the summary from the forum and other activites etc.?