Marketing multisite

Events happening in the community are now at Drupal community events on www.drupal.org.
drale01's picture

Hi friends,

I want make multisite like this:

  • domain1.com should be site for afiliates. They will be educated there, registered... I'll use Ubercart Afiliates v2 module there. Afiliates would sell products from sites domain2.com, domain3.com,...
  • domain2.com should be site for shoping cart with marketplace for one type of products. I'll use Ubercart and ubercart marketplace modules
  • domain3.com should be site for shoping cart with marketplace for second type of products. I'll use Ubercart and ubercart marketplace modules

In time I'll make some more sites in same way.

All of this should be conected like one.

So help me please with detailed instructions and informations to do this.

Thank you

Comments

Hi again, I installed testing

drale01's picture

Hi again,

I installed testing multisite for this purpose. I have:

domain1.com for main site with domain1SQL base
domain2.com with domain1SQL base
domain3.com with domain2SQL base

And I stuck now.

I need to share users and other elements for affilate selling on all sites. But I don't know how

PLEASE HELP

to share users on all the

zeet's picture

to share users on all the sub-domain you have to share users table,authmap table,sessions table

first you need to create new shared database say shared_sqlbase.move the user table,session table and authmap table from your domain1sql base to shared_sqlbase.delete the users,session,authmap tables from domain2sqlbase and domain3sqlbase. now change the configuration in the settings.php files in all of the domain to point the shared_sqlbase for referring to users,session and authmap tables.

if you'r domain are on one system. just find $db_prefix in your settings.php and replace with code below on all the domain will solve your problem.
$db_prefix = array(
'default' => '',
'authmap' => 'shared_sqlbase.',
'sessions'=> 'shared_sqlbase.',
'users' => 'shared_sqlbase.',
);

It works with some limitation

drale01's picture

Thank you zeet, It works, I tried finishing sharing users tables on this way:

http://drupal.org/node/291373 but this was not working.

Also, I shared some affiliate tables and all afiliates works on every site...

My marketing multisite now can start...

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: