BuddyBoss Home – Web Support Forums Plugins BuddyBoss Wall remove posted an update

  • This topic has 6 replies, 2 contibutors, and was last updated 9 years ago by Anonymous.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Question

    #50077
    @surfbuddy

    Hi all, In wall and sitewide-activity, how do I remove “posted an update” but keep username and the timestamp without using any translation files? Thanks

    Answers

    #50159

    Anonymous
    @

    Hi @surfbuddy
    you can copy /boss/buddypress/activity/post-form.php to child theme and edit it

    It have the string “Post Update”
    Regards
    Varun Dubey

    #50160

    Anonymous
    @

    you can also check for message updates

    buddyboss-wall/incldues/wall-hooks.php
    It have function which triggers the action to post the activity

    Regards
    Varun Dubey

    #50175
    @surfbuddy

    Thanks. In wall-hooks.php, I changed line 236 to this. Any ideas why its still printing ‘posted an update’ on new posts? Are .po files overriding this?

    $new_action = sprintf( __( "%s", 'buddyboss-wall' ), '%INITIATOR%' );
    
    #50646
    @surfbuddy

    bump

    #50654
    @surfbuddy

    Please disregard. I had to go through bp files at buddypress/bp-activity/bp-activity-functions.php line 1326. Thanks

    #51312

    Anonymous
    @

    I will close this topic.
    Regards

Viewing 7 posts - 1 through 7 (of 7 total)
  • The question ‘remove posted an update’ is closed to new replies.