Forums › Forums › Search & Filter Pro › Incompatibility with membership plugin
Tagged: membership, plugin
- This topic has 14 replies, 2 voices, and was last updated 5 years, 9 months ago by Trevor.
-
Anonymous(Private) January 14, 2019 at 12:29 pm #198839
Hi,
According to the devs of our membership plugin S&F is showing (drip feed) content while it should be hidden for non-members.
When I asked for a workaround I got this anwer:
IT all depends of how the 3rd party script manage to list custom posts. If is a brute wokflow just taking data from DB and display, there is no way from any other script to take any action over that showcase. If WP listing posts functions are used, on this case, UMP is ready to change the listing showcase and remove restricted posts.
Im trying to understand the situation. Does S&F uses direct DB to show listings or WP listing posts?
Thanks!
Trevor(Private) January 14, 2019 at 12:44 pm #198840We use wp_query to request data from the database – we do not access the database directly. I seem to recall another user asking this question, and I think they used this filter:
https://searchandfilter.com/documentation/action-filter-reference/#edit-query-arguments
… to alter the query depending on access/membership.
Anonymous(Private) January 14, 2019 at 2:43 pm #198849Hi Trevor,
Yes, if we set the post (download) to only visible for members it should be hidden for visitors. When members log in it should be visible.
We also use related, New and Featured plugins, and it is working with those plugins. But not on this page with S&F:
https://www.dl-sounds.com/member/downloadsThe tracks “demo1” and “world vibes” are set to member only in admin.
No, we use Post Type Archive.
-
AuthorPosts