Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with implementation #1

Open
gabeLon opened this issue Feb 3, 2022 · 5 comments
Open

Help with implementation #1

gabeLon opened this issue Feb 3, 2022 · 5 comments

Comments

@gabeLon
Copy link

gabeLon commented Feb 3, 2022

Hi, would like to ask you for some guidance to implement this plugin on our journal (OJS version 3.1.2)

By now I have installed the plugin on plugin/generic/badges directory and activated it through OJS admin Website settings > plugins.
On curious thing is that after activating it, changes made on Badges plugin settings (i.e. activating Show Dimensions badge or any other) do not get saved y I try to go settings afterwards.

I have modified our current ojs theme (https://github.com/Vitaliy-1/oldGregg) on
templates/frontend/objects/article_details.tpl, adding this line of code:
{call_hook name="Templates::Article::Details"}

Our journal has active Crossref DOI and we where also able to implement Paperbuzz Plugin.

Thanks in advance.

@gonetil
Copy link
Collaborator

gonetil commented Feb 4, 2022

Hi @gabeLon .
have you checked your server logs? Maybe there is some clue there that points to the issue while saving settings.
Let me know how it goes!

@diegomejia071
Copy link

Hi @gonetil, the same problem as @gabeLon happens to me in my OJS version 3.2.1.4.

I have already installed the plugin v1.0.1.0 in the plugin/generic/badges directory and activated it through the OJS administrator website settings > plugins. But after activating it, the changes made to the Badges plugin settings (i.e. activating the Show Dimensions badge or any other) are not saved.

I don't know if @gabeLon can solve this problem.

Nothing strange is shown in the error log, no phpoerror or anything like that is shown.

It only shows a message that is not an error but a warning, but it is more cosmetic I think.

PHP Warning: Declaration of BadgesSettingsForm::execute() should be compatible with Form::execute(...$functionArgs) in /plugins/generic/badges/BadgesSettingsForm.inc.php on line 0

@gonetil
Copy link
Collaborator

gonetil commented May 5, 2022

Hi Diego,
I pushed an updated version of this plugins a few days ago into master branch: d32dd8d

We are using this version on OJS 3.3 . I think it should also work on OJS 3.2 . Please update and let me know.

@diegomejia071
Copy link

Hi @gonetil,

Yes, it works with that update. Thank you very much.

@diegomejia071
Copy link

Hi @gonetil,

I upgraded my platform OJS 3.2.1.4 to version 3.3.0.13.

But the plugin doesn't work and when trying to display the badges and graphics in any summary of an article, it shows me the following error:

https://api.altmetric.com/v1/doi/10.17533/udea.ikala.v27n3a13?callback=_altmetric.embed_callback&domain=revistas.udea.edu.co&key=3c130976ca2b8f2e88f8377633751ba1&cache_until=10-2 net::ERR_ABORTED 404

image

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

No branches or pull requests

3 participants