jackmcnally Posted November 12, 2011 Share Posted November 12, 2011 Hi Guys, I've been looking for a clone script for this, but can't seem to find one, so I'll more than likely need to code it (unless you know of a clone). Basically, what I want to do is to have a tumblr like clone, where a user signs up, chooses a username, password and blog address (a subdomain of the root, or in a different folder (eg. www.gdfgdfg.com/blognamehere or www.blognamehere.gfdgdgdgg.com)), and then they are able to blog from a user panel (the software will be auto-installed to the sub-domain upon account creation). Thanks, Jack Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/ Share on other sites More sharing options...
QuickOldCar Posted November 12, 2011 Share Posted November 12, 2011 You can use wordpress and enable the multi blogs function, is a wealth of plugins to help you even do more with it. http://wordpress.org/ Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/#findComment-1287520 Share on other sites More sharing options...
jackmcnally Posted November 12, 2011 Author Share Posted November 12, 2011 Hey, So how exactly would I manage that like said above? Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/#findComment-1287522 Share on other sites More sharing options...
QuickOldCar Posted November 12, 2011 Share Posted November 12, 2011 All the features are built right into it off the start. Is an admin area with a wealth of options. Might as well mention the buddypress plugin for a more social type website. http://buddypress.org/ Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/#findComment-1287523 Share on other sites More sharing options...
QuickOldCar Posted November 12, 2011 Share Posted November 12, 2011 You can enable the multi manually, but they even make a plugin for this as well. http://wordpress.org/extend/plugins/wordpress-multi-site-enabler-plugin-v10/ Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/#findComment-1287525 Share on other sites More sharing options...
RussellReal Posted November 12, 2011 Share Posted November 12, 2011 Well, you don't need to "automatically install" any software, one copy of the code should suffice basically what you're gonna want is a "catch all" subdomain set up once you have a catch all sub domain set up, then you will want to write up some htaccess to point non 'www' and any other sub domains you want to reserve E.G. 'developer', and point those to yoursite.com/<thesubdomain> and then under that you'll want to point yoursite.com/<thesubdomain> to a url like: blog.php?user=<thesubdomain> then blog.php?user=<thesubdomain> will have to connect to the users table, change it to an id, then load all the posts and stuff from that specific user, and portray it in blog.php you could also expect things like so: RewriteCond %{HTTP_HOST} !^www.* [NC] RewriteCond %{HTTP_HOST} ^([^\.]+)\.yoursite\.com RewriteRule ^(.*) /%1/$1 RewriteRule ^(.*)/(.*)/?$ blog.php?user=$1&page=$2 [L] I think the above would work fine for a catch all sub domain the issue here is, the blog.php file :3 Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/#findComment-1287527 Share on other sites More sharing options...
trq Posted November 12, 2011 Share Posted November 12, 2011 yoursite.com/<thesubdomain> That is a directory, not a subdomain. Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/#findComment-1287530 Share on other sites More sharing options...
RussellReal Posted November 12, 2011 Share Posted November 12, 2011 I know that Thorpe, you're moving the sub domain, over to as a directory then with the next rewriterule, it takes the directory and passes it to blog.php lol Quote Link to comment https://forums.phpfreaks.com/topic/250971-php-blogging/#findComment-1287587 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.