WikiTips and Tricks ⇒ Installing Multiple Sites to Share Same User Tables in Database  

Glossary
The Project
Install
Dragonfly admin interface
Dragonfly public view
Dragonfly Themes
Build local server
Running Dragonfly CVS
Tips and Tricks
Rules & Regulations
v9 Developer's Manual
v10 Developer's manual
10.7: Installing Multiple Sites to Share Same User Tables in Database Parent

Step 1. Download DragonflyCMS

Step 2. Install DragonflyCMS in your root folder of your hosting account or in a subdomain folder following the regular installation instructions.

Step 3. Repeat step 2 1 time for each website you want to use the same user tables.
Except you are going to use the same database you created for your first site.
Also each site must use different table prefixes inludeing the user prefix must be different for the install.
Make sure each site is uploaded to a different sub domain folder.

Step 4. Make sure you have For each site deleted the install folder and install.php after installation is complete.

Step 5. Cookie Settings for each site:
SERVER_NAME as Cookie Domain = NO
else Cookie domain = you want this to be blank
Cookie Path = /cms1/ (must be different for each site)
Admin cookie name = cms_admin (change cms to something different for each site)
Member cookie name = cms_login (change cms to something different for each site)

Step 6. Delete the user tables that have the prefixes of which you are not using. (SKIP THIS STEP IF YOU ARE NOT AN ADVANCED USER IT IS NOT REQUIRED)

Step 7. You must go to each site and find /includes/config.php edit the user table prefix in the config file for all sites to all be the same user table prefix.

Step 8. Your done. Enjoy!

 
Updated: Wednesday, September 26, 2007 (06:57:42) by tuta
Created:  Tuesday, July 31, 2007 (04:24:12) by Dizfunkshunal

stopsoftwarepatents.eu petition banner

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.1271 seconds with 15 DB Queries in 0.0199 seconds
Memory Usage: 1.48 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy