Skip to:
Content
Pages
Categories
Search
Top
Bottom

Email issue Hi, {{recipient name}}


  • jellybean70107
    Participant

    @jellybean70107

    Hi,
    I need to remove the {{recipient name}} from the activation email that is sent out. Because the user does not yet have an account, it does not show their name. It only shows Hi, {{recipient name}}; which looks really unprofessional. I found the code in the bp-core file, but I am a novice and not quite sure what I need to remove or what filter to add or where. Any help would be greatly appreciated!

    Screenshot: http://prnt.sc/qrilxd
    Word Press Version 5.3.2
    Buddy Press Version 5.1.2

Viewing 1 replies (of 1 total)

  • jmouram
    Participant

    @jmouram

    Helo!

    I am also new to programming and spent a lot of time trying to find where I could translate this text.
    But after I understood, I found it very easy (but really easy!).
    You simply enter buddypress/bp-core/bp-core-template.php

    Find the word salutation, or go to the end of the content.
    This text is linked to the bp_email_get_salutation function

    Just replace the lines:

    _x( 'Hi,', 'Unnamed recipient salutation', 'buddypress' )
    _x( 'Hi %s,', 'Named recipient salutation', 'buddypress' )

    by the words that your language.

    I think by the time of your post I won’t be able to help you, but I hope I can help other people with the same difficulty we had.

    Greetings!

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