ORCID Plugin - ORCID iD Not Retrieved After Connecting/Registering

@kksabu
the error in the log seems to come from a registration Notification plugin
Can you disable it temporarily and let me know, if the problem still exist ?
By the way, Which API you are using in your setting ?

I have disabled the Registration notification plugin and tried again. But the ORCID authorization window turned blank after ā€œauthorizeā€. I am using Public API. For your replyā€¦ Thanks

Hi,
When I edit the ā€œSubmission ORCIDā€ and ā€œRequesting ORCID record accessā€ email templates, the backend email template editor automatically inserts the journal path to the beginning of ORCID authorization URL {$authorOrcidUrl}, and I could only remove this by modifying the database, specifically the message body in ā€œemail settingsā€ table.
Is there such a situation here, because I see entry in the message of @ojknl20

Regards,

I too have the same issue. ORCID authorize link automatically send to authors like this - https://mysite.com/xyz/management/settings/{$authorOrcidUrl}

I have disabled the ORCID plugin, there is no other way around to solve this issue.

hi @drugurkocak and @kksabu

sorry for the late answer.
Just wanted to keep you updated that I am working for a solution to finding errors like this in the orcid plugin in a systematic way.

This is what I ended up doing too.
I did a ā€œSELECT * FROM email_template_settings WHERE setting_value LIKE ā€˜%orcid%ā€™
to find all those settings related to orcid.
Then I edited every setting_value in that table that had the siteā€™s link before the real orcid variable like href=ā€œhttps://www.mysite.org/site/management/settings/{$authorOrcidUrl}ā€
and replaced if with just
href=ā€œ{$authorOrcidUrl}"

then the plugin email templates have correct links in them and we were able to use the orcid plugin.

2 Likes

thanks a lot @ojknl20 for the information. this can be helpful to others too.

Any news or solutions for this problem? when we upgrade to 3.2.0.3, we detected the same problem.

Do you have the newest plugin version and checked the credentials are really correct ?

Ans also the solution provide by @ojknl20

Hi @Dulip_Withanage, @ojknl20
I have made the suggested changes of @ojknl20 in the database yet I am facing the issue. Whenever the author clicks on the link it gives the error message ā€œNot Foundā€.

<p>Dear {$authorName},<br />You have been listed as an author on the manuscript submission "<strong>{$articleTitle}</strong>" to <strong>{$contextName}</strong>. <br />To confirm your authorship, please add your ORCID id to this submission by visiting the link provided below.<br /><br /><a href="{$authorOrcidUrl}"><img id="orcid-id-logo" style="display: block; margin: 0 .5em 0 0; padding: 0; float: left;" src="https://orcid.org/sites/default/files/images/orcid_16x16.png" alt="ORCID iD icon" width="16" height="16" />Register or connect your ORCID iD</a><br /><a href="https://journal.seisense.com/index.php/jom/management/settings/{$orcidAboutUrl}">More information about ORCID at {$contextName}</a></p>

Is there any other way like getting an update in the plugin itself to fix this issue?
Thanks

@seisense

just to confirm again , which version of the plugin are you having?

this is not direclty related with the plugin, it seems that the email template is changed. Can you confirm, it did not change.

I hereby confirm that the above solution by @ojknl20 has worked for me.
@Dulip_Withanage Yes, I have added a few lines to the email template but never changed the default links to ORCID.
Moreover, I believe these email templates should have come with the installation of ORCID profile plugin. Correct me if I am wrong?
Thanks

Iā€™m having this problem too. I fixed the {$authorOrcidUrl} link by editing the database, as mentioned above, but canā€™t find how to fix the problem with the {$orcidAboutUrl} link.

My plugin is 1.1.2.3 and doesnā€™t say thereā€™s an update available. Iā€™m on OJS 3.2.0.3.

Did you try for the other links to make similar changes?
Like a href=ā€œhttps://journal.seisense.com/index.php/jom/management/settings/{$orcidAboutUrl}ā€
needs to become
href=ā€œ{$orcidAboutUrl}ā€

Yes, but that link is correct in the database. Very strange!

That is strange indeed. That one would be okay and the others not. In my case they were all wrong. If I remember correctly, I had more than one row/entry in the database that I needed to fix. Did you check all the search results in the database table that include orcid?

Found it! I had missed the link in one of the languages.

1 Like

IĀ“m having the same problem with my journal. I tried to fix it by modifying the email template but it did not work. I donĀ“t know if IĀ“m missing anything about the changes in the emailā€¦ I appreciate if anyone can help me.

Me too. I thought Iā€™d try the Orcid plugin hoping that it would work now in OJS 3.2.1.1 (Orcid Plugin v 1.1.2.5). I am getting the same problem. The link it sends has the journalā€™s URL appended to the front and if I edit the email template to get rid of it, it just adds it right back in.

I have never had an easy time with the Orcid plugin. I think I will turn it off and leave it off this time.