<?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>thesaucymare &#187; WordPress MU</title>
	<atom:link href="http://thesaucymare.co.za/category/developer/wordpress-mu/feed/" rel="self" type="application/rss+xml" />
	<link>http://thesaucymare.co.za</link>
	<description></description>
	<lastBuildDate>Tue, 02 Aug 2011 09:22:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>WordPress 3.0 Custom Post Type Custom Fields</title>
		<link>http://thesaucymare.co.za/wordpress-3-0-custom-post-type-custom-fields/</link>
		<comments>http://thesaucymare.co.za/wordpress-3-0-custom-post-type-custom-fields/#comments</comments>
		<pubDate>Fri, 21 May 2010 15:56:59 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[Custom Fields]]></category>
		<category><![CDATA[WordPress 3.0]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=158</guid>
		<description><![CDATA[I have been trying out]]></description>
			<content:encoded><![CDATA[<p>I have been trying out the custom post types for WordPress 3.0 Beta 2, I ran into a problem where i could not call the custom fields for posts i have assigned custom post type values.</p>
<p>I came up with this workaround for now until it is sorted.</p>
<pre>function get_post_meta_custom($key, $single = false) {
 global $wpdb,$post;
 $answer = $wpdb-&gt;get_var($wpdb-&gt;prepare("SELECT meta_value FROM $wpdb-&gt;postmeta WHERE post_id = ".$post-&gt;ID." AND meta_key = '".$key."'"));
 return $answer;
}</pre>
<p>Call it using the following. I use this inside on the single post inside the loop.</p>
<pre> if ( get_post_meta_custom('client_name', true) ) {echo get_post_meta_portfolio('client_name', true);    }</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/wordpress-3-0-custom-post-type-custom-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FeedMyMedia WPMU Recent Posts</title>
		<link>http://thesaucymare.co.za/feedmymedia-wpmu-recent-posts/</link>
		<comments>http://thesaucymare.co.za/feedmymedia-wpmu-recent-posts/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 09:37:18 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[FMM]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WPMU Recent Posts]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=144</guid>
		<description><![CDATA[Recent posts are great, but]]></description>
			<content:encoded><![CDATA[<p>Recent posts are great, but on a WPMU install you sometimes want to pull through blog posts from a specific sub-blog. Attached to this post is just that. A widget that will allow you to set what blog you want to pull from based on its id, how many posts you want to pull, and lastly set a title.</p>
<p>This is just a skeleton, you can always add in calls to custom fields and other amazing goodies.</p>
<p>NB Not for commercial USE</p>
<p>Download: <a href="../files/2010/04/fmm-wpmu-recent-posts.txt">fmm-wpmu-recent-posts</a> (rename to .php)</p>
<p>Download: <a href="http://thesaucymare.feedmydemo.co.za/files/2010/04/fmm-wpmu-recent-postsv1.1.txt">fmm-wpmu-recent-posts v1.1</a> (rename to .php)</p>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/feedmymedia-wpmu-recent-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disable your BuddyBar</title>
		<link>http://thesaucymare.co.za/disable-your-buddybar/</link>
		<comments>http://thesaucymare.co.za/disable-your-buddybar/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 11:51:54 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[BuddPress]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[buddybar]]></category>
		<category><![CDATA[buddypress]]></category>
		<category><![CDATA[disable]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=139</guid>
		<description><![CDATA[Somtimes you do not want]]></description>
			<content:encoded><![CDATA[<p>Somtimes you do not want the buddybar to display on your site. You can hide it with css but WordPress will still process all the info for it.</p>
<p>Add the following line to your functions.php file to disable the BuddyBar</p>
<pre>define ('BP_DISABLE_ADMIN_BAR', false);</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/disable-your-buddybar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Define you BuddyPress Slugs</title>
		<link>http://thesaucymare.co.za/define-you-buddypress-slugs/</link>
		<comments>http://thesaucymare.co.za/define-you-buddypress-slugs/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 10:39:14 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[BuddPress]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[buddypress]]></category>
		<category><![CDATA[groups memebrs]]></category>
		<category><![CDATA[slugs]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=130</guid>
		<description><![CDATA[Add these lines of code]]></description>
			<content:encoded><![CDATA[<p>Add these lines of code to your wp-config.php file to rename the slugs of the buddypress components ( these are for the members slug and the groups slug )</p>
<pre>define( 'BP_GROUPS_SLUG', 'companies' );</pre>
<pre>define( 'BP_MEMBERS_SLUG', 'volunteers' );</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/define-you-buddypress-slugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress/BuddyPress &#8211; Meta title tag not working</title>
		<link>http://thesaucymare.co.za/wordpressbuddypress-meta-title-tag-not-working/</link>
		<comments>http://thesaucymare.co.za/wordpressbuddypress-meta-title-tag-not-working/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 13:16:57 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[BuddPress]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[buddypress]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=127</guid>
		<description><![CDATA[If your buddypress child theme]]></description>
			<content:encoded><![CDATA[<p>If your buddypress child theme or customized parent theme does not work properly, in otherwords does you title tag output &#8220;[Blogname] &#8211; Blog&#8221; then use the code below to remedy the error.</p>
<p>Whats happening is if you use bp_title_tag() is will output the default string as seen above. If you lean towards using the WordPress conditional tags to test the pages, WordPress will see the BuddyPress pages as normal static pages.</p>
<p>Using bp_get_title_tag we can test to see if its a WordPress page or a BuddyPress page and use the appropriate title tag.</p>
<pre>&lt;title&gt;&lt;?php
if ( is_home() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; bloginfo('description'); }
elseif ( is_search() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Search Results'); }
elseif ( is_author() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Author Archives'); }
elseif ( is_single() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; wp_title(''); }

// Entering the buddypress tags
elseif ( is_page() ) {

 $page_title = rtrim(ltrim(bp_get_page_title()));

 if ( $page_title == "[INSETRT YOUR WP_TITLE HERE] &#8212; Blog" ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; wp_title('');}
 else{ bp_page_title(); }
}
elseif ( is_category() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Archive'); echo '&amp;nbsp;|&amp;nbsp;'; single_cat_title(); }
elseif ( is_month() ) {  bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Archive'); echo '&amp;nbsp;|&amp;nbsp;'; the_time('F'); }
elseif (function_exists('is_tag')) { if ( is_tag() ) { bloginfo('name'); echo '&amp;nbsp;|&amp;nbsp;'; _e('Tag Archive'); echo '&amp;nbsp;|&amp;nbsp;';  single_tag_title("", true); } }
else {  } ?&gt;&lt;/title&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/wordpressbuddypress-meta-title-tag-not-working/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Login Redirect to your Buddypress user profile on login</title>
		<link>http://thesaucymare.co.za/login-redirect-to-your-buddypress-user-profile-on-login/</link>
		<comments>http://thesaucymare.co.za/login-redirect-to-your-buddypress-user-profile-on-login/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 14:47:46 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[login redirect]]></category>
		<category><![CDATA[wpmudev]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=123</guid>
		<description><![CDATA[Using the Login Redirect plugin]]></description>
			<content:encoded><![CDATA[<p>Using the Login Redirect plugin by Login Redirect, which can be found at http://premium.wpmudev.org/project/login-redirect</p>
<p>As this is a paid for plugin I will only be placing the line i changed to achive what i wanted.</p>
<p>First change the login redirect url var to /members/ ( Line 32 )</p>
<pre>$login_redirect_url = '/members/.$_POST['log']'; // the url you want users to be redirected too after logging in</pre>
<p>The $_POST['log'] var is the username that was posted from the User Login form to the next page. This is just a basic implementation, if you have Facebook connect, OpenID etc you will have to put in some variations for that.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/login-redirect-to-your-buddypress-user-profile-on-login/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress Resources</title>
		<link>http://thesaucymare.co.za/wordpress-resources/</link>
		<comments>http://thesaucymare.co.za/wordpress-resources/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 07:22:25 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=115</guid>
		<description><![CDATA[Just got two useful links]]></description>
			<content:encoded><![CDATA[<p>Just got two useful links in my mail today</p>
<p><a href="http://www.scribd.com/doc/21982552/WordPress-2-8-Visual-Cheat-Sheet">WordPRess 2.8 Cheat Sheet</a> &#8211; All the useful template tags and functional reference you need for developing in WordPress 2.8</p>
<p><a href="http://wpmu.org/get-rid-of-splogs-once-and-for-all/">WPMU SPLOG Removal </a>- Removing all of the nasty spam blogs and how to prevent them on your site.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/wordpress-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conversion Thank You page for BuddyPress Registration</title>
		<link>http://thesaucymare.co.za/conversion-thank-you-page-for-buddypress-registration/</link>
		<comments>http://thesaucymare.co.za/conversion-thank-you-page-for-buddypress-registration/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 10:21:59 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[BuddPress]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=82</guid>
		<description><![CDATA[I recently had to create]]></description>
			<content:encoded><![CDATA[<p>I recently had to create a second step &#8220;Thank you&#8221; page for a client so they could add their Conversion Tracking code to it. Most people will simply add the tracking code to the registration page and set the URLs in your Conversion Tracking software.</p>
<p>Some tracking software programs have trouble when it comes to using the same url for the start and the conversion goal.  Here&#8217;s what i did to create a &#8220;Thank You&#8221; page.</p>
<ul>
<li>Open up your theme folder and copy the register.php template</li>
<li>Rename it to thank-you.php (or anything you want really)</li>
<li>Next open up thank-you.php and paste the following into it right at the top (line 1) to create a static page template.</li>
</ul>
<pre>
&lt;?php /* Template Name: Thank You Template*/ ?&gt;</pre>
<ul>
<li>Log into your backend and create a static page called &#8220;Thank-you&#8221; and select the &#8220;Thank Your Template&#8221; from the list.</li>
<li>Next open up the register.php and insert the following line straight after the call for the register form. This uses javascript to change the action of the form to send to the thank-you page.</li>
</ul>
<pre>
&lt;script type="text/javascript"&gt; var changer = document.getElementById('setupform'); changer.action = 'http://yoursite.org.za/thank-you';&lt;/script&gt;</pre>
<ul>
<li>Lastly to make sure no one visits this page except during the registration process add the following lines of code just below the &lt;body&gt; tag</li>
</ul>
<p>I have attached the two file register.php and thank-you.php so you can see how i did it.</p>
<ul>
<li><a href="../files/2009/10/thank-you.php">thank-you</a></li>
<li><a href="http://thesaucymare.feedmydemo.co.za/files/2009/10/register.php">register</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/conversion-thank-you-page-for-buddypress-registration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running quick tags outside of the loop</title>
		<link>http://thesaucymare.co.za/running-quick-tags-outside-of-the-loop/</link>
		<comments>http://thesaucymare.co.za/running-quick-tags-outside-of-the-loop/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 10:25:30 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[quick tag]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=80</guid>
		<description><![CDATA[For anyone who has had]]></description>
			<content:encoded><![CDATA[<p>For anyone who has had the same frustration I have where you need tocall a function from a plugin, but they only have a quick tag you insert into the post/page.</p>
<p><strong>Solution</strong></p>
<p>&lt;?php echo apply_filters(&#8220;the_content&#8221;,&#8221;[Insert Your Quick Tag Here]&#8220;); ?&gt;</p>
<p>This will apply the filter that is usually applied when a post is queried, and display the quick tag as it would normall if you inserted via the backend.</p>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/running-quick-tags-outside-of-the-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable all caching on specific pages</title>
		<link>http://thesaucymare.co.za/disable-all-caching-on-specific-pages/</link>
		<comments>http://thesaucymare.co.za/disable-all-caching-on-specific-pages/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 08:47:00 +0000</pubDate>
		<dc:creator>Booth Warwick</dc:creator>
				<category><![CDATA[Developer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>

		<guid isPermaLink="false">http://www.thesaucymare.co.za/?p=72</guid>
		<description><![CDATA[Copy and paste this code]]></description>
			<content:encoded><![CDATA[<pre>Copy and paste this code into the template you want to disable caching on, usually used on activation pages
if( is_object( $wp_object_cache ) )
	   $wp_object_cache-&gt;cache_enabled = false;</pre>
]]></content:encoded>
			<wfw:commentRss>http://thesaucymare.co.za/disable-all-caching-on-specific-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

