<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Multiple site support with MP&#8217;s Multisite Elgg</title>
	<atom:link href="http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/</link>
	<description>Making the world a better place, one byte at a time...</description>
	<lastBuildDate>Fri, 27 Jan 2012 17:12:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: joiwoo</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-18945</link>
		<dc:creator>joiwoo</dc:creator>
		<pubDate>Tue, 21 Dec 2010 09:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-18945</guid>
		<description>@Marcus,

I&#039;m trying this on my local server xampp.

I&#039;ve completed all the steps but I&#039;m stuck in adding a new default Elgg domain. Could you explain a little what should i do from there on?

I created a new domain name called localhost/elggsite1 and the database its corresponding details. But when i click to install this new domain, it just redirect me to the folder i created which is http://localhost/elggsite1/. It&#039;s empty inside? 

What could went wrong?

Thanks for the advice.</description>
		<content:encoded><![CDATA[<p>@Marcus,</p>
<p>I&#8217;m trying this on my local server xampp.</p>
<p>I&#8217;ve completed all the steps but I&#8217;m stuck in adding a new default Elgg domain. Could you explain a little what should i do from there on?</p>
<p>I created a new domain name called localhost/elggsite1 and the database its corresponding details. But when i click to install this new domain, it just redirect me to the folder i created which is <a href="http://localhost/elggsite1/" rel="nofollow">http://localhost/elggsite1/</a>. It&#8217;s empty inside? </p>
<p>What could went wrong?</p>
<p>Thanks for the advice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-16583</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Sun, 14 Nov 2010 12:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-16583</guid>
		<description>Glad you&#039;re finding it useful! :)

All the code is over on the google code site, http://code.google.com/p/mp-multisite-elgg/

Marcus</description>
		<content:encoded><![CDATA[<p>Glad you&#8217;re finding it useful! <img src='http://www.marcus-povey.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>All the code is over on the google code site, <a href="http://code.google.com/p/mp-multisite-elgg/" rel="nofollow">http://code.google.com/p/mp-multisite-elgg/</a></p>
<p>Marcus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damir-Juipo.com</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-16565</link>
		<dc:creator>Damir-Juipo.com</dc:creator>
		<pubDate>Sun, 14 Nov 2010 05:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-16565</guid>
		<description>Marcus,

Thanks for your reply.

I&#039;m trying to set up testing sites for clients where they can view their themes. Right now I setup a sub-domain for each client and than I have to upload and install Elgg on each sub-domain.
With your code I can eliminate uploading and installing core every time - huge time saver.

As far as upgrading to 1.7.4 , I will try and mess with it and will report here my findings.
Where is the patch code?

Thanks.</description>
		<content:encoded><![CDATA[<p>Marcus,</p>
<p>Thanks for your reply.</p>
<p>I&#8217;m trying to set up testing sites for clients where they can view their themes. Right now I setup a sub-domain for each client and than I have to upload and install Elgg on each sub-domain.<br />
With your code I can eliminate uploading and installing core every time &#8211; huge time saver.</p>
<p>As far as upgrading to 1.7.4 , I will try and mess with it and will report here my findings.<br />
Where is the patch code?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-16281</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Mon, 08 Nov 2010 15:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-16281</guid>
		<description>@Damir: 

In answer to your first question, probably not out of the box - it would have to be tested first and any modifications to the patch code would need to be made (which may be no changes at all its hard to say). I invite you to give it a try and give feedback!

In answer to the second one, each site is its own elgg - so they visit the subdomain you&#039;ve activated and sign on in the normal way :)</description>
		<content:encoded><![CDATA[<p>@Damir: </p>
<p>In answer to your first question, probably not out of the box &#8211; it would have to be tested first and any modifications to the patch code would need to be made (which may be no changes at all its hard to say). I invite you to give it a try and give feedback!</p>
<p>In answer to the second one, each site is its own elgg &#8211; so they visit the subdomain you&#8217;ve activated and sign on in the normal way <img src='http://www.marcus-povey.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damir-Juipo.com</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-15973</link>
		<dc:creator>Damir-Juipo.com</dc:creator>
		<pubDate>Tue, 02 Nov 2010 13:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-15973</guid>
		<description>another quick Q,
Where do users register to create their networks? like Ning.
Main installation (master control domain) displays only login for master admin???

Thanks.</description>
		<content:encoded><![CDATA[<p>another quick Q,<br />
Where do users register to create their networks? like Ning.<br />
Main installation (master control domain) displays only login for master admin???</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damir-Juipo.com</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-15972</link>
		<dc:creator>Damir-Juipo.com</dc:creator>
		<pubDate>Tue, 02 Nov 2010 13:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-15972</guid>
		<description>@Marcus,
This is awesome. Just installed on a sub-domain and works great. I&#039;m creating sites and databases manually as not sure how to create wildcard domain on my VPS - through Kloxo;-(

My question: can we upgrade /docroot files with latest elgg 1.7.4?
Or will that not work?
thanks.</description>
		<content:encoded><![CDATA[<p>@Marcus,<br />
This is awesome. Just installed on a sub-domain and works great. I&#8217;m creating sites and databases manually as not sure how to create wildcard domain on my VPS &#8211; through Kloxo;-(</p>
<p>My question: can we upgrade /docroot files with latest elgg 1.7.4?<br />
Or will that not work?<br />
thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nick powell</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-10927</link>
		<dc:creator>nick powell</dc:creator>
		<pubDate>Sun, 27 Jun 2010 21:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-10927</guid>
		<description>looks good, we will offer this at http://www.simpleservers.co.uk although as one of the first hosts to support elgg we have seen a big drop over the last 12 months in elgg based accounts</description>
		<content:encoded><![CDATA[<p>looks good, we will offer this at <a href="http://www.simpleservers.co.uk" rel="nofollow">http://www.simpleservers.co.uk</a> although as one of the first hosts to support elgg we have seen a big drop over the last 12 months in elgg based accounts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lovegin</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-10214</link>
		<dc:creator>Lovegin</dc:creator>
		<pubDate>Fri, 21 May 2010 08:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-10214</guid>
		<description>@Marcus,
I got it work. Thank you very much for the support. 
We have it running at http://minnaram.com.

Thanks,
Lovegin</description>
		<content:encoded><![CDATA[<p>@Marcus,<br />
I got it work. Thank you very much for the support.<br />
We have it running at <a href="http://minnaram.com" rel="nofollow">http://minnaram.com</a>.</p>
<p>Thanks,<br />
Lovegin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-10189</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Thu, 20 May 2010 09:22:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-10189</guid>
		<description>@lovegin No, you don&#039;t need to do any code changes. What you need to do is:

1) point the domain at the webserver
2) set up an apache vhost and point it at the docroot folder _inside_ your elgg multi install.</description>
		<content:encoded><![CDATA[<p>@lovegin No, you don&#8217;t need to do any code changes. What you need to do is:</p>
<p>1) point the domain at the webserver<br />
2) set up an apache vhost and point it at the docroot folder _inside_ your elgg multi install.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Povey</title>
		<link>http://www.marcus-povey.co.uk/2010/04/19/multiple-site-support-elgg/comment-page-1/#comment-10188</link>
		<dc:creator>Marcus Povey</dc:creator>
		<pubDate>Thu, 20 May 2010 09:19:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.marcus-povey.co.uk/?p=508#comment-10188</guid>
		<description>If all you want to do is have different themes based on URL, then that should be fairly straight forward. I think the simplest way to implement this would be to base it on the elgg views system which already provides RSS, JSON &amp; Failsafe &quot;themes&quot;.

I imagine the approach would go something like this:

1) Copy MYELGGSITE/views/default to MYELGGSITE/views/THEMENAME, making sure you copy subdirectories as well. Replace THEMENAME with the name of your theme (or any name, so long as you remember it and it is unique for each theme you install)
2) Install your theme. Look in MYELGGSITE/mod/mytheme/views/ and rename &#039;default&#039; to THEMENAME from step 1
3) Log in and activate the theme
4) Repeat 1 - 3 for each theme you want to install

Finally, you will need to have something to select between views based on the incoming domain. Some code along the lines of:

switch($_SERVER[&#039;SERVER_NAME&#039;])
{
case &#039;foo.com&#039;: set_input(&#039;view&#039;, &#039;theme1&#039;); break;
case &#039;bar.com&#039;: set_input(&#039;view&#039;, &#039;theme2&#039;); break;
... etc ...
default: set_input(&#039;view&#039;,&#039;default&#039;); break;
}

This should go somewhere in engine/start.php, I suggest replacing :

// System booted, return to normal view
set_input(&#039;view&#039;, $oldview);

Although you might need to play around with it, especially to get RSS views etc to work.</description>
		<content:encoded><![CDATA[<p>If all you want to do is have different themes based on URL, then that should be fairly straight forward. I think the simplest way to implement this would be to base it on the elgg views system which already provides RSS, JSON &amp; Failsafe &#8220;themes&#8221;.</p>
<p>I imagine the approach would go something like this:</p>
<p>1) Copy MYELGGSITE/views/default to MYELGGSITE/views/THEMENAME, making sure you copy subdirectories as well. Replace THEMENAME with the name of your theme (or any name, so long as you remember it and it is unique for each theme you install)<br />
2) Install your theme. Look in MYELGGSITE/mod/mytheme/views/ and rename &#8216;default&#8217; to THEMENAME from step 1<br />
3) Log in and activate the theme<br />
4) Repeat 1 &#8211; 3 for each theme you want to install</p>
<p>Finally, you will need to have something to select between views based on the incoming domain. Some code along the lines of:</p>
<p>switch($_SERVER['SERVER_NAME'])<br />
{<br />
case &#8216;foo.com&#8217;: set_input(&#8216;view&#8217;, &#8216;theme1&#8242;); break;<br />
case &#8216;bar.com&#8217;: set_input(&#8216;view&#8217;, &#8216;theme2&#8242;); break;<br />
&#8230; etc &#8230;<br />
default: set_input(&#8216;view&#8217;,'default&#8217;); break;<br />
}</p>
<p>This should go somewhere in engine/start.php, I suggest replacing :</p>
<p>// System booted, return to normal view<br />
set_input(&#8216;view&#8217;, $oldview);</p>
<p>Although you might need to play around with it, especially to get RSS views etc to work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

