WordPress.org

Ready to get started?Download WordPress

Forums

Emu2 - Email Users 2
Improve user Selection menu (1 post)

  1. gizmomol
    Member
    Posted 2 years ago #

    Like other plugins I have used, I prefer to see the wp users in first name alphabetical order and to be able to use browser's ability to select items from a form by entering the first letters of a partial name.

    To enable this I changed two emu2 programs. The "<" is the new change and the ">" is the old. These changes would have to done manually because I had to convert the programs from windows/dos line ending to unix/linux endings. The two programs and changes follow:

    1. emu2_user_mail_form.php
    (This is in main code not a function)

    02c102
    <                                               <?php echo __('', EMU2_I18N_DOMAIN) . $user->display_name; ?>
    >                                               <?php echo __('User', EMU2_I18N_DOMAIN) . ' - ' . $user->display_name; ?>

    2. emu2.php
    function EMU2_get_users()

    649d648
    <       $order_by = " order by display_name ";
    659c658
    <                       . $additional_sql_filter. $order_by );
    >                       . $additional_sql_filter );
    672c671
    <                       . $additional_sql_filter. $order_by );
    >                       . $additional_sql_filter );

    http://wordpress.org/extend/plugins/emu2-email-users-2/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by gizmomol
  • This topic is not a support question
  • WordPress version: 3.3.2

Tags