-
Alex Stine replied to the topic User Meta Output On Profile in the forum Creating & Extending 7 years, 10 months ago
Hello
Thanks, I seemed to misread the codex. I did not realize the word “the” was not included. Here’s the code that did it for me in the end.
$member_id = bp_displayed_user_id();
[Read more]
$x = ( get_user_meta( $member_id, 'staff', true ) == '' ) ? "Staff" : get_user_meta( $member_id, 'staff', true );
echo '<div class="staff-label">';
echo… -
Alex Stine replied to the topic User Meta Output On Profile in the forum Creating & Extending 7 years, 10 months ago
Hello @shanebp,
I tried this code but it did not work. Anywhere I went wrong?
$member_id = bp_displayed_user_id();
[Read more]
$x = ( get_the_user_meta( 'staff', $member_id ) == '' ) ? "Staff" : get_the_user_meta( 'staff', $member_id );
echo '<div class="staff-label">';
echo $x ;
echo… -
Alex Stine replied to the topic Hide Emails Menu in the forum Creating & Extending 7 years, 10 months ago
OK, if anyone else was wondering how to do this, it’s simple. Just add this code to functions.php or a mu-plugin and the BuddyPress items disappear.
function remove_admin_menu_items() {
[Read more]
/*Remove Emails from Appearance.*/
remove_submenu_page( 'themes.php', 'bp-emails-customizer-redirect' );
/*Remove Manage Signups*/
remove_submenu_page(… -
Alex Stine replied to the topic User Meta Output On Profile in the forum Creating & Extending 7 years, 10 months ago
Any suggestions? Really need to get this working.
Thanks.
-
Alex Stine started the topic User Meta Output On Profile in the forum Creating & Extending 7 years, 10 months ago
Hello,
I have a custom user meta field which is a staff label field. For people with “staff” capability, they can go to their profile in WP admin and enter some text for a label such as “Lead Developer, Writer, Support, etc. I would like to output this label on BBPress profile but cannot figure out how to do it. I am using the currently displ…[Read more] -
Alex Stine replied to the topic Hide Emails Menu in the forum Creating & Extending 7 years, 12 months ago
Hello,
For now, I have hid the menu with CSS until I can find a cleaner solution. BuddyPress adds way to many links to the Admin especially considering the fact I don’t need BuddyPress registration features, they are just there and cannot be disabled for whatever reason.
Thanks for any help. 🙂
-
Alex Stine started the topic Hide Emails Menu in the forum Creating & Extending 7 years, 12 months ago
Hello,
I am using the latest version of WordPress and BuddyPress. I am using the Theme My Login plugin to modify all my emails, I would like to hide the Emails menu from Appearance and the Emails sub menu. Can someone please guide me in doing this? I tried following along with this with not much…[Read more]
@alexstine
Active 7 months, 1 week ago