Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter feelee

    (@feelee)

    Hi David,

    thanks for the feedback. To answer your question, “yes, I have tried performing the same search using the Search Media text box in the Media/Assistant admin screen and I get way more results than when I perform the image search via the shortcode.”

    I have activated the debug log by editing the wp-config.php file so that it now includes:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    I have downloaded the error log and I am now going to send it to you at the address included in your website.

    Thanks again for your help.

    Filippo

    Thread Starter feelee

    (@feelee)

    Thanks for your reply David.

    I apologize, as I didn’t realize that there is a setting in the PMP plugin (“Filter searches and archives“) that needs to be set to “Yes – only members will see restricted posts/pages in searches and archives.” in order for your solution to work.

    I had switched that setting to “No” as I wanted the homepage (which is a “blog page” i.e. an archive page) to show something (post titles and featured images) to any visitor (including non-members). The problem is that in this way search results get shown to every member, regardless of their level (permissions).

    I will now try to find a solution to this issue (perhaps creating a separate page to show to non-members when they land on the home page…), which I realize is totally unrelated to the solution you provided already.

    Thank you again and please consider this issue closed.
    Best regards,
    Filippo

    Thread Starter feelee

    (@feelee)

    Thank you David,
    indeed the problem was with the style I was applying (specifically the display: inline-block; property, which I had removed…).
    Having adjusted the style (adding the display property back into my custom template) has corrected the problem.
    Please consider this topic resolved.
    Thanks again,
    Filippo

    Thread Starter feelee

    (@feelee)

    Hi David,

    the site’s a membership site so you need login credentials to access the content, however I created a test gallery which you can see without logging in.

    This is the url: https://www.fashiondirections.com/test-gallery-2/

    Thank you for taking the time to look into this.

    Cheers
    Filippo

    Thread Starter feelee

    (@feelee)

    Hi David,
    I’m very sorry I missed your updates to this issue.
    I just proceeded to install the dev version of the plugin and assigned a “restricted” category to a few images.
    It worked. Now those images don’t show up anymore in the search results for users that don’t have the required membership level.
    So, this is great news!
    As far as I understand, I will now have to manually assign categories to all the attachments in order to get the desired result, as it is not possible to filter out “any image that is attached to a post that belongs to a specific category”…
    Well, if there is no other way, I will proceed and do that.
    I would like to thank you and just confirm with you that I should keep the dev version of the plugin installed until the next update of the official version, if I’m correct?
    Thanks again!
    Have a good day!

    Thread Starter feelee

    (@feelee)

    Thank you so much David!
    Your solution works perfectly!
    As far as I’m concerned, you can close this topic and consider it resolved.

    I’m also still interested in exploring the other solution (full gallery + filters), but I understand I will need to open a new support topic for that one.

    In the meantime, thank you again and I wish you a good day!

    Thread Starter feelee

    (@feelee)

    Thanks for your reply David. Very kind and generous, as always.

    I don’t know how much trouble it would be for you to work on coding your proposed solution. Obviously I would find that extremely useful.

    But, I could also “spare” you the trouble if I was able to output a general gallery (which would include ALL shoes, or all shoes tagged as “FW19-20-shoes”) and then offer the user the possibility of further filtering such gallery by many other parameters (att_tags such as fw19-20, boots, sneakers…).

    I’m pretty sure that this is possible, and I have been trying hard to find the right way to do it by reading the forum, the plugin’s documentation and going through some of the example plugins. Unfortunately my currently-still-limited technical knowledge of wp and basic coding has prevented me thus far from finding such solution…but I intend on persevering.

    In the meantime, if you had any pointers on how to go about this second way of approaching the problem, I would again be very grateful.

    Thank you.
    Filippo

Viewing 7 replies - 1 through 7 (of 7 total)