<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>BuddyPress.org | jbarr | Activity</title>
	<link>https://buddypress.org/members/jbarr/activity/</link>
	<atom:link href="https://buddypress.org/members/jbarr/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed for jbarr.</description>
	<lastBuildDate>Fri, 24 Apr 2026 16:17:03 +0000</lastBuildDate>
	<generator>https://buddypress.org/?v=</generator>
	<language>en-US</language>
	<ttl>30</ttl>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>2</sy:updateFrequency>
	
						<item>
				<guid isPermaLink="false">1f70c861e2bcaebde7e4ddea069cd3e2</guid>
				<title>jbarr posted on the forum topic I Need Help Writing A Custom Function to Redirect Non-Logged in Users. in the group How-To and Troubleshooting</title>
				<link>http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p</link>
				<pubDate>Fri, 07 May 2010 15:25:20 +0000</pubDate>

									<content:encoded><![CDATA[<p>Sorry for the confusion. In testing, I reverted back to the stock, default theme to make sure there wasn&#8217;t anything else at issue. That worked, so I then made the update to functions.php and header.php in the Cosmic Buddy directory, and it now works properly. Fortunately, I&#8217;m doing all this on a test install, so [&#8230;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3f1bb361dd519e53150d37168d6565f1</guid>
				<title>jbarr posted on the forum topic I Need Help Writing A Custom Function to Redirect Non-Logged in Users. in the group How-To and Troubleshooting</title>
				<link>http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p</link>
				<pubDate>Thu, 06 May 2010 18:02:38 +0000</pubDate>

									<content:encoded><![CDATA[<p>Ok, I got it to work. I added this&#8230;</p>
<p>function sh_walled_garden()<br />
{<br />
global $bp;<br />
if ( bp_is_register_page() || bp_is_activation_page() )<br />
return;<br />
if( ! bp_is_blog_page() &amp;&amp; ! is_user_logged_in() )<br />
bp_core_redirect( $bp-&gt;root_domain .&#8217;/&#8217;. BP_REGISTER_SLUG );<br />
}<br />
add_action( &#8216;walled_garden&#8217;, &#8216;sh_walled_garden&#8217; );</p>
<p>&#8230;into&hellip;<span class="activity-read-more" id="activity-read-more-5446"><a href="http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0ec62a1892e842b096c6072631e2d79d</guid>
				<title>jbarr posted on the forum topic I Need Help Writing A Custom Function to Redirect Non-Logged in Users. in the group How-To and Troubleshooting</title>
				<link>http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p</link>
				<pubDate>Thu, 06 May 2010 15:38:13 +0000</pubDate>

									<content:encoded><![CDATA[<p>As far as I recall, everything is &#8220;stock&#8221; except for me inserting the above function code into the end of the /wp-content/themes/cosmicbuddy/functions.php file.</p>
<p>Should I be adding the function code to the functions.php file in the /wp-content/themes// directory?</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">07f2918f26cca67f206ebc3c44627731</guid>
				<title>jbarr posted on the forum topic I Need Help Writing A Custom Function to Redirect Non-Logged in Users. in the group How-To and Troubleshooting</title>
				<link>http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p</link>
				<pubDate>Thu, 06 May 2010 12:44:24 +0000</pubDate>

									<content:encoded><![CDATA[<p>Just to clarify, the function code above is added to the functions.php in the theme&#8217;s directory (for example, /wp-content/themes/cosmicbuddy/) and NOT in the /wp-includes/ directory, correct?</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">13fd40ba40ff1b55f4451f6ebca37c6a</guid>
				<title>jbarr posted on the forum topic I Need Help Writing A Custom Function to Redirect Non-Logged in Users. in the group How-To and Troubleshooting</title>
				<link>http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p</link>
				<pubDate>Wed, 05 May 2010 21:51:20 +0000</pubDate>

									<content:encoded><![CDATA[<p>The source is here: <a href="http://pastebin.com/LSghtFLW" rel="nofollow ugc">http://pastebin.com/LSghtFLW</a></p>
<p>The added function is at the bottom.</p>
<p>I am using the CosmicBuddy BP theme.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">401b35112d42b9cd939eb1f03bddbe6a</guid>
				<title>jbarr posted on the forum topic I Need Help Writing A Custom Function to Redirect Non-Logged in Users. in the group How-To and Troubleshooting</title>
				<link>http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p</link>
				<pubDate>Wed, 05 May 2010 18:51:54 +0000</pubDate>

									<content:encoded><![CDATA[<p>when I add the function to functions.php in my theme directory, when i navigate to any page of my site, it just comes up blank. Suggestion?</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">7ad2b2fcb5267732066f4e1d583ca29b</guid>
				<title>jbarr posted on the forum topic I Need Help Writing A Custom Function to Redirect Non-Logged in Users. in the group How-To and Troubleshooting</title>
				<link>http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/i-need-help-writing-a-custom-function-to-redirect-non-logged-in-users/#p</link>
				<pubDate>Wed, 05 May 2010 12:38:43 +0000</pubDate>

									<content:encoded><![CDATA[<p>It looks like you have a solution, so for those of us who need some additional coaching, can you please explain how to implement it? I just love what BuddyPress has to offer, however for privacy reasons, on the site I&#8217;m developing I need to hide several components like &#8220;Activity&#8221; and &#8220;Members&#8221; when a visitor [&#8230;]</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">2f7d5dd577dde3725207e81205786db8</guid>
				<title>jbarr joined the group How-To and Troubleshooting</title>
				<link>https://buddypress.org/updates/p/4850/</link>
				<pubDate>Wed, 05 May 2010 12:38:43 +0000</pubDate>

				
									<slash:comments>0</slash:comments>
				
							</item>
		
	</channel>
</rss>