Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Replicated Site Help Please (https://www.warriorforum.com/programming/877543-replicated-site-help-please.html)

jeverett 7th December 2013 01:45 PM

Replicated Site Help Please
 
I hope that I can explain this in an understandable way.

I would like to know how to accomplish this goal. We have all see this set up and I want to make it work on my site.

When someone signs up for my site they will be issued their own URL. That URL is then sent to them in an email, along with their login information, which they can change when they login. They can also upload a picture and a few other things.

Basically it is becoming a replicated website that is personalized by the user.

Does anyone know if there is a plugin or what I should use to accomplish this.

Thanks for your help.

wayfarer 7th December 2013 03:51 PM

Re: Replicated Site Help Please
 
Are you talking about a dynamic sub-domain? (IE sites.google.com, but with a variable where "sites." is). If so, this takes custom configuration on the server, so highly doubtful any plugin would be available for doing this. Probably you'll just have to find a programmer that understands Apache configurations and go from there.

David Beroff 7th December 2013 03:52 PM

Re: Replicated Site Help Please
 
There may very well be a pre-written script to do this, but you could also do it with PHP and MySQL.

Original Hosting 7th December 2013 04:22 PM

Re: Replicated Site Help Please
 
I think the best way would be to create directories rather than sub domains, that way you could use PHP and MySQL to achieve the result which you require.

David Beroff 7th December 2013 05:33 PM

Re: Replicated Site Help Please
 
Quote:

Originally Posted by wayfarer (Post 8768544)
Are you talking about a dynamic sub-domain? (IE sites.google.com, but with a variable where "sites." is). If so, this takes custom configuration on the server....

Quote:

Originally Posted by Original Hosting (Post 8768596)
I think the best way would be to create directories rather than sub domains, that way you could use PHP and MySQL to achieve the result which you require.

Agreed, directories will be easier than subdomains. And you want to present them dynamically, i.e., don't physically create a new directory for each user, but rather use a single script to make it appear that you have multiple directories.

Bizilica 7th December 2013 07:12 PM

Re: Replicated Site Help Please
 
Quote:

Originally Posted by David Beroff (Post 8768703)
don't physically create a new directory for each user, but rather use a single script to make it appear that you have multiple directories.

Yes, subdirectories can easily be used in a virtual way, with .htaccess rewrite rules. You can do this on shared hosting as long as they have mod_rewrite installed in apache.

To do it with subdomains, you need to configure the web server to allow for wildcard domains. This means that you need your own server, not enough with a hosting account.

mobilesuccess 28th January 2014 02:01 PM

Re: Replicated Site Help Please
 
Quote:

Originally Posted by Bizilica (Post 8768845)
Yes, subdirectories can easily be used in a virtual way, with .htaccess rewrite rules. You can do this on shared hosting as long as they have mod_rewrite installed in apache.

Can anyone please point me towards a solution/script/developer for creating replicated websites from my domain, where new members get a www.mysite.com/username that they can personalize with a photo, bio, etc.

ussher 29th January 2014 12:47 AM

Re: Replicated Site Help Please
 
Quote:

Originally Posted by mobilesuccess (Post 8907422)
Can anyone please point me towards a solution/script/developer for creating replicated websites from my domain, where new members get a www.mysite.com/username that they can personalize with a photo, bio, etc.

Take a look at jamroom.net it seams close to what your after.

the jamroom.net system is running on jamroom.net so you can see what its like:

eg:
Marketplace - n8flex | Jamroom
Forum - The Jamroom Network | Jamroom

The first profile is for a developer called "n8flex" the second one is for the developer called "The Jamroom Network"

Adding module adds different features to the users profiles.

The two profiles above are in the "developers" group so they each have
* blog
* documentation
* forums
* bundles
* sites
..... etc

but if the user is not in the "developers" group they have different stuff:
eg:
https://www.jamroom.net/andre1122

has:
* blog
* jobs
* site.

It can be setup in many different ways. Take a look at the demos
https://www.jamroom.net/demos

and the showcase to see if it fits your needs:
https://www.jamroom.net/showcase

If it looks like what your after, there is a getting started course on udemy.com here:

"Start Your Own Online Community"
http://udemy.com/start-your-own-online-community

Joe Crosbie 30th January 2014 07:34 AM

Re: Replicated Site Help Please
 
Hey @jeverette,

The others are right, you could do this via raw PHP and MySQL. That's a lot of work though and would require a lot of knowledge on the coding languages..

Have you heard of WordPress multisite?

It's basically where you can have multiple sites running of one WordPress installation, they all have their own dashboard so all content is separate.

You can learn more about it here in the codex.

What you're trying to achieved could easily be done through WP Multisite, and could easily be added upon with the help of the plugins available from WPMU Dev (They make plugins specifically for WordPress Multisite and BuddyPress, and themes too!..

I hope this helps and be sure to ask any questions you might have :) - I've used Multisite on a previous projects and I really like it!

- Joe Crosbie

vaghela dev 31st January 2014 06:10 AM

Re: Replicated Site Help Please
 
Hello sir,

Send me you link on my mail id so i have to check it and resove it []opensoursestarter@gmail.com[]

regard
vaghela Dev

David Beroff 31st January 2014 07:15 AM

Re: Replicated Site Help Please
 
Quote:

Originally Posted by vaghela dev (Post 8915828)
Send me you link on my mail id so i have to check it and resove it []opensoursestarter@gmail.com[]

Huh?

I've read this several times, and still have no idea what it means.

MonopolyOnline 26th February 2014 07:51 PM

Re: Replicated Site Help Please
 
Try this 404 redirect trick - 404error.php

I develop and run a "Do It Yourself" website service which has produced over 17,000 websites using this technique.

A little programming background.

When a visitor goes to a webpage that does not exist, the server returns a static 404 error webpage - 404.html - "Page does not exist".

So if at facebook.com there was a member with a username of hottiebody, going to...

hottiebody.facebook.com

... the server would generate a 404 error and redirect to 404.html...

hottiebody.facebook.com/404.html

We use this built-in 404 system to parse and find the username by tweaking the "404" response page not to "404.html" but to a page "404error.php" page (in my case 404error.cfm - we use Adobe ColdFusion).

This can be done with .htaccess...

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /404error.php?%{REQUEST_URI}


Once the 404error.php page is loaded it does a couple things:

1. Make the url the username

thisUsername = CGI.HTTP_HOST
thisUsername = hottiebody.facebook.com

2. Strip out the base domain

thisUsername = Replace(thisUsername, ".facebook.com", "")
thisUsername = "hottiebody"

3. Database lookup on username

NAME getUser
SELECT *
FROM users
WHERE username = 'hottiebody'

4. Redirect depending on database look up

if database lookup getUser is successful
... display index.php using 'hottiebody' user info
elseif database lookup getUser is NOT successful
... display index.php using main website's info along with a "Oops can't find hottiebody" alert message.
... (in other words we never display the static 404.html)
end



So finally if the database search on 'hottiebody' is successful...

hottiebody.facebook.com

... would display hottiebody's profile page.

Since you (and myself) are doing websites...

hottiebody.jeverett.com

... would display hottiebody's homepage.

By using this technique you DO NOT Have to replicate your entire website within subdomains and/or subdirectories like...

jeverett/public_html/index.php
jeverett/public_html/images/logo.png

hottiebody/public_html/index.php
hottiebody/public_html/images/logo.png

dangerman/public_html/index.php
dangerman/public_html/images/logo.png

... for each user/member/client. With this technique everything is dynamically produced within one directory...


hottiebody.jeverett.com
dangerman.jeverett.com

jeverett/public_html/index.php
jeverett/public_html/images/logo.png


I hope this helps.

P.S. This is just a basic concept. You will need to modify it to your needs.

We allow members to setup their own domain names, so we also do database look ups on the user/client/members domain_name allowing hottiebody to have a custom website.


All times are GMT -6. The time now is 09:23 PM.