<?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 | anjanphukan | Activity</title>
	<link>https://buddypress.org/members/anjanphukan/activity/</link>
	<atom:link href="https://buddypress.org/members/anjanphukan/activity/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed for anjanphukan.</description>
	<lastBuildDate>Tue, 21 Apr 2026 18:14:44 +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">ca66fa4ae96ad9ca59a4aa72a1843a86</guid>
				<title>anjanphukan replied to the topic Filter members based on checkbox type custom field in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/filter-members-based-on-checkbox-type-custom-field/#post-323879</link>
				<pubDate>Tue, 15 Mar 2022 11:29:16 +0000</pubDate>

									<content:encoded><![CDATA[<p>I am using <a href="https://www.buddyboss.com/resources/reference/classes/bp_user_query/" rel="noopener" rel="nofollow ugc">BP_User_Query</a> and <a href="https://www.buddyboss.com/resources/reference/classes/bp_xprofile_query/" rel="noopener" rel="nofollow ugc">BP_Xprofile_Queury</a> with the following code and it worked for me now.</p>
<p><code>$xprofile_query = array( &#039;relation&#039; =&gt; &#039;OR&#039;);</p>
<p>foreach ($my_items as $key =&gt; $value) {<br />
	$xprofile_query[] = array(<br />
		&#039;key&#039;=&gt; $fieldID,<br />
		&#039;value&#039; =&gt; $value,<br />
		&#039;compare&#039; =&gt; &#039;LIKE&#039;<br />
	);<br />
}</p>
<p>$args = array(<br />
	&#039;member_type&#039; =&gt; &#039;donor&#039;,<br />
);</p>
<p>if&hellip;</code><span class="activity-read-more" id="activity-read-more-3020928"><a href="https://buddypress.org/support/topic/filter-members-based-on-checkbox-type-custom-field/#post-323879" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">4fe532a5915b3e37872695f7fdc056ab</guid>
				<title>anjanphukan replied to the topic Filter members based on checkbox type custom field in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/filter-members-based-on-checkbox-type-custom-field/#post-323861</link>
				<pubDate>Mon, 14 Mar 2022 06:20:18 +0000</pubDate>

									<content:encoded><![CDATA[<p>Thank you so much <a href="https://buddypress.org/members/shanebp/" rel="nofollow ugc">@shanebp</a>.</p>
<p>But I am a little bit worried as this may bring up the results for the items named &#8211; &#8220;tested&#8221;, &#8220;pre-test&#8221;, &#8220;untest&#8221;, &#8220;not tested&#8221;, etc. if I try to filter the items named only &#8220;test&#8221;.</p>
<p>Any suggestions?</p>
<p>Regards.</p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">3e0ceb75305fa6d5d9c58d06f0a28f63</guid>
				<title>anjanphukan replied to the topic Filter members based on checkbox type custom field in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/filter-members-based-on-checkbox-type-custom-field/#post-323838</link>
				<pubDate>Sat, 12 Mar 2022 06:04:03 +0000</pubDate>

									<content:encoded><![CDATA[<p>Sure no problem. So here is my scenario.</p>
<p>There are 2 member types and I have a custom user field created, let&#8217;s called it Items.</p>
<p>Both member types need to select some of those Item checkboxes. Now I need to show the oposite member types with common Items on a member profile. For that I created a custom page and run the Members loop. I was able&hellip;<span class="activity-read-more" id="activity-read-more-3016851"><a href="https://buddypress.org/support/topic/filter-members-based-on-checkbox-type-custom-field/#post-323838" rel="nofollow ugc">[Read more]</a></span></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">0c6bf60cf219e889c45563cd17ccd7e3</guid>
				<title>anjanphukan replied to the topic Filter members based on checkbox type custom field in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/filter-members-based-on-checkbox-type-custom-field/#post-323832</link>
				<pubDate>Fri, 11 Mar 2022 21:15:27 +0000</pubDate>

									<content:encoded><![CDATA[<p>When the checkboxes are selected at the time of registration, they are stored in &#8220;bp_xprofile_data&#8221; table like this:<br />
<a href="https://ibb.co/BgMRFw1" rel="nofollow ugc"><img loading="lazy" src="https://i.ibb.co/RCwWd75/IMG-20220312-WA0000.jpg" alt="IMG-20220312-WA0000" width="1280" height="601" /></a></p>
]]></content:encoded>
				
				
							</item>
					<item>
				<guid isPermaLink="false">5ddc70281fea87520fd9d0fd15b7f4aa</guid>
				<title>anjanphukan started the topic Filter members based on checkbox type custom field in the forum How-to &#038; Troubleshooting</title>
				<link>https://buddypress.org/support/topic/filter-members-based-on-checkbox-type-custom-field/</link>
				<pubDate>Fri, 11 Mar 2022 16:12:44 +0000</pubDate>

									<content:encoded><![CDATA[<p>How to use <code>bp_has_members()</code> function to filter members based on a custom field which is a set of checkboxes?<br />
I think checkbox values are stored as array in database.<br />
<code>my_custom_ids()</code> function in Members Loop works only with single value. But it doesn&#8217;t work with array of checkboxes.</p>
<p>Thank you.</p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>