WordPress.org

Ready to get started?Download WordPress

Forums

Members List Plugin
Adding the User ID to the list (2 posts)

  1. Shenkie
    Member
    Posted 1 year ago #

    I want to add the User ID into my generated list with Members-List, however it's not a selectable field in the MarkUp section of the plugin.

    Any thoughts ? Custom fields and standard wordpress fields are working fine.

    http://wordpress.org/extend/plugins/members-list/

  2. mpraetzel
    Member
    Plugin Author

    Posted 1 year ago #

    Hmmmm, interesting. Off the top of my head:

    Try changing line 65 of conf.php from:

    $tern_wp_members_fields = array(
    	'User Name'		=>	'user_nicename',
    	'Email Address'	=>	'user_email',
    	'Display Name'	=>	'display_name',
    	'URL'			=>	'user_url',
    	'Registration Date'	=>	'user_registered'
    );

    to:

    $tern_wp_members_fields = array(
    	'User ID'		=>	'ID',
    	'User Name'		=>	'user_nicename',
    	'Email Address'	=>	'user_email',
    	'Display Name'	=>	'display_name',
    	'URL'			=>	'user_url',
    	'Registration Date'	=>	'user_registered'
    );

    Let me know if that works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.