OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



'Reviewer' checkbox

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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

'Reviewer' checkbox

Postby m.giordano » Thu Jan 10, 2008 6:34 am

Hi all,

how do I disable 'Reviewer' checkbox in the 'Edit My Profile' page?
I don't want users to have the chance to enroll themselves as Reviewer, as we prefer that Reviewers are selected and enrolled by Directors.

Thanks and regards

Marco
m.giordano
 
Posts: 29
Joined: Wed Jan 09, 2008 4:02 am

Re: 'Reviewer' checkbox

Postby jmacgreg » Thu Jan 10, 2008 1:22 pm

Hi Marco,

As a quick hack, open up templates/user/profile.tpl

and remove the following lines:

Code: Select all
                        {if $allowRegReviewer}
                                <input type="checkbox" id="reviewerRole" name="reviewerRole" {if $isReviewer}checked="true" {/if}>&nbsp;{fieldLabel name="reviewerRole" key="user.role.reviewer"}<br/>
                        {/if}


Around line 115.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: 'Reviewer' checkbox

Postby jmacgreg » Thu Jan 10, 2008 11:18 pm

Hi Marco,

There's actually another way to do this, without having to modify the source code. The reviewer registration dates are available for setting under Conference Site Management --> Conference Timeline; you can close reviewer registration by changing the dates on the timeline form.

Cheers,
James
jmacgreg
 
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: 'Reviewer' checkbox

Postby m.giordano » Mon Jan 14, 2008 8:40 am

Done, James.

Many thanks.

Marco
m.giordano
 
Posts: 29
Joined: Wed Jan 09, 2008 4:02 am


Return to OCS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest