Skip to Content Skip to Menu

One CB db for Ten CB sites?

15 years 6 months ago #78127 by MokumDesign
One CB db for Ten CB sites? was created by MokumDesign
Sounds odd I know!! but I may have a requirement for this.
Let me explain, there will be ten sites all with CB on so that users can register and login (login will be used for docman VM etc) but I want the login to work on all ten sites.
Would this be possible with CB with some modifications?

I can think of maybe using a cron job to run a php file on the server that takes the data from the "Central" CB database and then copies that data into the tables on the other 9 sites. This would be using the tables jos_core_acl_aro, jos_core_acl_groups_aro_map, and jos_users.
But if someone regsiters say on site 8 between the cron jobs..thier login would vanish..

Can anyone see this working?

Regards
Mokum

Post edited by: MokumDesign, at: 2008/10/24 12:06

Please Log in or Create an account to join the conversation.

  • kcfantasy
  • kcfantasy
  • OFFLINE
  • Posts: 24
  • Thanks: 0
  • Karma: 1
15 years 6 months ago #78149 by kcfantasy
Replied by kcfantasy on topic Re:One CB db for Ten CB sites?
I would be interested in your progress as well.

Please Log in or Create an account to join the conversation.

  • hippo
  • hippo
  • OFFLINE
  • Posts: 44
  • Thanks: 2
  • Karma: 0
15 years 6 months ago #78167 by hippo
Replied by hippo on topic Re:One CB db for Ten CB sites?
I'm interested as well, I have a client asking for a dating site with separate sites for the men and women to register. Is it possible for 2 site to use the same database tables at all?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 68605
  • Thanks: 9109
  • Karma: 1434
15 years 6 months ago #78170 by krileon
Replied by krileon on topic Re:One CB db for Ten CB sites?
dev.joomla.org/component/option,com_jd-wiki/Itemid,/id,tips:connect_external_database/

Read up. Same method applies to CB.

Need to find the function for the database call and change it around a bit. So all $database and such call the external database.

Also check out: www.jms2win.com/

Plenty more other resources found with a google search. Hope that helps ya get what ya need. Good luck.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn