• The email sent to admin uses the url that opens the user list, making it difficult to find the new user that needs approval. I want to change the URL so it goes to the right page.

    This is the current URL:
    users.php?s&pw-status-query-submit=Filter&new_user_approve_filter=pending&paged=1

    I want to change to:
    users.php?page=new-user-approve-admin

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Márcio Lopes F?o

    (@marciofao)

    Corrected it by editing this file:
    /wp-content/plugins/new-user-approve/new-user-approve.php

    Updated the link by editing this function:

    public function admin_approval_email( $user_login, $user_email ) {
    		$default_admin_url = admin_url( 'users.php?s&pw-status-query-submit=Filter&new_user_approve_filter=pending&paged=1' );

    Updated to this:

    public function admin_approval_email( $user_login, $user_email ) {
    		$default_admin_url = admin_url( 'users.php?page=new-user-approve-admin' );

    The url sent now does not come as a “a” element (link), looks like I’ve created a new problem here.

    Hi, your solution seems to work on my installation with the old AND the new version of the plugin!

    I try with this url (users.php?s&new_user_approve_filter-top=pending) and it works too!

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @ophyte @marciofao,
    Thanks for sharing this solution we will look for the possibilities to change the URL in the next upcoming update.

    Plugin Author WPExperts.io

    (@wpexpertsio)

    Hi @ophyte and @marciofao,

    We are pleased to announce important news. New user approve has been acquired by WP Experts. If being a user, you have any queries and issues, then we are solving your problems here.

    Thanks

    • This reply was modified 4 years, 6 months ago by WPExperts.io.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘New user notification email with wrong approval link’ is closed to new replies.