Support » Plugin: Media Credit » Autosuggest Author doesn’t work

  • Resolved freezeweb

    (@freezeweb)


    Great plugin and thanks for the support on my previous topic!

    I just found that the plugin is supposed to autosuggest authors in the media credit field, but that doesn’t work?

    Could you please verify if that’s the case on your end too or an issue of my environment. Many thanks!

    If I could get this feature to work it would be so awesome! Thanks again!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author pepe

    (@pputzer)

    Please have a look at your browser’s console. There’s probably a JS error there (might be something unrelated or a bug in Media Credit).

    Thread Starter freezeweb

    (@freezeweb)

    My apologies. It does work. The issue is it does not suggest users with custom roles. I have a custom role of photographer, and they do not show up in the suggest box. Only admins, editors and authors do.

    Would there be an easy fix for this? Otherwise I think I will have to assign all photographers an additional role of author. That seems to work.

    Thread Starter freezeweb

    (@freezeweb)

    I will be giving all users with the role of photographer an additional role of contributor. That seems to work well.

    I’ll leave the topic open in case you have another solution, otherwise you can mark it as solved. Thanks!

    Plugin Author pepe

    (@pputzer)

    Ah. There’s an open trac ticket for this issue (#16841). The workaround would be to add a capability of level_1 to your custom role (level_1 corresponds to contributor in the deprecated-but-still-used-in-some-places user_level concept).

    I’ll check if I can make my query more versatile by switching to role names (with a filter hook to expand the selection) instead of the current who=authors.

    Plugin Author pepe

    (@pputzer)

    Hi @freezeweb, I just wanted to let you know that the next release (4.1.0) will contain a new filer hook media_credit_author_list_query that will allow you to change the user query from [ 'who' => 'authors' ] to a more complex one if necessary.

    Thread Starter freezeweb

    (@freezeweb)

    awesome!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Autosuggest Author doesn’t work’ is closed to new replies.