HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Integrating another PHP script within OCP?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#88099 (In Topic #17890)
Avatar

Community saint

Hi all,

I seem to remember a topic on this a few years ago; however, I was not able to find any posts. That is prolly due to my search skills. :$

I have a client how wants to know if they can integrate, or possibly wrap OCP around another script.

From my discussions with her, what she wants to do is use the welcome zone as the entry point, and wrap logins into OCP. The script is a Real Estate (estate agents) script with db. What she wants me to accomplish is a single login to both scripts.

Is that possible?

Any advise, as usual, is greatly appreciated.
Back to the top
 
Posted
Rating:
#88104
Avatar

Community saint

That sounds more of complex answer that would need more information to be clear about the scope of the project I think. I will let Chris answer you what he thinks but I believe with a little work the basics of what you're asking can be done. The question is how much of each system do you want to use? What portions of oocPortal are responsible for what and what part of the  realestate database is to be used for what? ocPortal supports LDAP so if it is for the agents domain logins then  your most of the way there I think?
Back to the top
 
Posted
Rating:
#88107
Avatar

Community saint

Thanks, Duck. I did something similar a few years back; however, I can't remember exactly what I did. Getting old is hell.  :o

It is a complete script that allows people to list properties, offer investments, etc. She really just wants one login. I don't think it would be a major issue to have her script occupy the welcome zone with a seperate login to the OCF. She does want the one login, if possible.

If anything about what I did years ago is accurate, it is a simple matter of passing the login information between scripts.


Last edit: by psydoc
Back to the top
 
Posted
Rating:
#88121
Avatar

Community saint

psydoc said

I seem to remember a topic on this a few years ago; however, I was not able to find any posts. That is prolly due to my search skills.
Maybe you're just not searching far back enough. The search defaults to the last 60 days only

psydoc said

Is that possible?.
Shouldn't be too difficult I would think.

psydoc said

If anything about what I did years ago is accurate, it is a simple matter of passing the login information between scripts.
That sounds about right.

Depending on how the other script is integrated/accessible you probably don't even need to worry about logging out from the other script if it can only be accessed through ocportal.


Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#88127
Avatar

ocPortal.com - ocPortal Tutorial: Integration of ocPortal and other installed scripts/applications

I would probably say you need to link in the script as a minimodule.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#88136
Avatar

Community saint

 :thumbs:  :thumbs: Thank you, Chris…that was how I did it before.

Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: