PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Meoff
Hangin' Around


Joined: Aug 05, 2006
Posts: 45
Location: Thailand

PostPosted: Thu Feb 14, 2008 9:20 am Reply with quote Back to top

I've been on a buying binge, registering several .asia domain names related to Thailand, where I am living. (bangkok.asia,phuket.asia,samui.asia, etc).

I'm wanting to know if there is a way to run multiple websites from one database, so that the content would be the same on each site, with slight changes to each theme color scheme, header logo, etc, but using the same theme as a starting point, probably fisubice.

A family of related websites with only one administration would be a wonderful thing!

I've tried searching for this answer, and didn't find anything. Also, I wasn't sure where to put this question, and since I'm asking about multiple themes working at the same time, this seemed to be as good a place as any. If I should have posted somewhere else, accept my apology and feel free to move it.

Thanks in advance for any insight on this!!
View user's profile Send private message Visit poster's website
jakec
Moderator


Joined: Feb 06, 2006
Posts: 1840
Location: United Kingdom

PostPosted: Thu Feb 14, 2008 11:17 am Reply with quote Back to top

I guess you could point the sites to the same database and then adjust the colours of the themes etc within the Theme directory on each site.

Does that make sense?
View user's profile Send private message
Meoff
Hangin' Around


Joined: Aug 05, 2006
Posts: 45
Location: Thailand

PostPosted: Thu Feb 14, 2008 12:23 pm Reply with quote Back to top

Sure... makes sense.

Would it really be that easy?
View user's profile Send private message Visit poster's website
Doulos
Involved
Involved


Joined: Jun 06, 2005
Posts: 370

PostPosted: Thu Feb 14, 2008 6:53 pm Reply with quote Back to top

If you point your sites to the same db, and allow those IP address' and/or domains to contact your MYSQL server (by adding the IP/domain to the access list in cpanel) it is no different than an onsite website connecting to the db. Of course, this assumes you have identical files on all servers. All local content should be customizable within the themes as jakec said. Although, don't listen to me, I am a noob.
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2182
Location: near Albany NY

PostPosted: Thu Feb 14, 2008 7:11 pm Reply with quote Back to top

I just have a "gut" feeling that there could be some unintended consequences of doing this.

For instance anything that is contained within the MYSQL tables will be same for all your sites. Take a look at then config table for instance, you will have the same site name and slogan. Your preferences too will be the same. Your default theme. Whether you are multi-lingual or not. Your groups. Your authors (who your admins are and what they have privileges to). Even your blocks will be the same and be in the same position. If that (and more) is all fine with you then go for it. However, I'm fairly sure you'll find other gotchas as well.
View user's profile Send private message Visit poster's website
Dawg
Life Cycles Becoming CPU Cycles


Joined: Nov 07, 2003
Posts: 557

PostPosted: Thu Feb 14, 2008 9:16 pm Reply with quote Back to top

I have done it and to a point it works. What i did was use a different prefix for the users and the rest of the data (Look in the config) All the users were the same just the data site to site changed.

It worked.....but I quit and went back to individual sites becasue the maintance was going to be too much of a night mare. Any upgrades at all required a complete check. this had to be altered...that had to be altered. It was going to be more than I wanted. I runa network of sites and the way I do it is keep one single code base for all sites. The all run on the same code, same themes, same everything just differnet databases. I also set some $vars in the config files for wording that needed to be changed site to site.

When I do an upgrade now.....I change my Codebase....and then upload to all sites....and away it goes.

Dawg
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4853

PostPosted: Thu Feb 14, 2008 9:31 pm Reply with quote Back to top

This could also cause problems with search engines - essentially this would be duplicate content, which is frowned upon.
View user's profile Send private message
Meoff
Hangin' Around


Joined: Aug 05, 2006
Posts: 45
Location: Thailand

PostPosted: Tue Feb 19, 2008 1:25 pm Reply with quote Back to top

All valid points raised, especially about the content of each being identical. I've imagined the username confusions and consequences of emails generated by the system coming from the "host" name instead of the "mirror" name, etc

So- thanks to all for the wisdom. Especially Dawg- I'm convinced... will be multiple installations - all new and cleanly installed.

I'm not even gonna begin trying to engineer a multi-site thing.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum