<?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: Multisite Themes</title>
	<atom:link href="http://playforward.net/multisite-themes.html/feed" rel="self" type="application/rss+xml" />
	<link>http://playforward.net/multisite-themes.html</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 03 Jan 2011 09:15:47 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PuffyThePirateBoy</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-213</link>
		<dc:creator>PuffyThePirateBoy</dc:creator>
		<pubDate>Mon, 03 Jan 2011 09:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-213</guid>
		<description>Great plugin with a clean and nice implementation. Been testing it with WordPress 3.1-RC2 and it seems to be working as expected.</description>
		<content:encoded><![CDATA[<p>Great plugin with a clean and nice implementation. Been testing it with WordPress 3.1-RC2 and it seems to be working as expected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spybubble</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-150</link>
		<dc:creator>spybubble</dc:creator>
		<pubDate>Wed, 24 Nov 2010 10:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-150</guid>
		<description>Thansk for the great plugin..im adding it to all my wordpress sites.. keep up the great work!</description>
		<content:encoded><![CDATA[<p>Thansk for the great plugin..im adding it to all my wordpress sites.. keep up the great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Waggle</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-84</link>
		<dc:creator>Justin Waggle</dc:creator>
		<pubDate>Sun, 01 Aug 2010 07:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-84</guid>
		<description>My original post didn&#039;t come through to well! Sorry about that. Essentailly, just wanted to let you know for Wordpress 3.0, change

global $current_site; 

to 

global $blog_id; 

and change 

	register_theme_directory($dir . &#039;/&#039; . $current_site-&gt;id);

to 

	register_theme_directory($dir . &#039;/&#039; . $blog_id);

and everything works out really well! Thanks for your work on this! I hope you keep working on it!

Best,
Justin</description>
		<content:encoded><![CDATA[<p>My original post didn&#8217;t come through to well! Sorry about that. Essentailly, just wanted to let you know for Wordpress 3.0, change</p>
<p>global $current_site; </p>
<p>to </p>
<p>global $blog_id; </p>
<p>and change </p>
<p>	register_theme_directory($dir . &#8216;/&#8217; . $current_site-&gt;id);</p>
<p>to </p>
<p>	register_theme_directory($dir . &#8216;/&#8217; . $blog_id);</p>
<p>and everything works out really well! Thanks for your work on this! I hope you keep working on it!</p>
<p>Best,<br />
Justin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Waggle</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-83</link>
		<dc:creator>Justin Waggle</dc:creator>
		<pubDate>Sun, 01 Aug 2010 07:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-83</guid>
		<description>I made some edits to your script to update for Wordpress 3.0! Nice work with the original conept! Thanks!

id . &quot;/index.php&quot;;

	// text for ms-themes index.php
	$filetext = &quot;&quot;;

	// get date and define text for site specific index.php with redirect
	$date = date(&#039;l jS \of F Y h:i:s A&#039;);
	$filetextsite = &quot;domain&#039;); \n ?&gt;&quot;;

	// check if directory exists and create it if it does not
	// add index.php file to the directory so it cannot be indexed
	if ( ! is_dir($dir) ) {
		mkdir($dir);
		file_put_contents($filename, $filetext);
	} elseif (!file_exists($filename)) {
		file_put_contents($filename, $filetext);
	}

	// register theme directory for current site
	register_theme_directory($dir . &#039;/&#039; . $blog_id);

	//create index.php in site folder for redirect and to prevent directory from being indexed
	if ( is_dir($dir . &#039;/&#039; . $current_site-&gt;id) &amp;&amp; !file_exists($filenamesite) ) {
		file_put_contents($filenamesite, $filetextsite);
	}
}

?&gt;</description>
		<content:encoded><![CDATA[<p>I made some edits to your script to update for Wordpress 3.0! Nice work with the original conept! Thanks!</p>
<p>id . &#8220;/index.php&#8221;;</p>
<p>	// text for ms-themes index.php<br />
	$filetext = &#8220;&#8221;;</p>
<p>	// get date and define text for site specific index.php with redirect<br />
	$date = date(&#8217;l jS \of F Y h:i:s A&#8217;);<br />
	$filetextsite = &#8220;domain&#8217;); \n ?&gt;&#8221;;</p>
<p>	// check if directory exists and create it if it does not<br />
	// add index.php file to the directory so it cannot be indexed<br />
	if ( ! is_dir($dir) ) {<br />
		mkdir($dir);<br />
		file_put_contents($filename, $filetext);<br />
	} elseif (!file_exists($filename)) {<br />
		file_put_contents($filename, $filetext);<br />
	}</p>
<p>	// register theme directory for current site<br />
	register_theme_directory($dir . &#8216;/&#8217; . $blog_id);</p>
<p>	//create index.php in site folder for redirect and to prevent directory from being indexed<br />
	if ( is_dir($dir . &#8216;/&#8217; . $current_site-&gt;id) &amp;&amp; !file_exists($filenamesite) ) {<br />
		file_put_contents($filenamesite, $filetextsite);<br />
	}<br />
}</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-73</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 10 Jul 2010 03:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-73</guid>
		<description>I&#039;m sorry, I&#039;m not the author of the Multisite User Management  plugin.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, I&#8217;m not the author of the Multisite User Management  plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-72</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 10 Jul 2010 03:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-72</guid>
		<description>This plugin isn&#039;t made for blog specific themes as you can do that out of the box with WordPress. This is meant for different themes per different networks.</description>
		<content:encoded><![CDATA[<p>This plugin isn&#8217;t made for blog specific themes as you can do that out of the box with WordPress. This is meant for different themes per different networks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-71</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 10 Jul 2010 03:20:48 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-71</guid>
		<description>There is a plugin for WordPress MU called local mu plugins that should do this for you.</description>
		<content:encoded><![CDATA[<p>There is a plugin for WordPress MU called local mu plugins that should do this for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Berteh</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-68</link>
		<dc:creator>Berteh</dc:creator>
		<pubDate>Fri, 09 Jul 2010 13:35:13 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-68</guid>
		<description>i tested your plugin multisite-user-management. nice concept thanks.


Please simply update code for WP3.0: you don&#039;t need for the wp-mu directory test, so default install works nicely. Plugins works nicely from super admin that way.


simply drop first code block:      if(basename( dirname( __FILE__ ) ) != &#039;mu-plugins&#039; ) {...}

thanks!
B.</description>
		<content:encoded><![CDATA[<p>i tested your plugin multisite-user-management. nice concept thanks.</p>
<p>Please simply update code for WP3.0: you don&#8217;t need for the wp-mu directory test, so default install works nicely. Plugins works nicely from super admin that way.</p>
<p>simply drop first code block:      if(basename( dirname( __FILE__ ) ) != &#8216;mu-plugins&#8217; ) {&#8230;}</p>
<p>thanks!<br />
B.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pescadito</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-64</link>
		<dc:creator>pescadito</dc:creator>
		<pubDate>Thu, 01 Jul 2010 06:36:58 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-64</guid>
		<description>Hi Dustin, i tried your code without succeful, but it&#039;s a nice start point to have local themes.
It appear that it only write two files, one index.php in ms-themes, and the another only in first (mamely: /ms-sites/1/ ) directory. It doesn&#039;t take in account the others blogs (2,3,etc).
So it only work when you put the themes in /1/ directory, even if this plugins is activated for the others blog (nro 2 or 3, etc).

Have you any idea to comment us??</description>
		<content:encoded><![CDATA[<p>Hi Dustin, i tried your code without succeful, but it&#8217;s a nice start point to have local themes.<br />
It appear that it only write two files, one index.php in ms-themes, and the another only in first (mamely: /ms-sites/1/ ) directory. It doesn&#8217;t take in account the others blogs (2,3,etc).<br />
So it only work when you put the themes in /1/ directory, even if this plugins is activated for the others blog (nro 2 or 3, etc).</p>
<p>Have you any idea to comment us??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giofilo</title>
		<link>http://playforward.net/multisite-themes.html/comment-page-1#comment-63</link>
		<dc:creator>Giofilo</dc:creator>
		<pubDate>Fri, 25 Jun 2010 18:00:13 +0000</pubDate>
		<guid isPermaLink="false">http://playforward.net/?p=247#comment-63</guid>
		<description>Hi Alister,

It&#039;s possible to have site-specific plugins and not only themes? Maybe can I modify your plugin in any way?

Thank you,
Giovanni
Italy</description>
		<content:encoded><![CDATA[<p>Hi Alister,</p>
<p>It&#8217;s possible to have site-specific plugins and not only themes? Maybe can I modify your plugin in any way?</p>
<p>Thank you,<br />
Giovanni<br />
Italy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

