OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Delayed Open Access

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

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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

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.

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 OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Delayed Open Access

Postby gbnitram » Sat May 05, 2007 11:18 am

The 24 month max limit can be changed in the source code, right? I assume that there will be no problems in changing this. Do I have to worry about something in changing this?

Thank you!
gbnitram
 
Posts: 8
Joined: Sat May 05, 2007 11:07 am

Postby asmecher » Mon May 07, 2007 9:14 am

Hi gbnitram,

What 24 month limit are you referring to?

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8466
Joined: Wed Aug 10, 2005 12:56 pm

Re: Delayed Open Access

Postby bdgregg » Tue Oct 20, 2009 11:46 am

Alec,

The "Delayed Open Access" option when you enable subscriptions is where this shows up. I have just been asked to increase this to 36 months here on one of our journals. I have not started to look for this in the code as of yet but will be soon. Since this is a drop down list from 1 to 24 Months you can not just add say 36 to list. Might I suggest a code change to make this an input box vs. a drop down list so that we can just enter a number instead of picking one? The URL would be /ojs/index.php/{JournalName}/manager/subscriptionPolicies

This is under Subscription Policies and is this way for version 2.3.0 as well.

Thanks,
Brian.
bdgregg
 
Posts: 117
Joined: Wed Sep 15, 2004 8:21 am
Location: University of Pittsburgh

Re: Delayed Open Access

Postby bdgregg » Thu Oct 22, 2009 7:02 am

Alright I found where to increase the 24 to what ever number.

in '/ojs/classes/subscription/form' directory there is a file called 'SubscriptionPolicyForm.inc.php'

Modify the line containing the following:
Code: Select all
define('SUBSCRIPTION_OPEN_ACCESS_DELAY_MAX', '24');

to
Code: Select all
define('SUBSCRIPTION_OPEN_ACCESS_DELAY_MAX', '48');


Hope this helps others who have a requirement for extending the embargo base 2 years.

Note that there are some other hardcoded settings there as well...
Code: Select all
define('SUBSCRIPTION_OPEN_ACCESS_DELAY_MIN', '0');
define('SUBSCRIPTION_OPEN_ACCESS_DELAY_MAX', '48');
define('SUBSCRIPTION_EXPIRY_REMINDER_BEFORE_MONTHS_MIN', '1');
define('SUBSCRIPTION_EXPIRY_REMINDER_BEFORE_MONTHS_MAX', '12');
define('SUBSCRIPTION_EXPIRY_REMINDER_BEFORE_WEEKS_MIN', '0');
define('SUBSCRIPTION_EXPIRY_REMINDER_BEFORE_WEEKS_MAX', '3');
define('SUBSCRIPTION_EXPIRY_REMINDER_AFTER_MONTHS_MIN', '1');
define('SUBSCRIPTION_EXPIRY_REMINDER_AFTER_MONTHS_MAX', '12');
define('SUBSCRIPTION_EXPIRY_REMINDER_AFTER_WEEKS_MIN', '0');
define('SUBSCRIPTION_EXPIRY_REMINDER_AFTER_WEEKS_MAX', '3');


Thanks,
Brian Gregg.
bdgregg
 
Posts: 117
Joined: Wed Sep 15, 2004 8:21 am
Location: University of Pittsburgh


Return to OJS Technical Support

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 3 guests