• Resolved Michael

    (@whispardesign)


    Hello,

    The devs at Relevanssi say they have support for the member plugin.

    Can we ensure that search does NOT return results for any pages/content that is for members only? Once a member is logged into the site – all search items will be available site wide. Content behind the protected member pages will include pages, posts, custom post types, pdf’s, etc.

    If so – how do we go about setting this up?`
    Best,

    Michael

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, unfortunately I have never used Relevanssi plugin myself. I am sure Relevanssi has some sort of control to manage our plusin, since it is compatible with our plugin according to the description.

    Kind regards.

    Thread Starter Michael

    (@whispardesign)

    Thank you.

    It does have support as indicated. What I do not see is the ability to “protect” any documents or files uploaded to the media folder that have been uploaded to member only pages. They still show up in a general search.

    Any options here to protect those files?

    Edit:
    Actually I do see where we can protect the media files – have to edit the actual attachment page.

    This brings up a secondary question. When trying to view a protected media file – all one sees is a big padlock rather than the login screen that you would see when trying to access a protected page. This isn’t very user-friendly. Is there a way to have a similar result when trying to view a protected media item similar to what you get when trying to view a ptotected page or post?

    Thank you

    • This reply was modified 2 years, 7 months ago by Michael.
    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for providing more information.

    What I do not see is the ability to “protect” any documents or files uploaded to the media folder that have been uploaded to member only pages. They still show up in a general search.

    Unfortunately our plugin does not protect the images inside the media folder. We never advertise this in the description. You need a third party plugin from WordPress repository to achieve this.

    Kind regards.

    Thread Starter Michael

    (@whispardesign)

    Thank you again – but it actually does per my edit above – on the media attachment page edit – See screenshot: https://snipboard.io/IjyhLd.jpg

    Is this an accident that this works this way? I could be missing something…

    This is what I get when trying to view the pdf (in this case) when not logged in as a member: https://snipboard.io/RjXkfo.jpg

    To which I asked this above:
    This brings up a secondary question. When trying to view a protected media file – all one sees is a big padlock rather than the login screen that you would see when trying to access a protected page. This isn’t very user-friendly so is there a way to have a similar result when trying to view a protected media item similar to what you get when trying to view a ptotected page or post?

    Best,
    Michael

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for sharing more information. I have submitted a message to the developers to investigate further your findings.

    Kind regards.

    Thread Starter Michael

    (@whispardesign)

    Thank you – please keep me posted – this is rather important to decide if this plugin is the correct one to use for further development.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I found a forum post with a tweak. I just thought of sharing this with you. This might help you.

    https://simple-membership-plugin.com/forums/topic/protecting-files-media/

    Kind regards.

    Plugin Author wp.insider

    (@wpinsider-1)

    Hi Michael, Our plugin won’t be suitable for what you are trying to do. We don’t really have any option whereby the search feature of WordPress won’t return any results if the post or page item is protected. The way our plugin’s architecture works is that it doesn’t remove the page or post item from the system. So search will still see the item in the database but the content of that post will be hidden/protected. You will need a customized solution.

    Regarding the media file, there are two aspects of this:

    1) The attachment page that WordPress will create when you upload the media file via media uploader.
    2) The actual static file (example: yourdomain.com/testfile.jpg) that you can access by going directly to that static file’s URL (this doesn’t go via the WordPress system). The above mentioned attachment page will link to this static file.

    The 2nd item won’t be handled by our plugin. Different people will handle the storage of static files differently (for example: some people will prefer to put their files on amazon S3). So we don’t have a universal way of handling this at the moment. We usually recommend using a download manager type plugin to handle the static files. A download manager type plugin will have some features and options for hiding/protecting the static files. You can configure the file as a download item and then embed it on a protected post or page so only a member can download it.

    Thread Starter Michael

    (@whispardesign)

    Thank you for the input – we are still testing different methods of how this needs to work.

    In the meantime – is there a way that site admins can also be members rather than having to have a separate user and email address? It would make it a lot easier for us that frequently access the site (especially for testing) if that is an option? Please advise.

    EDIT: To be clear – the admins are existing admins on the site prior to the plugin being installed. We would also like the option as new admins are added, they can also be added as a member.

    Best,
    Michael

    • This reply was modified 2 years, 7 months ago by Michael.
    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    is there a way that site admins can also be members rather than having to have a separate user and email address?

    Please check the following documentation. Let us know if this is what you are referring too.

    Thank you.

    Thread Starter Michael

    (@whispardesign)

    Thank you – which document? Nothing listed above.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, sorry but it looks like the copy and paste did not work. Please check the following documentation. Let us know if this is what you are referring too.

    https://simple-membership-plugin.com/giving-wordpress-admin-user-access-protected-content/

    Thank you.

    Thread Starter Michael

    (@whispardesign)

    Indeed it does – thank you – works like a charm!

    Plugin Support mbrsolution

    (@mbrsolution)

    I am glad it does ?? Is your issue resolved?

    Regards.

    Thread Starter Michael

    (@whispardesign)

    I think so for now. Thank you again!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Relevanssi Compatibilty – Search’ is closed to new replies.