Forum Moderators: coopster
How is it done?
[edited by: eelixduppy at 1:15 am (utc) on Mar. 31, 2008]
[edit reason] no URLs, please [/edit]
Will each user have their own domain?
Are all the users providing content to the very same domain?
Will users be restricted to which areas they can access and manage?
You need adding:
-a unique ID per user
-a unique Dir name per user, sub dir etc...
-figuring which files could be shared
and which files will be uniques
-when registereing the system will copy/create all the required unique files from a template system
-within your CMS use an OOP based editor so you will just call a new instance of it per user.
I have a script, to make it simple we will call it a myspace clone (its not) but the main site itself is just about distributing this myspace clone to people on the domain name (think blogger).
They put in their subdomain wished, and then it would create the subdomain, database (probably wouldn't create 1 per user), username (for that database), copy the script, and then in the config file, update the peramiters (such as the username, and password for the database).
I am a decent coder, but I don't even know how I would start, I know how to make a script that edits another one, but not one that duplicates a script and then edits it after it has been made.
I know how to make a script that edits another one, but not one that duplicates a script and then edits it after it has been made.
This is a big task, lot of scripts to come with, heavy on security.
what you want to achieve is pretty much a mall of sites, another world: a portal
you should start to look at what is available from trusted src such as:
sourceforge or phpclasses
look for portal, CMS multi users
world press has something fitted for multiple users/multiple different blogs
Figure out the logic, learn from them and then script your own
Good luck.