Forums Forums Search & Filter Pro Incompatibility with membership plugin

Tagged: ,

Viewing 10 posts - 1 through 10 (of 15 total)
  • Anonymous
    #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
    #198840

    We 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.

    Trevor
    #198845

    Thinking a little more around this question, do you want there to be no results if membership is not present, and full results if it is, or do you need certain posts restricted?

    Are you using our Shortcode Display Results Method?

    Anonymous
    #198849

    Hi 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/downloads

    The tracks “demo1” and “world vibes” are set to member only in admin.

    No, we use Post Type Archive.

    Trevor
    #198853

    I can see that you are using the Post Type Archive method of displaying the results.

    Is the setting to restrict to members only a custom field attached to that post?

    Anonymous
    #198916
    This reply has been marked as private.
    Trevor
    #198920
    This reply has been marked as private.
    Anonymous
    #198924
    This reply has been marked as private.
    Trevor
    #198928
    This reply has been marked as private.
    Anonymous
    #198937
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 15 total)