Skip to content

OJSBR/viewcounter

Repository files navigation

View Counter — OJS plugin

OJS Version License

⬇️ Install package: OJS 3.5 · OJS 3.4 — or browse all Releases.

A generic plugin for Open Journal Systems (OJS) that displays each article's abstract views and downloads (sum of galleys) on the article summary lists and on the article landing page — discreetly, as icons with a tooltip near the title.

Maintained by OJSBR. Rewritten and adapted from an original OJS 3.3 access/downloads counter by STI-FFLCH/USP and ABCD/USP. See the full Credits & authorship section below.

Compatibility & branches

OJS version Branch Plugin release
OJS 3.5.x stable-3_5_0 (default) 1.2.0.0
OJS 3.4.x stable-3_4_0 1.1.0.0

Pick the branch matching your OJS version. Each branch is installable as-is.

Installation

  1. Download the release for your OJS version (or clone the matching branch).
  2. Install via Settings → Website → Plugins → Upload A New Plugin, or extract the folder into plugins/generic/ so you get plugins/generic/viewcounter/.
  3. Enable View counter under the Generic plugins list.

Configuration

Go to Settings → Website → Plugins → View counter → Settings:

  • Show in summary (article lists)
  • Show on the article landing page

Both are enabled by default. Saving clears the template cache automatically.

On OJS 3.5, counts are computed via the statistics service (publicationStats) and exposed to Smarty through {viewcounterStats}, since Submission::getViews() / Galley::getViews() were removed; queries are wrapped in try/catch and fall back to 0.

Credits & authorship

  • Maintained by OJSBR — rewrite and adaptation to OJS 3.4/3.5.
  • Original work: OJS 3.3 access/downloads counter by STI-FFLCH/USP (Seção Técnica de Informática da FFLCH/USP) and ABCD/USP (Agência de Bibliotecas e Coleções Digitais da USP). See the FFLCH open-source repositories at https://github.com/fflch.
  • Distributed under the GNU GPL v3, consistent with the original licensing.

Contributing

Issues and pull requests are welcome. Please target the branch matching the OJS version you are working against.

License

Distributed under the GNU GPL v3. See LICENSE and docs/COPYING.


🇧🇷 Português

Plugin genérico para o Open Journal Systems (OJS) que mostra a quantidade de visualizações do resumo e de downloads (soma das galés) de cada artigo, nas listas de resumo e na página do artigo — de forma discreta, com ícones e tooltip próximos ao título.

Mantido pela OJSBR. Reescrito e adaptado a partir de um contador de acessos/downloads original do OJS 3.3 da STI-FFLCH/USP e do ABCD/USP. Veja a seção Créditos e autoria abaixo.

Compatibilidade e branches

Versão do OJS Branch Release do plugin
OJS 3.5.x stable-3_5_0 (padrão) 1.2.0.0
OJS 3.4.x stable-3_4_0 1.1.0.0

Instalação

Instale em Configurações → Website → Plugins → Enviar um novo plugin, ou extraia a pasta em plugins/generic/ (ficando plugins/generic/viewcounter/). Depois ative o Contador de visualizações na lista de plugins Genéricos.

Configuração

Em Configurações → Website → Plugins → Contador de visualizações → Configurações, escolha exibir no resumo (listas) e/ou na página do artigo (padrão: ambos ativos). Ao salvar, o cache de templates é limpo automaticamente.

Créditos e autoria

  • Mantido pela OJSBR — reescrita e adaptação para OJS 3.4/3.5.
  • Trabalho original: contador de acessos/downloads do OJS 3.3 da STI-FFLCH/USP (Seção Técnica de Informática da FFLCH/USP) e do ABCD/USP (Agência de Bibliotecas e Coleções Digitais da USP). Repositórios abertos da FFLCH: https://github.com/fflch.
  • Distribuído sob a GNU GPL v3, coerente com o licenciamento original.

Licença

Distribuído sob a GNU GPL v3. Veja LICENSE e docs/COPYING.

About

OJS plugin: shows article abstract views and downloads on summaries and article pages (OJS 3.4/3.5). By OJSBR.

Topics

Resources

License

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors