I really like the layout/style of a zotero plugin for SPIP (https://contrib.spip.net/Le-plugin-ZotSpip), especially in the library layout (here an example -> https://www.ceped.org/spip.php?page=biblio). What I particularly like are the multiple dropdown menu on the left side, with the possibility to choose how to organize the references (and in which style), so as the “show/hide” (“Afficher/masquer les d��tails”) menu with additional information for each references (e.g. with abstracts).
I am not good in coding, but I will try to give it a shot. If someone knows how to do it or has it already done, let me know. I will post here my efforts (hopefully with something usable ;-)).
]]>For some reason, the search results are duplicated.
Our search page:
https://symondsproject.org/lost-library-zotero-search/
If you search for “philosophy” you’ll see what I mean — halfway down the results, the set of items is duplicated.
How to fix?!
Our shortcode:
[zotpressLib nickname="LostLibrary" type="searchbar" searchby="items,tags" sortby="author" order="asc"]
Hello, This shortcode has always worked on our page, [zotpress author=”james r. heath” download=”yes” cite=”yes” title=”yes” collections=”2RQKSFR5″ sortby=”date” sort=”desc”] but just recently we noticed it throwing a critical error. The only thing I can figure is that the issue is caused by this publication which wasn recently added and has more than 1300 authors. Is there anything I can do to make that work? For now I have removed the shortcode from the page so that the page loads the other content.
]]>A title containing a comma, such as “St Stephens, Norwich”, is displayed as “St Stephens & Norwich”.
]]>Hi Katie
My ISP is encouraging me to use PHP 8.2 rather than 8.1. Can you please confirm whether Zotpress works with PHP 8.2.
Many thanks
Steve
Simple feature request: add a CSS class zp-doi-link
to the DOI link so that we can style the URL.
(I would be happy to do this in the form of a pull request. It requires changes at lines 670, 680 and 690 in shortcode.request.php
)
The upper one is with Zotpress 7.3.12. The bottom one screenshot shows using Zotpress 7.3.13 – the space between the references is gone. Any help is appreciated.
]]>Zotpress has worked fine for many years but now it malfunctions. I use the following code for in text numbering: [zotpressInText item=”{58FRF82X}” format=”%num%” brackets=”yes”] and for the reference list at the end of the webb page I use: [zotpressInTextBib style=”vancouver” sort=”ASC”].
On this page: https://infovoice.se/sample-size-estimation/ …I get spinning wheels in text and a strange reference list at the end that is numbered 1 and contains other references than the ones I want to cite. The same problem is seen here: https://infovoice.se/litteraturoversikt/. On this page https://infovoice.se/urvalsstrategier-och-datainsamling/ …there is no spinning wheel but all references are numbered 1 and the references in the reference list is not the ones I want to cite.
Am I using an old invalid format for the intext code or reference list code? Any other suggestion?
]]>The InTextBib shortcode is displaying seemingly random citations for sources that are not being cited in the article. Additionally, it seems that things that were highlighted in Zotero (in PDF’s for example) are being displayed in text under the bibliography.
This “highlight text” as we are calling it seems to be exactly the same across all instances of the InTextBib. The two articles below illustrate this. Each article has different cited works, but the random text in the bibliography are the same.
I believe that because the InTextBib shortcode isn’t working, the citations are also not working (showing the gear icon). They were working before.
Is there a setting in Zotero that could be causing this? We are on the latest version of the plugin, and all of the plugins on our website are up to date.
]]>The plugin auto updated 3 days ago and since then
[zotpressInText item=”{6603012:6NG3LFFW}” format=”%num%”] short code just shows a spinning wheel and
[zotpressInTextBib style=”nature” sort=”ASC”] just attempts to list my entire Zotero database.
Any clues would be appreciated. Do I need to roll-back, in which case, what is the safest way to do this.
Thanks
Dave
Hello. I’ve installed and activated Zotpress and added my library and private key and validated it. When I try to load my library all my Zotero folders show in the dropdown and all my tags show in the tags dropdown. However, the library won’t load; it just hangs with the rotating loading wheel going around and around. I checked with my hosting and they say ‘I can confirm that both cURL and fsockopen are enabled on the hosting, can you speak to Zotpress and query if there are any other requirements that may cause issues with this?’.
Can you help?
Thanks.
]]>The latest update (to 7.3.12) broke my pages where I use the plugin. Nothing displays except “There has been a critical error on this website.” I rolled back to the previous version and stopped automatic updates and my pages are displaying normally again. I’d like to know if I have to update something in my code for the new version to work?
]]>Since the latest update, I’m running into the following issue: ZP works as expected on pages where I use it to list a bibliography.
But on a ‘posts’ page and on individual single posts, where I have shortcodes for single items, it says: “There was a Zotpress error: Zotpress account not found.”
The Reference widget shows up, items are all browsable under ZotPress > Browse, there is only a single account and it is clearly found. Yet every post displays this error. Also holds for any new post I create.
The shortcode I’m using is of the format [zotpress item=”5C5PHSPF”].
Help much appreciated!
]]>I would prefer to number, but numbering stops at 50
Not formatting as should with 2nd lines indented
I have set up using basic WP page, and also with widget (current view) with no difference in formatting.
]]>We run echo do_shortcode(‘[zotpressInTextBib style=”nature”]’); as a part of our page.php template. For some pages, like https://www.reactgroup.org/toolbox/rational-use/non-human/ this works (although the bib is sorted the wrong order).
But for some, such as https://www.reactgroup.org/toolbox/understand/antibiotic-resistance/resistance-mechanisms-in-bacteria/ the page crashes (on then server, and without writing errors to the error log) when the shortcode is run. The difference between the pages is most likely ‘just’ that it has different InText Citations. So it seems / my guess is that some citations cause the shortcode to crash fatally.
Any advice would be appreciated.
Bj?rn
]]>Hello and thanks for developing and maintaining this plugin!
About a year ago, I submitted a pull request on the GitHub repository to propose a small fix to how APA bibliography entries display when using the urlwrap option (removing the url from the bibliography strings leaves a dangling “from” at the end) and add support for an additional whitespace unicode character: https://github.com/katieseaborn/zotpress/pull/1
I think it would be useful to bring in those changes into the main code stream.
Thank you!
]]>Hello! I was wondering if there is a way to adjust the language used for the zotpress library according to the language selected for the wordpress site. So if I select, e.g. “German”, I would like zotrpess to use German (Band instead of vol., Seite instead of page etc.) when generating the entries. Is there an easy way to achieve this such as, e.g., a lang attribute in the [zotpressLib] instruction?
]]>After upgrading Zotpress from 7.3.7 to 7.3.10, shortcodes with “sortby=dateAdded” started not loading (spinning gear), while “sortby=date” worked as expected.
Note that in the example page listed here, I’ve adjusted the shortcode from “sortby=dateAdded” to just “sortby=date” so the page will function while the issue is investigated.
]]>First and foremost, thank you Katie for this great plugin!
We’re using it successfully and it has seamlessly incorporated Zotero into our site.
However, we’ve encountered a recent issue with caching and CPU/RAM exhaustion, which in turn makes our site unresponsive:
I converted the Zotpress cache table into readable JSON to see if any notes were being cached and there were none. Additionally, I tried different approaches to incorporate notes caching into the logic, all without success.
It would be great if you could incorporate the notes into the caching mechanism or clarify if this issue is most likely caused by our setup! I disabled the whole updating logic which tremendously improved the page loading times. Cache was used but no notes appeared.
Thank you so much!
]]>Cannot get zotpressInText to work.. nomatter what syntax I try..
and zotpressInTextBib only works about half the time or less – not sure why..
I can get zotpress item= to work, but not zotpressInText item =
any ideas? i’d love to make better use of the plugin, but seems to break.
]]>Hi Katie
First of all you have created a wonderful plugin, it is great to publish zotero libraries.
But since v7.3.6 (changelog “Refined search bar.”) I have a problem with using the zotpressLib searchbar. There are no results displayed, the Javascript zotpress.lib.searchbar.js hangs in an endless loop. I have tried to figure it out, but without success. I think it reset the query in an endless matter. If I reactivate the lines around 168 and 192 (remove comment), than the searchbar works. But only for the first try, if I change the search, than the endless loop happens again. I think the problem is than the zpLastTerm variable, but I’m not sure about that.
It would be very nice if you can figure this out and fix the searchbar. I defined the searchbar like that [zotpressLib userid=”xxxxxxxxxx” type=”searchbar” minlength=”4″], it is a really simple definition. At the moment, I’m running v7.3.8 on the site, so you can easy see the endless loop.
Thank you very much for your help.
Any valid call to admin-ajax.php, replace the instance ID parameter with “%22%3E%3CiMg%20src%3dN%20onerror%3dprompt(0x000009)%3E”and you have the ability to run an arbitrary script on your page.
Would love a patch to prevent this, if possible.
]]>Hello,
Excellent, very promising plugin.
I am using Breakdance page builder and editing text content based on the classic editor. I can generate the in-text short codes fine, but when I insert it I only get a spinning wheel. I added the bibliography end shortcode to the end of the page.
If I add the item shortcode and end shortcode [zotpressInTextBib]?within the same text block, it works. However, when I split the 2 shortcodes into different text blocks to display the page citations towards the end of the page, I just get a spinning wheel both inline and at the end of the page. Somehow the communication between the two shortcodes seems to be lost.
If I use more than one citation, the first displays, but the rest don’t.
Any ideas on what is wrong and how it can be fixed? Thank you in advance.
]]>The latest update to ver. 7.3.8 no longer works for me. The Plugin “sees” my library and also allows you to select the collection and tags, but when I recall it, it shows an eternal gear that turns and turns without showing anything. I even tried a downgrade, but apparently that doesn’t work either.
My server memory settings are very high, and I don’t think that’s the problem here.
What could have happened? I love this plugin and it has never given me any problems before.
]]>Dear all,
I do not understand the issue and it seems, many others have the same problem (but not all?): I have an “old” zotpress installation at WP that worked totally fine with the searchbar (searching in items). For any reasons and I don’t know since when, the the search bar only answers “No items found”. But both in the backend and in the frontend (e.g. showing the most recent items in the database) the connection to Zotero works. I have changed nothing in the controlls. – The issue of this page came to our attention because we planed to install zotpress for a further webpage (with other data), so even this new installation does not work. Both platforms use zotpress 7.3.7.
Do you have any recommendations what I could try?
Thank you and all the best
Friedemann
Hi,
I have a bibliography grouped by year, and sorted by author, but I have 2 issues :
Here is the shortcode I use :
[zotpress order="desc" sortby="author" title="year"]
I tried with different attributes (order, sortby, title, forcenumber), but nothing seems to work.
Thank you for the help.
]]>I’m unable to get ZotPress to work with Elementor Pro. The shortcode works to generate the bibliograpy, but the in-text citations never show up �C the spinning gear shows forever.
I tested it using a Gutenberg page, and it works perfectly, so I think I’m following the instructions correctly.
I’ve enabled every available option under “Set Reference Widget.” In Elementor, you normally have to also enable different post types, but nothing for ZotPress shows up there (Elementor Settings > General > Post Types).
In the console, I get this error:
Uncaught TypeError: Cannot read properties of undefined (reading ‘replace’)
at String. (zotpress.shortcode.intext.min.js?ver=6.4.2:1:4399)
at Function.each (jquery.js?ver=3.7.1:383:19)
at zotpress.shortcode.intext.min.js?ver=6.4.2:1:4093
at a (zotpress.shortcode.intext.min.js?ver=6.4.2:1:8210)
at HTMLDivElement. (zotpress.shortcode.intext.min.js?ver=6.4.2:1:2048)
at Function.each (jquery.js?ver=3.7.1:383:19)
at a.init.each (jquery.js?ver=3.7.1:205:17)
at HTMLDocument. (zotpress.shortcode.intext.min.js?ver=6.4.2:1:183)
at mightThrow (jquery.js?ver=3.7.1:3489:29)
at process (jquery.js?ver=3.7.1:3557:12)
This plugin is such a marvelous thing! Thank you! ?? (All of my content is published in Elementor, so fingers crossed that I can get it working.)
]]>My Zotpress is set to sort alphabetically, which it does, except for special characters, e.g.:
Bailey, Gauvin. Architecture and Urbanism in the French Atlantic Empire: State, Church, and Society, 1604-1830. Montreal: McGill Queen��s University Press, 2018.
Bassi, Ernesto. An Aqueous Territory: Sailor Geographies and New Granada��s Transimperial Greater Caribbean World. Durham: Duke University Press, 2016.
Black, Jeannette D. The Blathwayt Atlas. Vol. I The Maps and Vol. II: Commentary. Providence, RI: Brown University Press, 1970.
Brown, Vincent. Tacky��s Revolt: The Story of an Atlantic Slave War. Cambridge, MA: The Belknap Press of Harvard University Press, 2020.
Br��ckner, Martin, ed. Early American Cartographies. Chapel Hill: University of North Carolina Press, 2011.
Buisseret, David, ed. Rural Images: Estate Maps in the Old and New Worlds. Chicago: University of Chicago Press, 1996.
Burden, Philip D. The Mapping of North America: Vol 1. A List of Printed Maps 1511-1670. Rickmansworth, Eng: Raleigh Publications, 1996.
Burnett, D. Graham. Masters of All They Surveyed: Exploration, Geography, and a British El Dorado. Chicago: University of Chicago Press, 2000.
B��got, Danielle, Monique Pelletier, and Catherine Bousquet-Bressolier. La Martinique de Moreau du Temple, 1770: la carte des ing��nieurs g��ographes. Paris: Comit�� des travaux historiques et scientifiques, 1998.
“B��got” pushed to bottom of B’s.
How to fix?!
]]>I kindly ask if your ��Zotpress�� plugin can handle?citing your articles.
I have found this capability in this plugin:?https://www.ads-software.com/plugins/cite/
Please, let us know. Thank you.
Hi Katie,
Thank you for the great plugin, but recently, I have been noticing the “spinning wheel at the end of the page with the [zotpress] shortcode, regardless of whether the shortcode has publications or not. If it does not have publications, it usually displays “No items found” but it just shows a spinning wheel.
[zotpress author="Grace Hu" highlight="Hu, G." title="year" sortby="date" order="desc" urlwrap="title" target="new"]
NOTE: When you are in WP Editor Mode, the plugin works fine and displays properly. But when you browse to the site normally it just shows the spinning wheel
]]>