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

[OJS 2.4.x] Public Profile link from comments is broken #2348

Closed
ctgraham opened this issue Mar 9, 2017 · 1 comment
Closed

[OJS 2.4.x] Public Profile link from comments is broken #2348

ctgraham opened this issue Mar 9, 2017 · 1 comment
Assignees
Milestone

Comments

@ctgraham
Copy link
Collaborator

ctgraham commented Mar 9, 2017

In templates/comment/comments.tpl, each call to {translate key="comments.authenticated" ... } is missing the publicProfileUrl parameter. As a result, the links to authenticated user names from .../comments/view/... all hyperlink as <a href="{$publicProfileUrl}">. See: http://forum.pkp.sfu.ca/t/how-to-get-the-public-user-profil-url/29106/10?u=ctgraham

Exists at:
https://github.com/pkp/ojs/blob/f0f718d51ce912ac99acc4bd94496147d2ae2cdf/templates/comment/comments.tpl#L33
https://github.com/pkp/ojs/blob/f0f718d51ce912ac99acc4bd94496147d2ae2cdf/templates/comment/comments.tpl#L90
https://github.com/pkp/ojs/blob/f0f718d51ce912ac99acc4bd94496147d2ae2cdf/templates/comment/comments.tpl#L132

@asmecher
Copy link
Member

Thanks, @ctgraham, I've merged your PR and cherry-picked across to ojs-stable-2_4_8. As you've noted, this is a pretty rarely executed backwater.

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

2 participants