Good day! Can you help me?
With the help of an example. What does username[MyJournal_path] mean in MyJournal_path?
The file system? /var/www/eaxample/site… or a URL?
If URL:
https://www.example.com/index.php/example
OR
www.example.com/index.php/example
if file system
/var/www/html/ojs-3.3.0-13/public/journals/10
OR
???
Thank you in advance for your answers.
Important:
Note that this feature is only available in the latest pre-release of the plugin. If you are using v1.0.5-1 or earlier, only the single username
and password
for all journals is available in config.inc.php. If you are using the pre-release version of the plugin, you can also set the username and password per-journal directly in the plugin settings, skipping config.inc.php entirely.
For the pre-release version:
The “MyJournal_path” refers to the same pattern as is present in the base_url
configration, earlier in config.inc.php.
; Base URL override settings: Entries like the following examples can
; be used to override the base URLs used by OJS. If you want to use a
; proxy to rewrite URLs to OJS, configure your proxy's URL here.
; Syntax: base_url[journal_path] = http://www.myUrl.com
; To override URLs that aren't part of a particular journal, use a
; journal_path of "index".
; Examples:
; base_url[index] = http://www.myUrl.com
; base_url[myJournal] = http://www.myUrl.com/myJournal
; base_url[myOtherJournal] = http://myOtherJournal.myUrl.com
If you have configured:
base_url[myJournal] = https://www.myUrl.com/myJournal
then, you can configure an iThenticate username/password specific to myJournal
with:
username[myJournal] = myJournalUser
password[myJournal] = myPassword
Using the username
and password
settings without specifying a journal path will apply to all journals which don’t have a path-based setting to supersede it.
I have question, if i have more journals in ojs, what is the configuration?
The plugin will automatically recreate a folder in iThenticate for each journal. In v.1.0.5-1 release, only the site-wide credentials will be used to connect. In future releases, you can configure different credentials for each journal.