Not intersecting filters in memberlist shortcode – UserPro Forums https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/feed/ Thu, 02 May 2024 06:48:17 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28414 <![CDATA[Not intersecting filters in memberlist shortcode]]> https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28414 Tue, 18 Mar 2014 00:27:04 +0000 Hi, Ahmed,

I am using this shortcode to show memberlist:

[userpro template=memberlist memberlist_default_search=0 search=0 memberlist_v2_bio=0 memberlist_v2_fields=role role=fahrer,team memberlist_v2_pic_size=110 memberlist_verified=1]

I tested the code with memberlist_verified=0 as well but in both cases it shows the same result which should not be.

The result is: it shows always all users, not intersecting the verification status.

This appears only when I specify particular user roles that has to be filtered in the results.

memberlist_verified works well when I don’t specify roles (role=fahrer,team).

I think you should check the logic code.

Please let us know.

Thank you,
Milena

]]>
https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28415 <![CDATA[Reply To: Not intersecting filters in memberlist shortcode]]> https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28415 Tue, 18 Mar 2014 00:29:14 +0000 Also, I forgot to mention that when I put memberlist_verified before memberlist_v2_fields, it was also not showing correctly the results (it was not showing found results), but when I put memberlist_verified at the end of the shortcode as it is in the example above, it is working fine.

Let us know also about this.

Thanks.

]]>
https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28416 <![CDATA[Reply To: Not intersecting filters in memberlist shortcode]]> https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28416 Tue, 18 Mar 2014 00:37:51 +0000 Using exclude in the above code also doesn’t work. I still see the excluded users in the memberlist.

Here is my code:

[userpro template=memberlist exclude=2,6,7,9,10,11 memberlist_default_search=0 search=0 memberlist_v2_bio=0 memberlist_v2_fields=role memberlist_v2_pic_size=110 memberlist_verified=0]

Please advise.

Thanks.

]]>
https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28763 <![CDATA[Reply To: Not intersecting filters in memberlist shortcode]]> https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28763 Fri, 21 Mar 2014 09:28:24 +0000 Hi, Ahmed,

I keep having several issues with the shortcode. I am still looking to get replay on this support question.

How is the logic behaving when there are no values entered for custom field for some of the profiles, and I perform a filtering regarding this custom field?

What I get on my site is not correct filtering or showing “No results matching your criteria”.

Please comment on this.

I start to get embarrassed in front of the client as I can give only guesses as answers but no proven answers.

Thanks,
Milena

]]>
https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28767 <![CDATA[Reply To: Not intersecting filters in memberlist shortcode]]> https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28767 Fri, 21 Mar 2014 09:42:05 +0000 Hi Ahmed,

Here is a URL to see it in action

http://maxxistires.de/sponsoring/

Please try the search filters and tell me if you got correct results. To me it keeps showing always the same profiles no matter what search criteria I choose.

It is really urgent.

Thank you,
Milena

]]>
https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28768 <![CDATA[Reply To: Not intersecting filters in memberlist shortcode]]> https://forum.userproplugin.com/forums/topic/not-intersecting-filters-in-memberlist-shortcode/#post-28768 Fri, 21 Mar 2014 09:44:40 +0000 Just to note, I exchange the filters above with a search filter that user can choose but the final result is the same. Something is not working as expected.

Here is shortcode implemented in the above URL:

[userpro template=memberlist memberlist_default_search=0 search_radsportart=”Radsportart,dropdown” search_profil_suche=”Sponsoring-Profil,dropdown” memberlist_v2_bio=0 memberlist_v2_fields=role memberlist_v2_pic_size=120 per_page=50 memberlist_verified=1]

Looking forward to receiving your comments,
Milena

]]>