<?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 | ggsalas | Activity</title>
	<link>https://buddypress.org/members/ggsalas/activity/</link>
	<atom:link href="https://buddypress.org/members/ggsalas/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed for ggsalas.</description>
	<lastBuildDate>Thu, 09 Apr 2026 14:08:37 +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">c41bd0795690e9998f0a5f71bc09c38b</guid>
				<title>ggsalas replied to the topic [Resolved] Custom-fields in Activity-content, error with function in the forum Creating &#038; Extending</title>
				<link>http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167944</link>
				<pubDate>Thu, 11 Jul 2013 20:01:20 +0000</pubDate>

									<content:encoded><![CDATA[<p>I know the problem: is the WPUF plugin. Now, the developer send me the solution:<br />
<code>function wpufe_modify_bp_activity( $post_id ) {<br />
    global $wpdb, $user_ID;</p>
<p>    //get the last inserted activity<br />
    $activity = $wpdb-&gt;get_row( &quot;SELECT * FROM {$wpdb-&gt;prefix}bp_activity WHERE secondary_item_id = $post_id AND user_id = $user_ID&quot;);</p>
<p>    // if&hellip;</code><span class="activity-read-more" id="activity-read-more-210916"><a href="http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167944" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3c3fadb92a2daa3ff49d8a2f844ca295</guid>
				<title>ggsalas replied to the topic [Resolved] Custom-fields in Activity-content, error with function in the forum Creating &#038; Extending</title>
				<link>http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167497</link>
				<pubDate>Wed, 03 Jul 2013 20:42:28 +0000</pubDate>

									<content:encoded><![CDATA[<p>I think the problem is that i can’t get the post id. I tried with this code and it works:<br />
<code>return get_post_meta(577, &#039;txt_link&#039;, true).&#039;This1&#039;;</code></p>
<p>I tried in many ways but I cant get the post-id to work with bp_blogs_activity_new_post_content filter</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">ebe566e6d108e597166cca4c7c7da3ed</guid>
				<title>ggsalas replied to the topic [Resolved] Custom-fields in Activity-content, error with function in the forum Creating &#038; Extending</title>
				<link>http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167435</link>
				<pubDate>Tue, 02 Jul 2013 20:01:41 +0000</pubDate>

									<content:encoded><![CDATA[<p>Hi, I simplify the code and get same result: the text &#8220;this yes&#8221; appears, and the custom-field not.<br />
<code>add_filter( &#039;bp_blogs_activity_new_post_content&#039;, &#039;record_post_activity_content&#039; );<br />
function record_post_activity_content(){<br />
      return get_post_meta($post-&gt;ID, &#039;txt_link&#039;, true).&#039;this yes&#039;;<br />
}	</code></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">af6edf4cab8705298082f0715505fd0e</guid>
				<title>ggsalas replied to the topic [Resolved] Custom-fields in Activity-content, error with function in the forum Creating &#038; Extending</title>
				<link>http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167390</link>
				<pubDate>Mon, 01 Jul 2013 20:18:09 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://buddypress.org/community/members/boonebgorges/" rel="nofollow ugc">@boonebgorges</a>, </p>
<p>With this code I have  NO results:<br />
<code>function test1(){<br />
	global $post;<br />
	$test_customfield = get_post_meta($post-&gt;ID, &#039;txt_documento&#039;, true);<br />
	return $test_customfield;<br />
	}</p>
<p>//function test1( $the_post ) {<br />
//    $post_id = $the_post-&gt;ID;<br />
//}</p>
<p>function record_post_activity_content($activity_content, $post, $post_permalink ){<br />
    if(&hellip;</code><span class="activity-read-more" id="activity-read-more-210376"><a href="http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167390" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">9367021b3c1fef650fe1b06a08af03ad</guid>
				<title>ggsalas replied to the topic [Resolved] Custom-fields in Activity-content, error with function in the forum Creating &#038; Extending</title>
				<link>http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167385</link>
				<pubDate>Mon, 01 Jul 2013 19:19:14 +0000</pubDate>

									<content:encoded><![CDATA[<p><a href="http://buddypress.org/community/members/boonebgorges/" rel="nofollow ugc">@boonebgorges</a> YES it works!!! </p>
<p>But when I tried to show a custom-field stops working. This is my example code:<br />
<code>function test1(){<br />
	global $post;<br />
	$test_customfield = get_post_meta($post-&gt;ID, &#039;txt_documento&#039;, true);<br />
	return $test_customfield;<br />
	}</p>
<p>function record_post_activity_content($activity_content, $post, $post_permalink ){<br />
    if(&hellip;</code><span class="activity-read-more" id="activity-read-more-210372"><a href="http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/#post-167385" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">be7f00bc777c33ba4b160f2e4b3b6f2b</guid>
				<title>ggsalas started the topic [Resolved] Custom-fields in Activity-content, error with function in the forum Creating &#038; Extending</title>
				<link>http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/</link>
				<pubDate>Mon, 01 Jul 2013 15:13:57 +0000</pubDate>

									<content:encoded><![CDATA[<p>Hi, i need add custom-fields to activity-content. </p>
<p>I can&#8217;t do this. In this example I show that the text &#8220;this yes&#8221; appears in activity and  &#8220;test1&#8221; function not appears. This function is what I need to show my custom fields.</p>
<p>Thanks<code>function test1(){<br />
	echo &#039;this not&#039;;<br />
	}</p>
<p>function record_post_activity_content($activity_content, $post,&hellip;</code><span class="activity-read-more" id="activity-read-more-210340"><a href="http://buddypress.org/support/topic/custom-fields-in-activity-content-error-with-function/" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>