Skip to content

OJSBR/ojsbrFilenameRename

Repository files navigation

OJSBR Filename Rename — 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 renames the file delivered to the user at download time, without patching the core. The file stored on disk and the name shown in the editorial interface are not changed — only the Content-Disposition of the HTTP response is adjusted at runtime.

It works through the native File::download hook and supports two naming modes, configurable per journal:

  • Defaultsubmissao-{submissionId}-arquivo-{submissionFileId}.{ext}
  • Numbers only{submissionId}-{submissionFileId}.{ext}

Developed and maintained by OJSBR. See the Credits & authorship section below.

Compatibility & branches

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

Both branches share the same feature set (settings form + two naming modes); they differ only in the OJS version they target. Also works on OPS 3.5.x.

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/ojsbrFilenameRename/.
  3. Enable OJSBR — Rename files on download under the Generic plugins list.

Configuration

Open the plugin Settings and choose the filename format: unchecked → default format submissao-{id}-arquivo-{id}.{ext}; Numbers only checked → {id}-{id}.{ext}.

Credits & authorship

  • Developed and maintained by OJSBR — original plugin.
  • Distributed under the GNU GPL v3.

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 renomeia o arquivo entregue ao usuário no momento do download, sem alterar o core. O arquivo no disco e o nome exibido na interface editorial não são alterados — apenas o Content-Disposition da resposta HTTP é ajustado em tempo de execução. Funciona pelo hook nativo File::download, com dois modos configuráveis por revista: Padrão (submissao-{submissionId}-arquivo-{submissionFileId}.{ext}) e Somente números ({submissionId}-{submissionFileId}.{ext}).

Desenvolvido e mantido pela OJSBR. 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.1.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/ojsbrFilenameRename/). Depois ative o OJSBR — Rename files on download na lista de plugins Genéricos.

Créditos e autoria

  • Desenvolvido e mantido pela OJSBR — plugin autoral.
  • Distribuído sob a GNU GPL v3.

Licença

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

About

OJS 3.4/3.5 plugin: renames the file delivered on download (configurable pattern). By OJSBR. · Plugin OJS 3.4/3.5: renomeia o arquivo entregue no download (padrão configurável). Autoral OJSBR.

Topics

Resources

License

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors