Tagged: BuddyPress Activity as Wire
BuddyPress Activity as Wire
when on another user’s “wall” Community Builder theme replaces this :
Write something to “user”?
with
What’s new, “user”?
How can I keep the original Write something to “user”? from the plugin?
Thanks,
Hi Laz,
You are correct about it. In the activity as wire, we are filtering on “What’s new, %s?” and checking that the text domain is ‘buddypress’. It will not work with Community Builder as the textdomain is ‘community-builder’.I will update activity as wire to remove checking for the textdomain. For now, you may change thi line
https://github.com/sbrajesh/bp-activity-as-wire/blob/master/bp-activity-as-wire.php#L58
from
if ( $text == "What's new, %s?" && $domain == 'buddypress' && ! bp_is_my_profile() && bp_is_user() ) { $translated_text = sprintf( __( "Write something to %s?", 'buddypress' ), bp_get_displayed_user_fullname() ); }
to
if ( $text == "What's new, %s?" && ! bp_is_my_profile() && bp_is_user() ) { $translated_text = sprintf( __( "Write something to %s?", 'buddypress' ), bp_get_displayed_user_fullname() ); }
Thank you
Brajesh
The topic ‘ [Resolved] BuddyPress Activity as Wire & community theme wording’ is closed to new replies.