I’d like to eliminate the “What’s New” line on the user’s Profile->Activity page. I found this post:
https://buddydev.com/support/forums/topic/where-to-change-bp-text-for-activity-update/
I’m using Legacy, so that link tells me to override activity/post-form.php. But that whole file just creates that one form, right? So it seems like I should be overriding the thing that *includes* that form, in order to completely eliminate that field. I don’t see it in activity/index.php, but maybe I simply don’t know how to recognize it?
Any thoughts on this?
Thanks!
Mike
Hi Mike,
Is your goal is to only change the text? If yes, Please use poedit or any of the localization plugin to translate. That would be a lot better.Regards
BrajeshIn that case, you will need to edit the buddypress/activity/post-form.php to completely remove it.
Regards
BrajeshThat is the easiest way to do it everywhere. Otherwise, you can do it in buddypress/groups/single/activity.php, buddypress/members/single/activity.php and buddypress/activity/index.php
Regards
BrajeshI appreciate your advice on this. It took me a while to try it.
I have deleted basically all the content from buddypress/activity/post-form.php (in my child override directory). Now the file just looks like:
<?php /** * BuddyPress - Activity Post Form * * @package BuddyPress * @subpackage bp-legacy * @version 3.0.0 * */ ?>
This *appears* to work. Does that look right? I do need the closing ?> at the end, right?
Mike
Hi Mike,
That’s good.You can safely remove the last closing tag.
?>
Regards
Brajesh
You must be logged in to reply to this topic.