Support » Plugins and Hacks » Co-Authors Plus: Autocomplete not working after upgrading plugin

  • devaka

    (@devaka)


    Today I’ve updated plugin Co-Authors Plus in my WordPress and now can’t add new authors to the post because of auto-complete problem. Has anybody had this problem and how to resolve it?

    Thanks in advance!

Viewing 8 replies - 1 through 8 (of 8 total)
  • devaka

    (@devaka)

    after detailed testing can say what it search author by nickname or email, but not search by utf8 author name 🙁 like “Сергей”

    devaka

    (@devaka)

    Here is some screenshots:

    http://img401.imageshack.us/img401/9853/044j.png
    search working by english words

    http://img4.imageshack.us/img4/3163/045d.png
    but not working for russian words… in previous of plugin version I had no this problem

    devaka

    (@devaka)

    solved problem by hacking wordpress:
    file: wp-includes/user.php
    line: 487
    added string: , ‘display_name’

    so it now:
    $search_columns = array(‘user_login’, ‘user_nicename’, ‘display_name’);

    it has solved my problem with autocomplete but now dont know if it influence on front-end website speed? )

    Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    Nooo, never do that, ever. Modifying the core is always a bad thing to do.

    So can you explain what you are trying to accomplish again? I’ve re-read this and I’m still unclear.

    devaka

    (@devaka)

    Jan Dembowski, thanks for reply!

    Problem seems in get_users function what cant search for display_name.
    But previous version of co-authors plugin worked well…

    In other words, I try to select author when creating new post and can’t select by display_name. I’ve attached screenshots few posts above.

    Moderator Jan Dembowski

    (@jdembowski)

    Brute Squad and Volunteer Moderator

    Sadly, it’ll be about 12 hours before I can look at that plugin. It’s just not one that I’ve ever looked at.

    If you mean this plugin http://wordpress.org/extend/plugins/co-authors-plus/ then you may be in luck. The author is very active here in the forums and I’ve added a tag for that plugin.

    Perhaps you’ll get a reply that can help sort it out.

    Daniel Bachhuber

    (@danielbachhuber)

    Sorry about that. I forgot to hook a filter back up in the most recent release. I’ll have an update out for it today.

    devaka

    (@devaka)

    Daniel, Jan, thanks a lot!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Co-Authors Plus: Autocomplete not working after upgrading plugin’ is closed to new replies.