<?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>friendsroll &#187; Hacks</title>
	<atom:link href="http://friendsroll.com/category/hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://friendsroll.com</link>
	<description>Social WordPress Plugins</description>
	<lastBuildDate>Mon, 02 Feb 2009 15:28:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Change Friendsroll Admin Email</title>
		<link>http://friendsroll.com/2008/06/30/change-friendsroll-admin-email/</link>
		<comments>http://friendsroll.com/2008/06/30/change-friendsroll-admin-email/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 13:55:46 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Hacks]]></category>

		<guid isPermaLink="false">http://friendsroll.com/?p=15</guid>
		<description><![CDATA[I received a question today from one of our plugin users asking how to change the email address Friendsroll uses to notify you of new friend requests. Currently, it uses the admin email of your WordPress installation (which you can change by editing Settings-&#62;General-&#62;Email Address). If you&#8217;d like Friendsroll to send to an email other [...]]]></description>
			<content:encoded><![CDATA[<p>I received a question today from one of our plugin users asking how to change the email address Friendsroll uses to notify you of new friend requests. Currently, it uses the admin email of your WordPress installation (which you can change by editing Settings-&gt;General-&gt;Email Address). If you&#8217;d like Friendsroll to send to an email other than the admin email address, you don&#8217;t have an &#8220;easy&#8221; way to do that.  I&#8217;ll show you the &#8220;hard&#8221; way today, and we are going to put the easy way on our feature todo list.</p>
<p>In the WordPress plugin editor, load up the Friendsroll plugin and look for the following line (it&#8217;s line 88 in the current version):</p>
<p>wp_mail(get_option(&#8216;admin_email&#8217;), &#8216;A new friendsroll request was received.&#8217;, sprintf(FRIENDSROLL_ADMIN_EMAIL, trim($newFriend-&gt;_name), trim($newFriend-&gt;_email)));</p>
<p>Now all you need to do is simply update the first argument to that function as follows:</p>
<p>wp_mail(<span style="color: #ff0000;">&#8220;youremail@host.com&#8221;</span>, &#8216;A new friendsroll request was received.&#8217;, sprintf(FRIENDSROLL_ADMIN_EMAIL, trim($newFriend-&gt;_name), trim($newFriend-&gt;_email)));</p>
<p>Obviously, <span style="color: #ff0000;">youremail@host.com</span> should be replaced with the desired email.</p>
<p>That&#8217;s it! Friendsroll will now send new friend requests to the new email address.</p>
]]></content:encoded>
			<wfw:commentRss>http://friendsroll.com/2008/06/30/change-friendsroll-admin-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
