-
Henry Wright replied to the topic Rename "Messages" nav to "Mails" in the forum Installing BuddyPress 10 years, 2 months ago
Hi @sundev
Check out the Customizing Labels, Messages, and URLs article. To customise the label I think you’ll need to use a language file.
If you also want to change the slug in the URL, try adding this to your bp-custom.php file
define( 'BP_MESSAGES_SLUG', 'mails' );
-
Henry Wright replied to the topic How I hide my un-wanted profile tabs in the forum Installing BuddyPress 10 years, 6 months ago
Hi @sundev
Have you tried using
bp_core_remove_nav_item( 'slug' )
? There is also a function available in BP to remove sub-nav itemsbp_core_remove_subnav_item( 'slug', 'subnav-slug' )
-
Henry replied to the topic change 'their' to 'his' or 'her' in activity stream in the forum Installing BuddyPress 10 years, 9 months ago
@sundev you would need to capture each member’s gender using a profile field. A radio button would do it.
Then once you have that information you could do a simple check when filtering the text.
e.g
[Read more]
if ( is male ) {
// this must be a male so filter the text to say 'his'
} else {
// this must be a woman so filter the text to say… -
Henry replied to the topic change 'their' to 'his' or 'her' in activity stream in the forum Installing BuddyPress 10 years, 9 months ago
Hi @sundev
No, it wouldn’t change. You would need to filter the text accordingly depending on the gender they specify in their gender profile field.
@sundev
Active 4 years, 9 months ago