<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>Comments on: Extending BuddyPress Group Hierarchy &#8211; Creating a Member Groups list</title>
	<atom:link href="http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/</link>
	<description>Dangerously different projects and code</description>
	<lastBuildDate>Sat, 07 Jun 2014 17:10:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>By: Wayne Rowlands</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-43266</link>
		<dc:creator><![CDATA[Wayne Rowlands]]></dc:creator>
		<pubDate>Thu, 12 Dec 2013 23:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-43266</guid>
		<description><![CDATA[I see that you have developed a number of BuddyPress plugins. There is one that would be great. When a member is on the activity stream, it would be great if there was a plugin that permitted a member to post to a number of groups at once. ]]></description>
		<content:encoded><![CDATA[<p>I see that you have developed a number of BuddyPress plugins. There is one that would be great. When a member is on the activity stream, it would be great if there was a plugin that permitted a member to post to a number of groups at once. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddean</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-1690</link>
		<dc:creator><![CDATA[ddean]]></dc:creator>
		<pubDate>Fri, 30 Nov 2012 02:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-1690</guid>
		<description><![CDATA[Hi, Johnny! 
 
This code will only show the level below the current group. bp_has_groups_hierarchy() allows you to select groups by parent_id, but doesn&#039;t give you all groups. 
 
You can use the BP_Groups_Hierarchy::get_tree() method to get the whole tree. It&#039;ll still take some processing to arrange the groups into a sitemap, but that&#039;s the function to start with. ]]></description>
		<content:encoded><![CDATA[<p>Hi, Johnny! </p>
<p>This code will only show the level below the current group. bp_has_groups_hierarchy() allows you to select groups by parent_id, but doesn&#039;t give you all groups. </p>
<p>You can use the BP_Groups_Hierarchy::get_tree() method to get the whole tree. It&#039;ll still take some processing to arrange the groups into a sitemap, but that&#039;s the function to start with. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-1270</link>
		<dc:creator><![CDATA[Johnny]]></dc:creator>
		<pubDate>Mon, 01 Oct 2012 04:09:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-1270</guid>
		<description><![CDATA[We are approaching 1000 groups at &lt;a href=&quot;http://tradr.com&quot; rel=&quot;nofollow&quot;&gt;http://tradr.com&lt;/a&gt; 
 
It is a struggle to get a good &#039;sitemap&#039; format of all groups. 
 
Is it possible to turn this code into a shortcode to display on a page? 
 
Thanks for any help, 
 
Johnny]]></description>
		<content:encoded><![CDATA[<p>We are approaching 1000 groups at <a href="http://tradr.com" rel="nofollow">http://tradr.com</a> </p>
<p>It is a struggle to get a good &#039;sitemap&#039; format of all groups. </p>
<p>Is it possible to turn this code into a shortcode to display on a page? </p>
<p>Thanks for any help, </p>
<p>Johnny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-513</link>
		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Mon, 25 Jun 2012 12:20:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-513</guid>
		<description><![CDATA[sorry about that, I am speaking generally. I would of emailed the question but couldn&#039;t find an email address on the site. I am making a site that has the top groups as DVD listings and I would like to let the members to make sub-groups for each top group but I don&#039;t want sub-groups to have sub-groups (limit top groups to have a hierarchy level of 1). ]]></description>
		<content:encoded><![CDATA[<p>sorry about that, I am speaking generally. I would of emailed the question but couldn&#039;t find an email address on the site. I am making a site that has the top groups as DVD listings and I would like to let the members to make sub-groups for each top group but I don&#039;t want sub-groups to have sub-groups (limit top groups to have a hierarchy level of 1). </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddean</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-510</link>
		<dc:creator><![CDATA[ddean]]></dc:creator>
		<pubDate>Mon, 25 Jun 2012 03:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-510</guid>
		<description><![CDATA[Ben, 
 
I&#039;m a little confused by what you mean. Are you speaking generally or just about this post? 
 
Let me know and I&#039;ll be happy to help! ]]></description>
		<content:encoded><![CDATA[<p>Ben, </p>
<p>I&#039;m a little confused by what you mean. Are you speaking generally or just about this post? </p>
<p>Let me know and I&#039;ll be happy to help! </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-421</link>
		<dc:creator><![CDATA[Ben]]></dc:creator>
		<pubDate>Tue, 12 Jun 2012 02:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-421</guid>
		<description><![CDATA[Hey David, 
 
How would I us the bp_group_hierarchy_has_parent() function? Say if I wanted to hide a certain &lt;div&gt; if the group was not the parent group? 
I am currently trying to do it like so; 
 
&lt;?php if ( bp_group_hierarchy_has_parent() ) { ?&gt; 
&lt;div&gt; I am hidden &lt;/div&gt; 
&lt;?php } else { ?&gt; 
&lt;div&gt; I am NOT &lt;/div&gt; 
 
Thanks mate :)]]></description>
		<content:encoded><![CDATA[<p>Hey David, </p>
<p>How would I us the bp_group_hierarchy_has_parent() function? Say if I wanted to hide a certain &lt;div&gt; if the group was not the parent group?<br />
I am currently trying to do it like so; </p>
<p>&lt;?php if ( bp_group_hierarchy_has_parent() ) { ?&gt;<br />
&lt;div&gt; I am hidden &lt;/div&gt;<br />
&lt;?php } else { ?&gt;<br />
&lt;div&gt; I am NOT &lt;/div&gt; </p>
<p>Thanks mate <img src="http://www.generalthreat.com/wordpress/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddean</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-283</link>
		<dc:creator><![CDATA[ddean]]></dc:creator>
		<pubDate>Tue, 01 May 2012 17:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-283</guid>
		<description><![CDATA[Hi Corey, 
 
You can use &lt;code&gt;bp_group_is_member()&lt;/code&gt;, which will return whether the current user is a member of the current group. In the example above, you&#039;d probably just return from the &lt;code&gt;my_func_list_member_groups()&lt;/code&gt; function if the user is not a member, but you could also print a message about needing to join to see member groups. 
 
Just make sure to call it before &lt;code&gt;bp_has_groups_hierarchy()&lt;/code&gt;, or it will be checking against the child groups! ]]></description>
		<content:encoded><![CDATA[<p>Hi Corey, </p>
<p>You can use &lt;code&gt;bp_group_is_member()&lt;/code&gt;, which will return whether the current user is a member of the current group. In the example above, you&#039;d probably just return from the &lt;code&gt;my_func_list_member_groups()&lt;/code&gt; function if the user is not a member, but you could also print a message about needing to join to see member groups. </p>
<p>Just make sure to call it before &lt;code&gt;bp_has_groups_hierarchy()&lt;/code&gt;, or it will be checking against the child groups! </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey McKrill</title>
		<link>http://www.generalthreat.com/2012/01/extending-buddypress-group-hierarchy-list-member-groups/#comment-275</link>
		<dc:creator><![CDATA[Corey McKrill]]></dc:creator>
		<pubDate>Fri, 27 Apr 2012 19:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.generalthreat.com/?p=82#comment-275</guid>
		<description><![CDATA[Hi David, 
 
I&#039;m trying to figure out how to make the Group Tree only show child groups if the current user is a member of the parent group. Any thoughts on how to approach it?]]></description>
		<content:encoded><![CDATA[<p>Hi David, </p>
<p>I&#039;m trying to figure out how to make the Group Tree only show child groups if the current user is a member of the parent group. Any thoughts on how to approach it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

 Served from: www.generalthreat.com @ 2026-06-10 03:53:38 by W3 Total Cache -->