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

Altmetric box not displaying on HTTPS #3

Closed
RedHaxor opened this issue Mar 16, 2018 · 1 comment
Closed

Altmetric box not displaying on HTTPS #3

RedHaxor opened this issue Mar 16, 2018 · 1 comment

Comments

@RedHaxor
Copy link

@RedHaxor RedHaxor commented Mar 16, 2018

the line in the Altmetrics.pm

return 0 if $self->{session}->get_secure;

Means the altmetrics box will not display on any https pages (or pages that were rendered/generated over https).

this line was found to work to keep the Box out of the preview screen:
return 0 if $self->{session}->is_online && $self->{session}->param("screen") eq "EPrint::View";

See the Mailing list for discussion based on this:
http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/2018-February/007179.html

Monica

@jesusbagpuss
Copy link
Contributor

@jesusbagpuss jesusbagpuss commented Dec 3, 2021

I think this actioned by: eeaa5cc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants