Zenario allows you to set up two or more extranet sites, in which the user data on both sites is kept in sync.
It allows you to set up a syndicated-authentication system for extranet user authentication.
This is currently possible where:
There is presently no http-based API connection.
There can only be one Hub site.
You may create extranet users on the Hub, and they may be able to log in to the hub and perform usual personal administration functions (subject to the extranet plugins that you make available, e.g. sign-up, login, recover password, change password, change profile, etc.).
All administration is available; administrators will have usual access to all Hub users.
Users on the hub site will have their data automatically synchronised out to Satellite sites.
There can be one or more Satellite sites.
You may create extranet users on the Satellite, and these people may be able to perform usual personal administration functions, again subject to the extranet plugins on the Satellite's front-end.
In Organizer, two kinds of users may be administered:
The synchronisation works like this:
It is recommended that you configure the sites before making creating any users on the Satellite sites to avoid errors such as duplicate screen names.
If you have already created some users on your Hub site, or if you wish to add a new Satellite site into an existing system then this is not a problem, as long as no users have been created on the Satellite site being added.
You should install and set up the sites as normal (i.e. create a domain name, install the software, create an empty database, run the installer... and so on).
The sites need not be on the same server, but they do need to connect to each other's databases using mysqli_connect().
In the CMS-root directory of your CMS installations, you will need to create a file called zenario_usersync_config.php. (I.e. it should be in the same directory as your zenario_siteconfig.php file).
The format of the zenario_usersync_config.php file is as follows:
<?php $hub = array( 'DBHOST' => 'host_for_hub_site', 'DBNAME' => 'dbname_for_hub_site', 'DBUSER' => 'db_user_for_hub_site', 'DBPASS' => 'password_for_hub_site', 'DB_NAME_PREFIX' => 'zenario_'); $satellites = array( array( 'DBHOST' => 'host_for_satellite_site_1', 'DBNAME' => 'dbname_for_satellite_site_1', 'DBUSER' => 'db_user_for_satellite_site_1', 'DBPASS' => 'password_for_satellite_site_1', 'DB_NAME_PREFIX' => 'zenario_'), array( 'DBHOST' => 'host_for_satellite_site_2', 'DBNAME' => 'dbname_for_satellite_site_2', 'DBUSER' => 'db_user_for_satellite_site_2', 'DBPASS' => 'password_for_satellite_site_2', 'DB_NAME_PREFIX' => 'zenario_') //, ... );
You must have one and only one hub site defined, and one or more satellite sites defined.
You should replace the text in italics with the database connection information for each site.
This file should be copied into the CMS-root directory of each site you wish to set up, and the contents of the file must be the same for each site!
You will need to run the Pro Features, Users and Scheduled Task Manager modules.
Go to Under the hood -> Set-up -> Scheduled Tasks. You will need to: