[Go to site: main page, start]

Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to hide or replace Gravatar text on profile

  • @laptoplife

    Participant

    How does one remove the text from the change profile page that says:

    If there is a Gravatar associated with your account email we will use that, or you can upload an image from your computer.

    Someone else posted about this years ago and I don’t see a resolution.

    When going in the files to change wp-content/plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/single/profile/change=avatar.php the text still shows up.

    Please advise.

    Here is the previous thread which did not have a resolution.

    How to hide or replace gravatar text in change avatar page

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @mike80222

    Participant

    I am by no means a BuddyPress expert, but on our sites we’ve changed the text you see when you click on “Change Profile Photo” by overriding the file change-avatar.php. In other words, I’ve made a copy of that file, changed the text to say what I want, and then put that file in wp-content/themes/MY_CHILD_DIR/buddypress/members/single/profile. We’re not using Nouveau, so that might make a difference.

    If you’ve actually changed the text directly in the original buddypress file it seems weird (to me) that the change didn’t take (unless it’s already being overridden).

    I doubt that helps. Maybe you’ll get a better answer from somebody who knows more.

    @mikeali1

    Participant

    If editing the template file didn’t change the text, it’s likely being generated by BuddyPress core or a filter, not that specific template.

    I’d recommend checking for a hook such as bp_core_avatar_admin or overriding the string with a translation plugin like Loco Translate. That approach is usually update-safe and avoids editing plugin core files. If you’re using a custom theme, also make sure it isn’t overriding the BuddyPress template.

    @stephenhanks

    Participant

    Yeah, I’d avoid editing the BuddyPress plugin file directly too, since an update could overwrite the change. I’d first check whether the theme is overriding the avatar template, and if not, Loco Translate sounds like a cleaner way to change that text.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar