New subdomain multisite on user registration

o0Loco0o - November 20, 2007 - 03:16

I don't know if this is even possible, but would like to get some feedback or a solution if it is.

Here is what I would like to achieve:

1. User decides to register on site
2. On registration form, user chooses a sub domain for their drupal site, this form uses Ajax and checks to see if the sub domain is available. Also user will choose the administrator user name and password for their new drupal site.

3. When user completes registration, I'd like a script to:
A: Create the tables in the database using the selected sub domain as the prefix for tables.
B: Create the folder under the sites directory in the multisite drupal directory
C: Create the custom settings.php file for this site
D: Create a symlink for this multisite

4. On the users profile page, there should be a reference to this users hosted site.

I would like to do this, but I'm not fluent with any coding language. Please let me know if this is even possible before I start trying to accomplish this on my own. Any help is appreciated. Thanks.

=-=

VeryMisunderstood - November 20, 2007 - 03:23

It's certainly possible, however won't be for the faint of heart for someone not fluent in coding. the ajax alone may drive you to pay someone to do this for you.

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

I wonder if this module

o0Loco0o - November 24, 2007 - 02:58

I wonder if this module would help with the ajax part of it...

http://drupal.org/project/username_check

 
 

Drupal is a registered trademark of Dries Buytaert.