Display Abstract Views and PDF Download Statistics on the Issue Summary Page in OJS 3.5

I am using OJS 3.5 and would like to display Abstract Views and PDF Download statistics for each published article directly on the Issue Summary (Table of Contents) page, e.g.,

Abstract Views: xxxx | PDF Downloads: xxxx

Hi @ganeshsharma,

My sense is that journals acheive this by modifying the code of particular pages:

I should note that this, while feasible, is not easily achieved and should only be attempted if one is knowledgeable in modifying the core OJS code, in maintaining customizations to core OJS code. It also carries the risk that it may break when the site is upgraded.

If you see this on other sites, it may be because another commercial service provider is using a plugin. So far as I’ve been able to find, there are not any openly available plugins that I would recommend that can achieve this. If anyone knows about one, I’d be curious to hear.

Best regards,

Roger
PKP Team

@ganeshsharma,

I just learned that this plugin was recently made available:

It may be worth checking out to see if it suits your needs.

-Roger
PKP Team

Dear Roger (@rcgillis), Thanks for your reply. The plugin is working fine with the option “Show in the article summary (article lists)”. However, the option “Show on the article details page” replaced all the Keywords with the word Array. I tried using the package’s code to solve this, but I couldn’t find a solution. A screenshot is attached herewith to understand the output of the article detail page.

@ganeshsharma I think the plugin need an update to adapt to changes from Centralise the publication's object metadata structure · Issue #11557 · pkp/pkp-lib · GitHub . Previously the keywords used to pass as array but but now passed as array of array . I think that is the issue with plugin .

Dear Ganesh,

Thanks for reporting this. We identified the same bug on our side: with the option “Show on the article details page” enabled, the keywords were being replaced by the word “Array”.

The issue has already been fixed in version 1.2.0.3. The link in the readme was still pointing to the 1.2.0.2 tar.gz, which contains the bug. Please download the updated version directly from the repository:

After replacing the plugin folder, clear the OJS cache (Administration > Clear Data Caches and Clear Template Cache) and the keywords should display correctly again.

Let us know if the problem persists.

Best regards,
Eder Sotto

Dear Eder Sotto (@Eder_Sotto),

Thank you very much for your prompt response. The plugin is working perfectly now.

I truly appreciate your help and support. :slightly_smiling_face:

With kind regards

Ganesh Sharma

Hi @Eder_Sotto . Thank you for this interesting plugin. It’s very helpful. I just wanted to ask, is it possible to move the counter to the side of the gallery link?

An updated version of the OJSBR/ViewCounter plugin is now available for OJS 3.5, which is compatible with MathJax. Thanks to @Eder_Sotto