• Resolved johnnyontheweb

    (@johnnyontheweb)


    Dear all,
    thanks for the marvelous plugin! Just a question: how to make the “Users > All Users > Users with Unconfirmed Email Address” lists longer? It is blocked at 50 items per page, and there’s not Screen options like in standard WP users’ list.
    Can you help?

    With such a limited items number per page, it takes longer to resend the activation email to all the unconfirmed users.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Thank you for reaching out to us and for your kind words.

    In order to change the number of users displayed on the “Users with Unconfirmed Email Address” page you will need to use some custom code:

    1. Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db

    2. Add the following code to the end of it:

    /*
     * Filter to change the number of users displayed on the Users with Unconfirmed Email Address page
     */
    
    add_filter('wppb_email_confirmation_user_per_page_number', create_function('', 'return "100";'));

    3. The value “100” represents the number of users. You can change it as you want.

    Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality

    Let me know if it works.

    Best regards,

    Thread Starter johnnyontheweb

    (@johnnyontheweb)

    Thanks, it works like a charm!
    Please find below the complete code for anyone else is needing it.

    <?php
    /**
     * Plugin Name: List of unconfirmed users
     * Plugin URI: NONE
     * Description: Customize the list of users with unconfirmed email.
     * Version: 1.0
     * Author: Profile Builder Support Forum & user johnnyontheweb
     * Author URI: https://www.ads-software.com/support/topic/users-all-users-users-with-unconfirmed-email-address-show-too-few-lines/
     * License: A "Slug" license name e.g. GPL2
     */
     
    /*  Copyright 2017  Profile Builder Support Forum & user johnnyontheweb
    
        This program is free software; you can redistribute it and/or modify
        it under the terms of the GNU General Public License, version 2, as 
        published by the Free Software Foundation.
    
        This program is distributed in the hope that it will be useful,
        but WITHOUT ANY WARRANTY; without even the implied warranty of
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        GNU General Public License for more details.
    
        You should have received a copy of the GNU General Public License
        along with this program; if not, write to the Free Software
        Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    */
    
    /*
     * Filter to change the number of users displayed on the Users with Unconfirmed Email Address page
     */
    
    add_filter('wppb_email_confirmation_user_per_page_number', create_function('', 'return "100";'));
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Users > All Users > Users with Unconfirmed Email Address show too few lines!’ is closed to new replies.