Jump to content
xisto Community
Sign in to follow this  
richierich1m

Integrating Two Websites

Recommended Posts

Hi Everyone , i currently have two websites which were installed with opensource scripts,now i want the users of one site to be able to access the other site without logging in .see if user A goes to 1 st website and logs in it. use the feature of the website ,then from his account he goes to a link to other site ,i want him to be logged in the other site automatically with the help of his cookie from the first site.i just want the logic for this ,i know only very basic php ,so i would be learning from php tutorials on the internet and doing this . :) can anyone please help me with the basic logicthanks

Edited by BuffaloHELP (see edit history)

Share this post


Link to post
Share on other sites

You don't mention which "Open Source" software packages you are using.Some Forums, for instance, have Mods or extensions which co-ordinate logins.The basics would be to use the login information at the first site and verify that they are capable of being confirmed as a registered user at the second one and then allowing them to access the second site. And the reverse would apply, of course.Post the names of the packages involved and we will see if there is a Module available for this feature.

Share this post


Link to post
Share on other sites

The problem here would be that your current users would need exactly the same account information on both systems. If you wanted one central user system then you would probably have to modify the code of the two systems you want to combine to accept data from your login script. The PHP sessions usually just carry a session ID around the site, allowing you to check who they are and get other temporary information. You would need to make sure that the session variables the data is stored in would match both sites. For example, it's no good storing their username in the variable $username if the other script looks for the variable $userID.As jlhaslip has suggested, many forum scripts, CMSs, blogs etc have scripts written by other people that modify the two scripts to work together. Try looking for these at the two websites for the scripts you are using, or post their names here.

Share this post


Link to post
Share on other sites

the two are opensource scripts are joomla ,and osdate ,and i'll also like to integrate phpfox(its not opensource)thanks for help guys :)


Looks like they are working towards the Integration HERE.

Visit that forum, express your interest, and stay in touch with them. Might need a Beta tester?

Share this post


Link to post
Share on other sites

Looks like they are working towards the Integration HERE.
Visit that forum, express your interest, and stay in touch with them. Might need a Beta tester?

thanks for searching bud,i am already a member at tufat forum and following the post but as i didn't got the solution at tufat or joomla ,i was trying to do it myself learning php (just to learn something new and get it done faster)
thanks again for taking your time :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.