Solved

Consolidating databases - opencart/phpbb3/mediaWiki (MySQL)

Posted on 2012-03-09
5
641 Views
Last Modified: 2012-06-27
I am building a site that uses opencart as the main site with links to the wiki (MediaWiki) and the forum (phpbb3). I would like to consolidate everything so the user only has to log in once.

mySQL db.

How can I do this? I will be working with a clean db so no need for user migrations.




thanks
0
Comment
Question by:DantechIT
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:johanntagle
ID: 37704459
What you need to do is implement a single sign-on solution such as openid, CAS or oauth.  Check which one is supported by all 3 (they are usually supported via add-on modules).  Hopefully, there's one openid/cas/oauth implementation that can read from opencart's database.  If not, you need to construct a separate signup solution.
0
 

Author Comment

by:DantechIT
ID: 37706043
So there is no way I can tell it to use the same db  and share the user tables? Like use a different prefix except for the user stuff. Or edit the program to use the same content?
0
 
LVL 24

Accepted Solution

by:
johanntagle earned 500 total points
ID: 37706181
It should be possible, but that will likely mean the user still has to log on when he moves from opencart to the other site.  Unless, you also share the session database.  Using a single sign-on solution is really the way most people would handle such a requirement.
0
 

Author Closing Comment

by:DantechIT
ID: 37761321
I'm having someone code the php to share the data and sessions.
0
 
LVL 24

Expert Comment

by:johanntagle
ID: 37761922
Well, I hope it works out for you.  Just try to make it so that you don't have to recode the solution if and when you upgrade on or more of the components.  Thanks.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now