Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration Email

  • I am trying to locate or even find out if it is possible to change the “New User” registration email. The default one gives no instructions regarding changing your password etc.., Any help would be greatly appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)

  • _ck_
    Participant

    @_ck_

    There is a filter on the $message

    $message = apply_filters( 'bb_send_pass_message', $message, $user, $pass );

    So yes, you can change it now without hacking the core.

    <?php
    /*
    Plugin Name: New User Email Message
    */
    add_filter('bb_send_pass_message','new_user_email_message',10,2);
    function new_user_email_message($message,$user) {

    $message.="n You can also change your password at any time by editing your profile. n";

    return $message;
    }
    ?>

    Thanks _ck_! Where would I implement this? Functions core?

    Also, I have added another registration input field via functions.core and now I would like to add “*” next to the required fields but am not sure where to do this without it showing up in the users profile.


    RedBull
    Member

    @redbull

    This has been resolved I just need some more details. I just need to know where I would implement this.


    _ck_
    Participant

    @_ck_

    Oh sorry, I lost track, too many things going on everywhere.

    Save it into a plugin (ie. custom-registraton-email.php) put it into your my-plugins/ directory and activate.


    RedBull
    Member

    @redbull

    Hello _ck_, thanks for the reply. Unfortunately this option is not working for me.

    My steps were….MKDIR>my-plugins/>new folder>custom-registraton-email.php>copy and paste the plugin you provided>activated>still getting the same registration default email.


    _ck_
    Participant

    @_ck_

    Note that filter is only available in bbPress 1.0 and 1.1, if you are trying to do it in 0.9 it will not work.

    In 0.9 unfortunately you’d have to edit the end of registration-functions.php


    RedBull
    Member

    @redbull

    I have bbpress 1.0.2


    RedBull
    Member

    @redbull

    Hello _ck_, I appreciate the help, however I had to go another route because of the plugin issue.

    To anyone else who is trying to edit the registration email, Note:

    BE VERY CAREFUL WHEN EDITING THE FOLLOWING FILE!

    functions.bb-users.php

    !!You are going to want to copy and paste all content in this file to notepad to assure that you have it incase something happens!!

    Towards the bottom of the page you will see the new user email content. There you can add text to the email.

    Thanks again _ck_

Viewing 9 replies - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.