Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
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, michael, jheckman, barbarah, btbell, bdgregg, 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.
by apsc » Tue Mar 21, 2006 8:53 pm
I am working on an application portal that will store my user names and passwords. So the next time I wanna access any application, I'll just have to log in once to my portal and the portal will access the user's "password database" to retrieve the user name and password for the respective selected applications.
Therefore, I will need to do modifications onto the login procedure of the OJS. I will first be sending token variables when accessing the url site of OJS. But with the structure which OJS is built on which the first page is index.html, I am wondering if there's a way or files to be modified in certain procedures that will support this kinda express login
e.g. URL:
http://www.bossard.com.sg/OJS?user=apsc?passwd=1234
PatriX
-
apsc
-
- Posts: 18
- Joined: Mon Mar 06, 2006 2:56 am
-
by asmecher » Wed Mar 22, 2006 12:13 pm
Hi apsc,
There are potential security problems with this approach; however, if you use http://www.my-ojs-server.com/index.php/index/login/signIn?username=my_username&password=my_password you should be able to achieve the sort of thing you're looking for. For a more integrated approach, OJS supports authentication plugins; see classes/plugins/AuthPlugin.inc.php and, for an example, plugins/auth/ldap/* (this is an LDAP authentication plugin).
Regards,
Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5768
- Joined: Wed Aug 10, 2005 12:56 pm
-
by apsc » Mon Mar 27, 2006 2:29 am
The express reply worked smoothly, furthermore because of processing by php, the username/passwords are not displayed onto the address bar which made it even better.
So is it possible instead with the header and side bar loaded. is there a specific URL of the "frame" that displays the main content exculding the header and side bars. Or I'll have to do editing onto the codes to remove the header n side bars ?
Is there any direct link to the main body frame instead? thanks!
PatriX
-
apsc
-
- Posts: 18
- Joined: Mon Mar 06, 2006 2:56 am
-
by asmecher » Mon Mar 27, 2006 10:04 am
Hi apsc,
The sidebar etc. aren't frames, they're divs, and thus are all in the same HTML page as served by PHP; You'll need to modify the templates (e.g. templates/common/header.tpl).
Regards,
Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5768
- Joined: Wed Aug 10, 2005 12:56 pm
-
by apsc » Mon Mar 27, 2006 8:16 pm
Actually I am considering amending the <DIV> tags into frames instead. I understand upon accessing index.php, initializations and page calls will be executed.
I am wondering where are the codes which specify the header.tpl to be called upon? Then I can alter the header.tpl into 3 sections.
PatriX
-
apsc
-
- Posts: 18
- Joined: Mon Mar 06, 2006 2:56 am
-
by apsc » Wed Mar 29, 2006 6:49 pm
As of now, I am trying to use iframes to slot OJS into my portal page. But with the username/password tagged URL, it seems that php cannot synchronize with the C# nature or iframe is able to retrieve the
?username=admin&password=password information tags.
is there anyway to go around the issue?
PatriX
-
apsc
-
- Posts: 18
- Joined: Mon Mar 06, 2006 2:56 am
-
by asmecher » Mon Apr 03, 2006 2:57 pm
Hi apsc,
Each iframes is retrieved with a different request to the web server -- for example, if you separate your sidebar and header into two iframes, your browser will have three separate requests to the server for the main page, sidebar, and header. Passing parameters properly between these iframes is a non-trivial task, particularly when you run into forms. I'd suggest using a different approach.
Regards,
Alec Smecher
Open Journal Systems Team
-
asmecher
-
- Posts: 5768
- Joined: Wed Aug 10, 2005 12:56 pm
-
Return to OJS Technical Support
Who is online
Users browsing this forum: Google [Bot] and 3 guests