<?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 | Babak Fakhamzadeh | Activity</title>
	<link>https://buddypress.org/members/mastababa/activity/</link>
	<atom:link href="https://buddypress.org/members/mastababa/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed for Babak Fakhamzadeh.</description>
	<lastBuildDate>Fri, 17 Apr 2026 06:10:42 +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">fd80686a7afb2e7aa3455ad5b79731a1</guid>
				<title>Babak Fakhamzadeh replied to the topic How to attach custom activities to groups? in the forum Creating &#038; Extending</title>
				<link>https://buddypress.org/support/topic/how-to-attach-custom-activities-to-groups/#post-307484</link>
				<pubDate>Thu, 22 Aug 2019 18:20:30 +0000</pubDate>

									<content:encoded><![CDATA[<p>I can call a custom template for my custom page like so:</p>
<p><code>function my_new_group_show_screen_content() {<br />
	echo bp_buffer_template_part( &#039;groups/group-custom&#039;, null, false );<br />
}</code></p>
<p>Then, just for testing, on that template, I record a visit to that page as an activity, like so:</p>
<p><code>	$defaults = array(<br />
		&#039;user_id&#039; =&gt; &#039;1&#039;,<br />
		&#039;action&#039; =&gt; &#039;A user just&hellip;</code><span class="activity-read-more" id="activity-read-more-1890912"><a href="https://buddypress.org/support/topic/how-to-attach-custom-activities-to-groups/#post-307484" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">55226cd36b3942c33ea56494f7bd5241</guid>
				<title>Babak Fakhamzadeh replied to the topic How to attach custom activities to groups? in the forum Creating &#038; Extending</title>
				<link>https://buddypress.org/support/topic/how-to-attach-custom-activities-to-groups/#post-307479</link>
				<pubDate>Thu, 22 Aug 2019 13:45:53 +0000</pubDate>

									<content:encoded><![CDATA[<p>A first step could be to add a custom tab on the groups pages. This works for that:</p>
<p>This worked for me:</p>
<p><code>    function setup_group_nav(){<br />
    	global $bp;<br />
    	/* Add some group subnav items */<br />
    	$user_access = false;<br />
    	$group_link = &#039;&#039;;<br />
    	if( bp_is_active(&#039;groups&#039;) &amp;&amp; !empty($bp-&gt;groups-&gt;current_group) ){<br />
    		$group_link =&hellip;</code><span class="activity-read-more" id="activity-read-more-1890509"><a href="https://buddypress.org/support/topic/how-to-attach-custom-activities-to-groups/#post-307479" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">03c10c5d39667457ae8956b46c4ada3f</guid>
				<title>Babak Fakhamzadeh replied to the topic Add Custom Tab to Groups Directory in the forum Creating &#038; Extending</title>
				<link>https://buddypress.org/support/topic/add-custom-tab-to-groups-directory/#post-307478</link>
				<pubDate>Thu, 22 Aug 2019 13:42:47 +0000</pubDate>

									<content:encoded><![CDATA[<p>I looked at the code for the plugin &#8216;Events Manager&#8217;, and managed to put together the following which worked for me:</p>
<p><code>    function setup_group_nav(){<br />
    	global $bp;<br />
    	/* Add some group subnav items */<br />
    	$user_access = false;<br />
    	$group_link = &#039;&#039;;<br />
    	if( bp_is_active(&#039;groups&#039;) &amp;&amp; !empty($bp-&gt;groups-&gt;current_group) ){<br />
    		$group_link =&hellip;</code><span class="activity-read-more" id="activity-read-more-1890506"><a href="https://buddypress.org/support/topic/add-custom-tab-to-groups-directory/#post-307478" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">93abf73da965830ddde5c7b71c1c32a9</guid>
				<title>Babak Fakhamzadeh replied to the topic Add Custom Tab to Groups Directory in the forum Creating &#038; Extending</title>
				<link>https://buddypress.org/support/topic/add-custom-tab-to-groups-directory/#post-307477</link>
				<pubDate>Thu, 22 Aug 2019 12:50:42 +0000</pubDate>

									<content:encoded><![CDATA[<p>I also just discovered this 🙁</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">77cdf43c261c3df747da7563dca1ce3d</guid>
				<title>Babak Fakhamzadeh started the topic How to attach custom activities to groups? in the forum Creating &#038; Extending</title>
				<link>https://buddypress.org/support/topic/how-to-attach-custom-activities-to-groups/</link>
				<pubDate>Wed, 21 Aug 2019 23:07:55 +0000</pubDate>

									<content:encoded><![CDATA[<p>I have a custom post type, <code>my_cpt</code>.<br />
I can make creations of posts of type my_cpt visible in activity feeds with this (in bp-custom.php):</p>
<p><code>add_post_type_support( &#039;my_cpt&#039;, &#039;buddypress-activity&#039; );</code></p>
<p>This does not make this type of activity available when creating a new activity. How can I make this happen, in the same way that I can select a group&hellip;<span class="activity-read-more" id="activity-read-more-1889377"><a href="https://buddypress.org/support/topic/how-to-attach-custom-activities-to-groups/" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>