Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How do I get rid of "Activity" input box + comment button on member's profile pages?
![adrial79](https://us.v-cdn.net/5018160/uploads/userpics/424/nZF8MS93HBO3K.jpg)
Hey all!
I keep having members mistakenly using the "Activity" function to post messages that are meant to be private messages. I'd like to just delete that altogether. How do I do this?
Specifically, here's what I want to delete:
http://screencast.com/t/yFyNRm3n
Thank you!
0
Comments
hey @adrial79
you can just use CSS to hide the activity textbox and subheader by adding this to your custom stylesheet:
hope this helps.
It may be theme dependent but you can try this but it will remove the activity form from the profile as well. Maybe you can add a message that tells users the activity is a public broadcast not private.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
You can also add the below to your /conf/config.php file
$Configuration['Garden']['Profile']['ShowActivities']= FALSE;
This will remove activities from profile pages completely.
I've been having the same problem as well.
I added that line but the activity page is still there.
Delete your cache.
Another option, could be adding a warning. You can place this in your template theme (as long as it ends with tpl). Add it above {asset name="Content"}
Then maybe add some nice CSS to your theme:
This worked perfectly! Thank you!
I just did and it is still shows. Thanks
Try using jquery and disable minify or similar if you use those.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
In addition to
$Configuration['Garden']['Profile']['ShowActivities']= FALSE;
, if you remove the "View Activity" permission from accounts, they won't be able to access the general Activity page either.