<?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>The Zoltan Blog &#187; wpmu</title>
	<atom:link href="http://www.zoltanfagyal.com/blog/category/wpmu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zoltanfagyal.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 24 Nov 2010 20:38:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to add a user to all blogs in WordPress Multi User WPMU</title>
		<link>http://www.zoltanfagyal.com/blog/2008/07/21/how-to-add-a-user-to-all-blogs-in-wordpress-multi-user-wpmu/</link>
		<comments>http://www.zoltanfagyal.com/blog/2008/07/21/how-to-add-a-user-to-all-blogs-in-wordpress-multi-user-wpmu/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 19:06:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[wpmu]]></category>
		<category><![CDATA[add user]]></category>

		<guid isPermaLink="false">http://www.zoltanfagyal.com/blog/2008/07/21/how-to-add-a-user-to-all-blogs-in-wordpress-multi-user-wpmu/</guid>
		<description><![CDATA[OPEN:
wp-includes/wpmu-functions.php
FIND:
function wpmu_create_blog($domain, $path, $title, $user_id, $meta = &#8221;, $site_id = 1) {
$domain = addslashes( $domain );
$title = addslashes( $title );
$user_id = (int) $user_id;&#8217;
Then, A little bit further down FIND:
add_user_to_blog($blog_id, $user_id, &#8216;administrator&#8217;);
after this line ADD:
add_user_to_blog($blog_id, X, &#8216;administrator&#8217;);`
where X is the userid of the user you wish to add, this can be repeated if you have multiple [...]]]></description>
			<content:encoded><![CDATA[<p><strong>OPEN:</strong></p>
<p>wp-includes/wpmu-functions.php</p>
<p><strong>FIND:</strong></p>
<p>function wpmu_create_blog($domain, $path, $title, $user_id, $meta = &#8221;, $site_id = 1) {<br />
$domain = addslashes( $domain );<br />
$title = addslashes( $title );<br />
$user_id = (int) $user_id;&#8217;</p>
<p>Then, A little bit further down FIND:</p>
<p>add_user_to_blog($blog_id, $user_id, &#8216;administrator&#8217;);</p>
<p>after this line ADD:</p>
<p>add_user_to_blog($blog_id, X, &#8216;administrator&#8217;);`</p>
<p>where X is the userid of the user you wish to add, this can be repeated if you have multiple site admins</p>
<p>source: <a href="http://mu.wordpress.org/forums/topic.php?id=1445">http://mu.wordpress.org/forums/topic.php?id=1445</a><br />
Thank you Xen</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zoltanfagyal.com/blog/2008/07/21/how-to-add-a-user-to-all-blogs-in-wordpress-multi-user-wpmu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

