PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Activation Email showing [WordPress] in subject and not site name?

  1. For some reason, the email that Gravity Forms initiates for user activation contains [WordPress] in it's subject line, rather than the site name. If I do something like "Forgot my Password", it contains the correct site name. Any idea what might be causing this?

    Posted 8 years ago on Friday November 9, 2012 | Permalink
  2. Ah, the magic internet fairies pulled one of their "find the solution right after you ask for help" tricks on me again!

    I should have mentioned this was BuddyPress. If anyone else needs help with this, I found this great code snippet:

    http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/how-to-remove-sitename-from-email-notification-subject-1/

    function fix_bp_activation_subject($subject) {
    return __( "Activate Your Account", 'buddypress' );
    }
    add_filter('bp_core_activation_signup_user_notification_subject', 'fix_bp_activation_subject');
    Posted 8 years ago on Friday November 9, 2012 | Permalink
  3. David Peralty

    Glad you figured it out. Multiple people have been having some strange BuddyPress related e-mail override issues lately, and this might lead them down the right path as well.

    Posted 8 years ago on Friday November 9, 2012 | Permalink
  4. hexdigital
    Member

    I don't have buddypress installed and I seem to be getting this issue.

    I tried adding that code to my theme functions I'm still getting this problem.

    Any ideas?

    Posted 8 years ago on Sunday November 25, 2012 | Permalink
  5. If you're not using BuddyPress and you added that code, the code would never be processed, so I can see what that did not help you.

    Can you explain the exact issue you're having? Post the actual text of the messages or email addresses or screenshots if you can. If you post a link to your form and we can register there to see for ourselves, that will help too.

    Posted 8 years ago on Monday November 26, 2012 | Permalink
  6. hexdigital
    Member

    Hi again

    The problem is that the activation email that is sent to the new user contains the following subject line and message body (see example below)

    The problem with the subject is I don't want it to include the word '[WordPress]' in squared brackets. I'd like to replace it with my site name...

    I don't mind the body of the message too much, although I would like to alter that if possible. Surely It would make more sense if it read 'to activate your account' as opposed to user?

    Thank you for your time

    ==========
    EXAMPLE
    ==========

    SUBJECT:

    "[WordPress] Activate *then the username is inserted here (this works)*"

    BODY:

    "To activate your user, please click the following link:

    *link to activate the user is inserted here (this works)*

    After you activate, you will receive *another email* with your login."

    Posted 8 years ago on Friday December 21, 2012 | Permalink
  7. @hexdigital, please see this post and let us know if this helps you at all:
    http://www.gravityhelp.com/forums/topic/customizing-activation-pageoutput#post-101353

    Posted 8 years ago on Saturday December 22, 2012 | Permalink