Skip to content

Conversation

@saddamalsalfi
Copy link

Summary (TL;DR)
Upgrade Plum Analytics plugin for OJS 3.4.x / 3.5, add Arabic locale, PHP 7/8+ compatibility tweaks, and documentation/attribution. No DB/schema changes. License unchanged (GPL-2.0-or-later).

What’s changed

Bump version.xml → 1.6.1.0 and 2025-08-24.

PHP compatibility: add return type hints (e.g. register(): bool, getTemplatePath(): string, etc.).

Keep lazy-load behaviour; no changes in plugin settings keys.

Locales: add locale/ar/locale.po (keys mirrored to en).

Docs: update README with attribution, add CHANGELOG.md and CITATION.cff.

No changes to license headers (still GPL-2.0-or-later).

Compatibility

Target: OJS 3.4.x (tested) and 3.5 (intended; please validate).

PHP: tested on PHP 8.1/8.2 (syntax/type hints only; no BC breaks expected).

How I tested

Built a proper OJS package (.tar.gz) with a top-level folder plumAnalytics/ only.

Installed via Website → Plugins → Upload a New Plugin.

Enabled the plugin, verified settings open & save, and widgets render on article pages without errors.

Cleared caches and checked error logs (no new warnings).

Packaging note
If useful for reviewers, I can attach the .tar.gz built with the correct folder structure (plumAnalytics/) or publish it in a GitHub Release.

Attribution
Unofficial fork of ulsdevteam/ojs-plum-plugin. Upgraded/maintained for OJS 3.4/3.5 by Saddam Al-Salfi.
Contact: saddamalsalfi@qau.edu.ye
— Queen Arwa University.

Checklist

version.xml updated (release/date/class).

License preserved (GPL-2.0-or-later) + original notices intact.

Tarball packs a single top-level folder plumAnalytics/.

Locales validated (ar keys = en keys).

Smoke-tests on OJS 3.4.x, PHP 8.1/8.2.

Further validation on OJS 3.5 by maintainers.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants