Several sites sharing CB?

18 years 5 months ago #1138 by mikko
Several sites sharing CB? was created by mikko
Hello

I am planning on running several Joomla sites on a shared server and have all the sites share the same CB users. The users do not need to be able to login from different sites, but their profiles must be accessible through every site.

I am pretty sure that this is not a supported configuration, but needs a hack. Any comments on the following:

1) Replace all but one CB and user tables by updateable views to the remaining set of tables

2) Modifying Joomla/CB code to point to one set of CB and user tables

3) Have separate databases and write a synchronization plugin

-mikko

Please Log in to join the conversation.

18 years 4 months ago #2045 by jaydrea05
Replied by jaydrea05 on topic Re:Several sites sharing CB?
hi, good point,i was thinking about the same thing:P Anyone?

Please Log in to join the conversation.

18 years 4 months ago #2048 by Caspar
Replied by Caspar on topic Re:Several sites sharing CB?
I don't think it would be very easy to accomplish. The database joomla accesses is stored in the configuration file, so you would need to rewrite most of community builder to get access to different databases.

All the $database variables need to removed and be replaced by the code to access the same database while the main page still access the normal database.

Do me a favour an go to www.st-sebastian-beckum.de and click on the green image, which says TOP 50 and vote for the page. Thanks!

Please Log in to join the conversation.

18 years 4 months ago #2057 by mikko
Replied by mikko on topic Re:Several sites sharing CB?
I am pretty sure that the option 1 would be easy to implement if the mysql version supports updateable views.

I will propably set up such a solution in a couple of months if better solutions do not come around.

mikko

Please Log in to join the conversation.

18 years 4 months ago #2609 by hfhs
Replied by hfhs on topic Re:Several sites sharing CB?
I would like to do the same.

Is it possible to import the users from one site to another?

Don

Please Log in to join the conversation.

18 years 4 months ago #2610 by mikko
Replied by mikko on topic Re:Several sites sharing CB?
Yes, but you have to do this at the database level, so some expertise is needed.

-mikko

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.271 seconds

Facebook Twitter LinkedIn