You are viewing the PKP Support Forum | PKP Home Wiki

One-click review

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

One-click review

Postby m.giordano » Mon Jan 21, 2008 10:51 am

Hi all,

we would like to enable one-click review as explained in page 35 of the manual, but even flagging the related option in the Setup->Review page, it doesn't seem to work: the reviewer receives a mail taken from the REVIEW_REQUEST template.

Then we tried a dirty trick to force the use of 'one click' template writing in line 240 of file TrackDirectorAction.inc.php the constant REVIEW_REQUEST_ONECLICK for both branches of conditional expression.
The result is that the one-click template is used, but the link in the mail doesn't seem to provide any credential, thus the login page is displayed.

Any suggestion?

Posts: 29
Joined: Wed Jan 09, 2008 4:02 am

Re: One-click review

Postby m.gori » Wed Jan 23, 2008 10:04 am

Hi guys,

eventually I could find where the problem is.. just a little bug, enough to virtually disable this feature though.

Inside "TrackDirectorAction.inc.php" - notifyReviewer function - at line 230 there was:

$reviewerAccessKeysEnabled = $conference->getSetting('reviewerAccessKeysEnabled');

where instead it should be:

$reviewerAccessKeysEnabled = $schedConf->getSetting('reviewerAccessKeysEnabled');

In other words, that line was telling the system to find a setting belonging to the general conference, whereas it actually belongs only to the specific scheduled one.
This meant that the real setting, in that context, was basically ignored and so the one-click feature could not work.

Same problem with remindReviewer, some lines below.
Now it works fine ... :mrgreen:

Hope this could help other guys and OCS developer as well, of course.

Posts: 8
Joined: Thu Dec 20, 2007 7:23 am

Re: One-click review

Postby jmacgreg » Wed Jan 23, 2008 10:26 am

Hi Marco,

Many thanks! I'll be passing this along.

Posts: 4162
Joined: Tue Feb 14, 2006 10:50 am

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest