WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Integration
[resolved] Bulk import resets "Display name publicly as" (3 posts)

  1. PyroSteveJr
    Member
    Posted 1 year ago #

    Is there anyone to change the fact that when you do the build import/update it resets what people have set the field "Display name publicly as" to?

    http://wordpress.org/extend/plugins/active-directory-integration/

  2. PyroSteveJr
    Member
    Posted 1 year ago #

    So in bulkimport.php line 288 the display name is set.
    $display_name = $this->_get_display_name_from_AD($username, $userinfo);

    Then it immediately checks to create new user or update them. On the else statement to update I added
    $display_name = $user->display_name;

    This way if the user had changed their display name the bulk import would not override their settings.

  3. glatze
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Steve,
    I won't add an option to allow users to change their display name, sorry.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.