<?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 | vince_ | Activity</title>
	<link>https://buddypress.org/members/vince_/activity/</link>
	<atom:link href="https://buddypress.org/members/vince_/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed for vince_.</description>
	<lastBuildDate>Fri, 03 Apr 2026 19:11:16 +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">ad98add05819990a7202c270c3f4a6e1</guid>
				<title>vince_ replied to the topic Get xprofile field value in functions.php in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/#post-165847</link>
				<pubDate>Wed, 12 Jun 2013 14:26:00 +0000</pubDate>

									<content:encoded><![CDATA[<p>I&#8217;ve got it &#8230; It wasn&#8217;t in the right order &#8230; I feel stupid</p>
<p>add_action( &#8216;init&#8217;, &#8216;my_em_setup_nav&#8217; );</p>
<p>	function my_em_setup_nav(){<br />
		global $bp;<br />
		$args = array(<br />
			&#8216;field&#8217;   =&gt; &#8216;Role&#8217;,<br />
			&#8216;user_id&#8217; =&gt; bp_loggedin_user_id()<br />
		);<br />
		$role = bp_get_profile_field_data($args);<br />
		if( $role == &#8220;Role1&#8243;&hellip;<span class="activity-read-more" id="activity-read-more-208890"><a href="https://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/#post-165847" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3497a7fc47801ad2860bef1edec12748</guid>
				<title>vince_ replied to the topic Get xprofile field value in functions.php in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/#post-165846</link>
				<pubDate>Wed, 12 Jun 2013 14:23:01 +0000</pubDate>

									<content:encoded><![CDATA[<p>no sorry, it returns the right number</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">df2f14dd4344579d1140c90e5d6e0f80</guid>
				<title>vince_ replied to the topic Get xprofile field value in functions.php in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/#post-165845</link>
				<pubDate>Wed, 12 Jun 2013 14:21:30 +0000</pubDate>

									<content:encoded><![CDATA[<p>bp_loggedin_user_id() returns 0</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">75d08985c4eb847617d0336799d6fbd8</guid>
				<title>vince_ replied to the topic Get xprofile field value in functions.php in the forum How-to &#038; Troubleshooting</title>
				<link>http://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/#post-165844</link>
				<pubDate>Wed, 12 Jun 2013 13:42:24 +0000</pubDate>

									<content:encoded><![CDATA[<p>It&#8217;s not working, here is my entire code (without the &#8220;if&#8221; condition it&#8217;s working) :<br />
<code>$args = array(<br />
		&#039;field&#039;   =&gt; &#039;Role&#039;,<br />
		&#039;user_id&#039; =&gt; bp_loggedin_user_id()<br />
	);</p>
<p>	$role = bp_get_profile_field_data($args);<br />
	add_action( &#039;init&#039;, &#039;my_em_setup_nav&#039; );</p>
<p>	function my_em_setup_nav(){<br />
		global $bp;<br />
		if( $role == &quot;Role1&quot;&hellip;</code><span class="activity-read-more" id="activity-read-more-208887"><a href="http://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/#post-165844" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5c758b2a8c5285967934b92414b3d886</guid>
				<title>vince_ replied to the topic Get xprofile field value in functions.php in the forum How-to &#038; Troubleshooting</title>
				<link>http://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/#post-165839</link>
				<pubDate>Wed, 12 Jun 2013 11:51:36 +0000</pubDate>

									<content:encoded><![CDATA[<p>Hi,</p>
<p>No, it&#8217;s not working. My 2 other techniques work in other pages but not in functions.php.<br />
Does this file have something special ?</p>
<p>Thanks</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">397a72fc6e0c2f871a0236511cf34cc4</guid>
				<title>vince_ started the topic Get xprofile field value in functions.php in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/</link>
				<pubDate>Wed, 12 Jun 2013 10:52:29 +0000</pubDate>

									<content:encoded><![CDATA[<p>Hi Guys !</p>
<p>I need to get the value of the &#8220;Role&#8221; xprofile field of the current logged in user in the functions.php file (It&#8217;s located in bp-themesbp-default)</p>
<p>I tried the following stuff :</p>
<p>$role = xprofile_get_field_data(&#8220;Role&#8221;, bp_get_group_member_id());</p>
<p>AND</p>
<p>$role = bp_get_profile_field_data(<br />
	array(<br />
		&#8216;field&#8217; =&gt; &#8220;Role&#8221;, // where 1 is the&hellip;<span class="activity-read-more" id="activity-read-more-208870"><a href="https://buddypress.org/support/topic/get-xprofile-field-value-in-functions-php/" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">07bbd6b775364cbb69ee81431eee9ed5</guid>
				<title>vince_ started the topic &#034;Order by&#034; doesn&#039;t work  in the forum Installing BuddyPress</title>
				<link>http://buddypress.org/support/topic/order-by-doesnt-work/</link>
				<pubDate>Thu, 06 Jun 2013 11:44:28 +0000</pubDate>

									<content:encoded><![CDATA[<p>Hi,</p>
<p>I am using <strong>WP 3.5.1</strong> and <strong>BP 1.7.2</strong>. The &#8220;Order by&#8221; function in my website :</p>
<p><a href="http://teachersinvietnam.com/members/" rel="nofollow ugc">http://teachersinvietnam.com/members/</a></p>
<p>isn&#8217;t working. In Chrome I have the following message :</p>
<p>Uncaught TypeError: Cannot call method &#8216;split&#8217; of undefined global.js:658</p>
<p>What can I do to fix this problem ?</p>
<p>Thank you very much,</p>
<p>Regards, Vincent</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>