<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tools, Tips and Tutorials &#187; Wordpress-mu</title>
	<atom:link href="http://tutorials.simusonline.com/category/wordpress-mu/feed/" rel="self" type="application/rss+xml" />
	<link>http://tutorials.simusonline.com</link>
	<description>Learn How-To Do Things And Achieve Results</description>
	<lastBuildDate>Sat, 03 Apr 2010 22:54:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How To Enable Theme Editor and Plugin Editor on WordPress MU</title>
		<link>http://tutorials.simusonline.com/how-to-enable-theme-editor-and-plugin-editor-on-wordpress-mu/</link>
		<comments>http://tutorials.simusonline.com/how-to-enable-theme-editor-and-plugin-editor-on-wordpress-mu/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 15:21:36 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress-mu]]></category>
		<category><![CDATA[plugin editor]]></category>
		<category><![CDATA[theme editor]]></category>
		<category><![CDATA[wordpress mu dashboard]]></category>
		<category><![CDATA[wpmu]]></category>
		<category><![CDATA[wpmu dashboard]]></category>

		<guid isPermaLink="false">http://tutorials.simusonline.com/?p=18</guid>
		<description><![CDATA[Many WordPress Mu administrators want to be able to easily customize their themes and plugins directly from the WordPress Mu dashboard, just as it can be easily done on normal WordPress dashboards,  but they are frustrated by not being able to access the theme editor and plugin editor. Simply put, on the WPMU dashboard,  the  [...]]]></description>
			<content:encoded><![CDATA[<p>Many WordPress Mu administrators want to be able to easily customize their themes and plugins directly from the WordPress Mu dashboard, just as it can be easily done on normal WordPress dashboards,  but they are frustrated by not being able to access the theme editor and plugin editor.</p>
<p>Simply put, on the WPMU dashboard,  the  “Theme Editor” under Appearance section and “Plugin Editor” under Plugins section are nowhere to be seen.</p>
<p>In order to enable the theme editor and the plugin editor on your WPMU panel, you simply need to edit one file: mu.php situated in the wp-admin/includes folder.</p>
<p>Here is how I enabled the editors on the dashboard of my WordPress Mu 2.8.6 installation:</p>
<p>- Go to “wp-admin/includes” folder of your WordPress MU installation and open the mu.php file with your text editor.</p>
<p>- Comment the two lines in mu.php which are actually there to remove the plugin editor and the theme editor from the dashboard. To do that:<br />
Search for the line &#8220;unset( $submenu['plugins.php'][15] );&#8221;<br />
in mu.php and comment that line.<br />
Search for the line “unset( $submenu['themes.php'][10] );” in mu.php and comment that line.</p>
<p>Here is what you get after commenting the two lines.<br />
/* unset( $submenu['plugins.php'][15] ); */ // always remove the plugin<br />
/* unset( $submenu['themes.php'][10] ); */  // always remove the themes</p>
<p>- Search for the  &#8220;function disable_some_pages&#8221;, and within the code of that function, locate the  line:</p>
<p>&#8220;if ( strpos( $_SERVER['PHP_SELF'], $page ) ) {&#8221;</p>
<p>and change that line into:</p>
<p>&#8220;if ( strpos( $_SERVER['PHP_SELF'], $page )<strong>&amp;&amp; !is_site_admin()</strong> ) {&#8221;</p>
<p>- Upload your mu.php file back to the wp-admin/includes folder.</p>
<p>Check now in your WordPress MU dashboard: the theme editor (under &#8216;Appearance&#8217; section and plugin editor (under &#8216;Plugins&#8217; section should work properly in your wordpress MU installation.</p>
]]></content:encoded>
			<wfw:commentRss>http://tutorials.simusonline.com/how-to-enable-theme-editor-and-plugin-editor-on-wordpress-mu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Sitemaps on WordPress-MU Platform</title>
		<link>http://tutorials.simusonline.com/google-sitemaps-on-wordpress-mu-platform/</link>
		<comments>http://tutorials.simusonline.com/google-sitemaps-on-wordpress-mu-platform/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 11:28:56 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Webmaster Tools]]></category>
		<category><![CDATA[Wordpress-mu]]></category>
		<category><![CDATA[google sitemaps]]></category>
		<category><![CDATA[sitemap]]></category>
		<category><![CDATA[sitemap generator]]></category>
		<category><![CDATA[sitemap generator for wordpress]]></category>
		<category><![CDATA[sitemap generator for wordpress mu]]></category>
		<category><![CDATA[sitemap generator for wpmu]]></category>
		<category><![CDATA[sitemap generator plugin for wordpress]]></category>
		<category><![CDATA[subdomain blogs]]></category>
		<category><![CDATA[sudirectory blogs]]></category>
		<category><![CDATA[wordpress plugin]]></category>
		<category><![CDATA[wpmu]]></category>
		<category><![CDATA[xml sitemap]]></category>

		<guid isPermaLink="false">http://tutorials.simusonline.com/?p=10</guid>
		<description><![CDATA[Have you tried to get Google Sitemaps running on a WordPress-Mu platform? There are a few sitemap plugins available, but the problem is that all of the plugins I could find put the sitemap.xml file in the WordPress mu install directory. The generated sitemap is useful for the primary blog, but not for the subdomain [...]]]></description>
			<content:encoded><![CDATA[<p>Have you tried to get Google Sitemaps running on a WordPress-Mu platform? There are a few sitemap plugins available, but the problem is that all of the plugins I could find put the sitemap.xml file in the WordPress mu install directory. The generated sitemap is useful for the primary blog, but not for the subdomain blogs or the subdirectory blogs.</p>
<p>During my research, I came across the famous sitemap generator plugin for wordpress called<a href="http://wordpress.org/extend/plugins/google-sitemap-generator/"> Google (XML) Sitemaps Generator for WordPress</a>. It can allow you to easily generate Google XML SiteMap within your blog. But unfortunately the last version I found was not developed for WordPress MU, either.  By default, it could only generate the XML sitemap for the primary blog, not all other blogs in your WordPress MU. That was not enough for me as I had to register all my blogs with the search engines.</p>
<p>I finally came across an <a href="http://www.webtatic.com/blog/2009/02/google-sitemaps-on-wordpress-mu/">interesting article</a> which explains how easy it is to change the code within the Sitemap Generator for WordPress in order to make it generate sitemaps for various blogs installed on a WordPress Mu platform.</p>
<p>You first download the <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps Generator for WordPress</a> plugin.</p>
<p>You then edit the sitemap-core.php file in the plugin’s folder, and make the following changes:</p>
<p>In the function “GetXmlUrl”, line 1351, change to:</p>
<div class="wp_syntax">
<table style="height: 167px" border="0" width="480">
<tbody>
<tr>
<td class="line_numbers">1351<br />
1352<br />
1353<br />
1354<br />
1355<br />
1356<br />
1357<br />
1358</td>
<td class="code"><span style="color: #000000;font-weight: bold">function</span> GetXmlUrl<span style="color: #009900">(</span><span style="color: #000088">$forceAuto</span><span style="color: #339933">=</span><span style="color: #009900;font-weight: bold">false</span><span style="color: #009900">)</span> <span style="color: #009900">{</span><br />
<span style="color: #b1b100">if</span><span style="color: #009900">(</span><span style="color: #339933">!</span><span style="color: #000088">$forceAuto</span> <span style="color: #339933">&amp;&amp;</span> <span style="color: #000088">$this</span><span style="color: #339933">-&gt;</span><span style="color: #004000">GetOption</span><span style="color: #009900">(</span><span style="color: #0000ff">&#8220;b_location_mode&#8221;</span><span style="color: #009900">)</span><span style="color: #339933">==</span><span style="color: #0000ff">&#8220;manual&#8221;</span><span style="color: #009900">)</span> <span style="color: #009900">{</span><br />
<span style="color: #b1b100">return</span> <span style="color: #000088">$this</span><span style="color: #339933">-&gt;</span><span style="color: #004000">GetOption</span><span style="color: #009900">(</span><span style="color: #0000ff">&#8220;b_fileurl_manual&#8221;</span><span style="color: #009900">)</span><span style="color: #339933">;</span><br />
<span style="color: #009900">}</span> <span style="color: #b1b100">else</span> <span style="color: #009900">{</span><br />
<span style="color: #b1b100">return</span> trailingslashit<span style="color: #009900">(</span>get_bloginfo<span style="color: #009900">(</span><span style="color: #0000ff">&#8216;siteurl&#8217;</span><span style="color: #009900">)</span><span style="color: #009900">)</span> <strong><span style="color: #339933">.</span> <span style="color: #0000ff">&#8216;files/&#8217;</span> <span style="color: #339933">.</span></strong><br />
<span style="color: #000088">$this</span><span style="color: #339933">-&gt;</span><span style="color: #004000">GetOption</span><span style="color: #009900">(</span><span style="color: #0000ff">&#8220;b_filename&#8221;</span><span style="color: #009900">)</span><span style="color: #339933">;</span><br />
<span style="color: #009900">}</span><br />
<span style="color: #009900">}</span></td>
</tr>
</tbody>
</table>
</div>
<p>and in the GetXmlPath function, line 1382, change to:</p>
<div class="wp_syntax">
<table style="height: 122px" border="0" width="470">
<tbody>
<tr>
<td class="line_numbers">1382<br />
1383<br />
1384<br />
1385<br />
1386<br />
1387<br />
1388<br />
1389</td>
<td class="code"><span style="color: #000000;font-weight: bold">function</span> GetXmlPath<span style="color: #009900">(</span><span style="color: #000088">$forceAuto</span><span style="color: #339933">=</span><span style="color: #009900;font-weight: bold">false</span><span style="color: #009900">)</span> <span style="color: #009900">{</span><br />
<span style="color: #b1b100">if</span><span style="color: #009900">(</span><span style="color: #339933">!</span><span style="color: #000088">$forceAuto</span> <span style="color: #339933">&amp;&amp;</span> <span style="color: #000088">$this</span><span style="color: #339933">-&gt;</span><span style="color: #004000">GetOption</span><span style="color: #009900">(</span><span style="color: #0000ff">&#8220;b_location_mode&#8221;</span><span style="color: #009900">)</span><span style="color: #339933">==</span><span style="color: #0000ff">&#8220;manual&#8221;</span><span style="color: #009900">)</span> <span style="color: #009900">{</span><br />
<span style="color: #b1b100">return</span> <span style="color: #000088">$this</span><span style="color: #339933">-&gt;</span><span style="color: #004000">GetOption</span><span style="color: #009900">(</span><span style="color: #0000ff">&#8220;b_filename_manual&#8221;</span><span style="color: #009900">)</span><span style="color: #339933">;</span><br />
<span style="color: #009900">}</span> <span style="color: #b1b100">else</span> <span style="color: #009900">{</span><br />
<strong> wp_mkdir_p<span style="color: #009900">(</span>ABSPATH <span style="color: #339933">.</span> UPLOADS<span style="color: #009900">)</span><span style="color: #339933">;</span><br />
<span style="color: #b1b100">return</span> ABSPATH <span style="color: #339933">.</span> UPLOADS  <span style="color: #339933">.</span> <span style="color: #000088">$this</span><span style="color: #339933">-&gt;</span><span style="color: #004000">GetOption</span><span style="color: #009900">(</span><span style="color: #0000ff">&#8220;b_filename&#8221;</span><span style="color: #009900">)</span><span style="color: #339933">;</span></strong><br />
<span style="color: #009900">}</span><br />
<span style="color: #009900">}</span></td>
</tr>
</tbody>
</table>
</div>
<p>This change makes that from now on, the sitemap files will be stored on a per blog basis, inside the blog’s uploads folder.</p>
<p>Upload your modified plugin into the plugins folder, activate it as usual and rebuild your sitemap for each of your blogs.</p>
<p>I am happy to have come across this article. It works and that&#8217;s why I had to share it with you.</p>
]]></content:encoded>
			<wfw:commentRss>http://tutorials.simusonline.com/google-sitemaps-on-wordpress-mu-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Registering blogs under WordPress-mu with Google</title>
		<link>http://tutorials.simusonline.com/registering-blogs-under-wordpress-mu-with-google/</link>
		<comments>http://tutorials.simusonline.com/registering-blogs-under-wordpress-mu-with-google/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 12:08:37 +0000</pubDate>
		<dc:creator>Simeon</dc:creator>
				<category><![CDATA[Webmaster Tools]]></category>
		<category><![CDATA[Wordpress-mu]]></category>
		<category><![CDATA[google account]]></category>
		<category><![CDATA[google statistics]]></category>
		<category><![CDATA[google verification]]></category>
		<category><![CDATA[sitemap]]></category>
		<category><![CDATA[subdomain blogs]]></category>
		<category><![CDATA[wpmu]]></category>

		<guid isPermaLink="false">http://tutorials.simusonline.com/?p=6</guid>
		<description><![CDATA[WordPress-mu is a platform with which you can allow people to create their own blog. Most installations are in the subdomain format, i.e. you have the main domain such as www.example.com and the other subdomain blogs such as blog01.example.com, blog02.example.com etc&#8230; If you want to get the stats for all these blogs, you have to [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress-mu is a platform with which you can allow people to create their own blog. Most installations are in the subdomain format, i.e. you have the main domain such as www.example.com and the other subdomain blogs such as blog01.example.com, blog02.example.com etc&#8230;<br />
If you want to get the stats for all these blogs, you have to register all the blogs individually.<br />
You can not only register the main domain and expect Google to provide you with all statistics relating to the subdomain blogs. You have to go through the verification process in your Google account. Each subdomain is an independant site and you have to prove that the are yours in order to see all statistics and apply on them all the Google tools in your account.<br />
Note that verifying the blog is a step, different from the one of creating a sitemap for your sites.</p>
<p>Thanks</p>
]]></content:encoded>
			<wfw:commentRss>http://tutorials.simusonline.com/registering-blogs-under-wordpress-mu-with-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

