• Resolved nowton

    (@nowton)


    My client would like to input their own queries, so they don’t have to rely on us in that aspect. IMO an Editor should be able to do this as this is a content-related activity. I tried adapting the capabilities setting in the code, but my client stated they can see the interface, but not save queries. Your feedback is appreciated.

    https://www.ads-software.com/plugins/wp-pubmed-reflist/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author jimhu

    (@jimhu)

    Sorry for the slow response. Should be fixed in 0.7. The settings has been moved to the Tools menu.

    Thread Starter nowton

    (@nowton)

    If I upgrade to 0.9 there are no publications visible for the members selected. Example URL https://www.erasmusage.com/member/212/ On clicking ‘View all publications on PubMed’ results _are delivered. We use the shortcode in a custom WYSIWYG field for display in our templates. Please advise, thanks.

    Plugin Author jimhu

    (@jimhu)

    Version 0.9 introduced a system for making the output format editable. Go to the reference styles tab in the settings and make sure a format is selected. It should have selected a default, but there may be a bug in what happens when upgrading from previous versions.

    Thread Starter nowton

    (@nowton)

    The NIH format is selected, however under the ‘Add style’ section I see the following error message: Warning: in_array() expects parameter 2 to be array, null given in /home/clientname/domains/clientname.com/public_html/wp-content/plugins/wp-pubmed-reflist/class.wpPubMedRefListSettings.php on line 415

    Changing the format to Cell removes the error message but does not show the issue.

    Plugin Author jimhu

    (@jimhu)

    That warning should only happen before the first time you save changes on the styles.

    I still don’t see a reference list on the linked page for Dr. Franco. Did they appear for Cell and disappear when you changed back to NIH? When you say “does not show the issue” do you mean that you can see the reference list, or just that the warning goes away?

    Thread Starter nowton

    (@nowton)

    That warning should only happen before the first time you save changes on the styles.

    OK.

    The reference list disappeared when updating your plugin from a previous version. Changing it to another format/style does not render any other result, just what’s visible here.

    Plugin Author jimhu

    (@jimhu)

    I’m seeing references now. Did you find a fix? Or did you go back to the older version?

    Thread Starter nowton

    (@nowton)

    We didn’t change anything – but I’m glad to see this now works.

    Plugin Author jimhu

    (@jimhu)

    Great! Here’s what I think happened: The plugin caches the formatted reference list in the mysql database, using wordpress’ options system. It’s set to refresh the cache if the queries change or after 24 hours. I think that the clock started when you selected the style, and it just took a day to flush the cache.

    If this ever happens again, you can make a minor edit to the queries to force a cache refresh (or maybe I should add an option to do it manually)

    Sorry for the problems.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Request] have editors create queries’ is closed to new replies.