WordPress.org

Ready to get started?Download WordPress

Forums

New User Approve
[resolved] messages on login page (6 posts)

  1. lverg
    Member
    Posted 2 years ago #

    The plugin works great and has helped quite a lot building my website!

    There's only one small problem: everytime a user arrives at my login page, a welcome message and an error message are displayed (invalid uersname or password). How do I get rid of both the welcome and the error message?

    Thanks in advance

    http://wordpress.org/extend/plugins/new-user-approve/

  2. Josh Harrison
    Member
    Plugin Author

    Posted 2 years ago #

    This has been corrected in version 1.3.3. Sorry about the inconvenience.

  3. lverg
    Member
    Posted 2 years ago #

    Thanks for the fix!

    One more thing: how do I hide the welcome message from the login page?

  4. Josh Harrison
    Member
    Plugin Author

    Posted 2 years ago #

    add this in your theme's functions.php file to remove the welcome message from the login page:

    function remove_welcome_message() {
    global $pw_new_user_approve;
    remove_filter( 'login_message', array( $pw_new_user_approve, 'welcome_user' ) );
    }
    add_action( 'init', 'remove_welcome_message' );

  5. lverg
    Member
    Posted 2 years ago #

    Thanks a lot! Login page looks much cleaner now! ;)

  6. hagelaars
    Member
    Posted 1 year ago #

    Thanks for this great plugin Picklewagon, i'm very happy with this one!

    But I would like to remove the first welcome message only.
    What I noticed now (after I change themes.php), that all the messages will be gone.

    I only want the message on the login page to be dissapeared.
    For example: when a user registers, he has to get the message "After you register, your request will be sent.." and so on.

    From now all the notification messages are gone after changing the themes file.

    Thanks in advance.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic