Forums / Cotonti / General / Trouble with using same user table on two sites

using two or more domains to show unique content

singh336
#12082 2009-05-05 17:08
# Lombi : Well what you could dois really simple. You stick all your sites into one database, effectively giving each one their own prefix (instead of ldu_ you do site1_ or something in this matter)

So then you share auth, users, pages, forum_topics, forum_sections, forum_posts which will make all the sites use them (same users across all sites, same pages and forums)



I'll ask more about this later, I know the CMS will be able to red tables with th prefix u tell it to, but dont all the tables have to have the "same prefix"

for example if your telling the site to read the DB with a prefix of site1_ and some tables like the users and stuff dont have a prefix, will the site automatically see those and read them anywyas ?if so then it makes perfect sense how they can share the tables across sites, but otherwise not really sure..

Anyhow thats all I need to know for now, the rest i can figure out as I get there.. Thanks for the tips and I will be back shortly after i begin the upgrade process, I just pray to god I dont kill my DB i cant afford to loose that
<a href="http://www.streetlegalmods.com/">http://www.streetlegalmods.com/</a>

Dit bericht is bewerkt door singh336 (2009-05-05 17:12, 14 jaren ago)