English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12
TOPIC: Master DB and Community Builder Login
#5794
Master DB and Community Builder Login 14 Years, 1 Month ago Karma: 0
Hi Edwin,

I have the following configuration

Master website www.maindomain.com
* this is the main db (masterdb)
* this db will hold all the users for websites being created as slaves etc
* installed community builder, docman and virtuemart
Demo Website = demo.maindomain.com
* seperate DB (demodb)
* Fresh slave site installation
* this website has own images, site template folder
* uses article sharing from master website
* installed cb sharing from master
* front login for community builder users
Demo1 Website = demo1.maindomain.com
* seperate DB (demodb1)
* replication of demo website
* this website has own images, site template folder
* uses article sharing from master website
* front login for community builder users

My problem is:

I have created a user on master website and it logins in fine from the front end and can access the user menu. BUT on demo website the user does not login.
Once the demo site is working, I will be using this site to replicate many websites.(demo1)

My question is:

For user sharing, do you have to use the same database (i.e masterdb) or only have cb sharing from master?
To install a "fresh slave site" this does not allow you to choose the users under the sharing tab.

I look forward to your reply.
Regards Carmen
carmenswart
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Gender: Female netplus247 Birthday: 01/02
The administrator has disabled public write access.
 
#5802
Re: Master DB and Community Builder Login 14 Years, 1 Month ago Karma: 54
You can share the users between different DB but you need to have a MySQL user that has the access on the both DBs.
When you have created the slave site, verify that the MySQL tables for the users, session and core_acl_% are correctly shared.

In general this is easier to use the same DB as by definition you are using the same MySQL users that have the privilieges on both website tables prefix.

If you create a fresh slave site, it is not possible to share the users as the MySQL "#__users" table is created by the Joomla installation.

You have the tutorial video 16 that give a sample on how to share the users.
www.jms2win.com/tutorial#jms12x-16
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5805
Re: Master DB and Community Builder Login 14 Years, 1 Month ago Karma: 0
Hi Edwin,
Thank you for your reply.

I have virtuemart installed on the master. So where would the users be created? On the master or the slave sites? In reference to the below config.

Rgds Carmen
carmenswart
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Gender: Female netplus247 Birthday: 01/02
The administrator has disabled public write access.
 
#5807
Re: Master DB and Community Builder Login 14 Years, 1 Month ago Karma: 0
Hi Edwin,

This is ultimately what I am trying to achieve:

Master DB -> this has DocMan, Community Builder and VirtueMart, Articles and Contacts ( so lets call it HEAD OFFICE)
www.headoffice.com

Slave DB -> Lets call this BRANCH 1, this branch has access to the VM Shopping cart, links to the articles, and has access to the documents in Doc Man in the master website. The user can logon via their own website and have access to buying products and downloading docs from the master DB.
branch1.headoffice.com

From what I understand from your videos, tutorials and manuals, this is how i need to do it.

Master DB - HEAD OFFICE, install DocMan, Community Builder and VirtueMart, Articles and Contacts.
www.headoffice.com

Replicate Master DB - call it SHOP - Install fresh DocMan, Community Builder and VirtueMart. The share articles and share contacts from master.
shop.headoffice.com

Then replicate the SHOP to become the BRANCH Website.

Please let me know if this is correct or not?

Thanks
Carmen
carmenswart
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Gender: Female netplus247 Birthday: 01/02
The administrator has disabled public write access.
 
#5813
Re: Master DB and Community Builder Login 14 Years, 1 Month ago Karma: 54
The users are store in the DB of the slave site.
If you share the user, it mights be stored into another slave site.

So if you don't share anything, the users are stored in each website like if you had standalone joomla.

Something that you have not described is which website shared the users with the other website.
I suppose that you have created the branch 1 with the sharing of the user in the master.
So branch1 is a clone of the master.

So if branch 1 is a replication of the master with sharing of the users, sharing of VM then the users can login in both the master and in the branch1.
As docMan is an extension that can not be share but that use a "dmdocument" directory to store the documentation, it is possible that both the website access the same directory.


If you simply clone the master website without sharing anything then you have speciifc slaves and the users are stored in each slave site.
So if the website are independ, their info comes from their own DB and table prefix.
In the case where files are stored in the disk, they might be shared (case of DocMan whe you don't provide specific document folder).

Your description is not clear and seems have confusion between the master and the branch.
The point that you have to clarify is what you expect and what you want to share.
At the original the question was related to the sharing of the users and now you seems try create specific slave site.
When you say user can logon in their "branch" slave site and buy product, I suppose you mean used VM to buy the product. In this case they can download from product from a speciific place for each website. See the VM confg.
Idem for the DocMan that can have specific "dmdocument" directory. See its own config.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5825
Re: Master DB and Community Builder Login 14 Years, 1 Month ago Karma: 0
Hi Edwin.

This is what I require:

Master Website
This is will hold : Articles, Doc Man, VM, CB, Main Menu Modules
Hold all users

Branch Website
This needs to update automatically when head office updates the articles, BUT also have the ability add own articles to new menu items.
Ability to login in to VM and DOC Man from own website
Ability to change template.

I tried replicate master, but it doesnt allow me to change template and add own articles and menu module. It puts it on both master and branch.
I tried fresh slave install, but this does not allow me share users.

So, do I need to do this ??:


Create MASTER DB with articles, install VM, Doc Man and CB
Create FRESH SLAVE, use Article Sharing and Menu Items. Then SHARE VM and Doc Man and CB here.
Add new users here and not the MASTER.
Then replicate the FRESH SLAVE install to become the 1st Branch website.

I hope i am little bit more clear here ? lol!!
C
carmenswart
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Gender: Female netplus247 Birthday: 01/02
The administrator has disabled public write access.
 
Go to topPage: 12
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla