This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Private PDF files

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #30365
    sebasweb27sebasweb27
    Participant

    Hi,
    Today I bought this plugin through theme forest because my client needs a private search engine for pdf files that will be hosted in the media tab.

    The file can only be viewed when the user has correctly entered the search term.

    As they are checking private reports for the validation of precious stones, these documents cannot be visible to the public, only those who receive the printed document with the corresponding number.

    I can’t find a way to do this, and it’s the only reason I bought this plugin.

    Could you help me please, thank you very much.

    #30371
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I need a bit more information for this, as in wordpress there are no media attachment restrictions by default.
    – Do the users should have access to a specific set of attachments only?
    – How is this restriction implemented? (plugin, custom code, theme etc..)
    – Is there an API documentation to a function to programmatically check if a user has access to a specific document?
    With an API I should be able to recommend a possible custom code to remove matches to which the user does not have access to.

    #30405
    sebasweb27sebasweb27
    Participant

    I do not have an API for this, my intention is to be able to solve my need with your plugin.

    The only thing I need is that it does not show me suggested files in PDF format while the user types in the search engine.

    can you help me please.

    I can’t find a way to do it.

    Thanks a lot.

    a greeting

    #30408
    Ernest MarcinkoErnest Marcinko
    Keymaster

    The only thing I need is that it does not show me suggested files in PDF format while the user types in the search engine.

    Do you want the result links to go the the attachment page instead, is that what you mean? You can change that here: https://i.imgur.com/2i8mUTT.png

    #30414
    sebasweb27sebasweb27
    Participant

    Thank you very much for your answer.

    It is not what I need, but thanks for that clarification, it works the same way.

    What I need is that the search engine does not show me suggested files when I start to write in it, that it ONLY show me the file when I write the word completely, in this way, I prevent users from seeing that there are other files similar to the one They are looking for.

    For example, if I have two files whose name begins with car, but the name at the end is car-red-02.pdf and the other is car-green-02.pdf I am not interested in that when I write the word car, automatically show me the two files, ONLY when I write the one I am looking for.

    This is because the files I am looking for are private and can only be seen by those who have the exact word with which they are going to look for them to verify that they exist within their official registry.

    #30416
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Okay, thank you for clarification. In that case, I would suggest trying the “AND with exact keyword matches” keyword logic as well: https://i.imgur.com/WRKKkT6.png
    That may get you closer to what you are looking for.

    #30432
    sebasweb27sebasweb27
    Participant

    I really appreciate your help, but unfortunately I can’t find what I need.

    My goal is to be able to find PDF files with an exact search without file suggestion.

    With the configuration you suggested, I have not been able to achieve it either.

    #30440
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Well, I’m not sure if there is a way to make any search work like that. I can suggest a possible direct modification to the attachment search file, to allow only fully exact matches on the file name:

    1. Make sure to have a full site back-up
    2. Open up the .. file on your server
    3. Replace it’s contents with this
    4. Save the file
    5. On the attachment search, I recommend this configuration: https://i.imgur.com/fxfhDlt.png

    That should do only a completely exact field match on the file title. If you need help with the change, you can add temporary FTP details, and I will do it for you.

    #30445
    sebasweb27sebasweb27
    Participant

    You cannot access this content.

    #30448
    Ernest MarcinkoErnest Marcinko
    Keymaster

    That was a nifty solution for sure 🙂

    You can do that by enabling this option. Links should open in a new window afterwards: https://i.imgur.com/fwMIEIB.png

    #30449
    sebasweb27sebasweb27
    Participant

    Again, thank you very much, I hope the client is very happy with the result, what you just explained worked very well, you know the service you offer very well, that gives a very good quality to your plugin.

    #30450
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #30453
    sebasweb27sebasweb27
    Participant

    Ready, you have my assessment in codecanyon.

    Again thank you very much and of course, let’s close this ticket for now.

    The support from the creator of this plugin has been very good, he has responded in the shortest time possible and seeks to give you a solution to make your purchase worthwhile.

    #30454
    sebasweb27sebasweb27
    Participant

    of course you will see my assessment directly in codecanyon.

    I shared it with you here so you know what it was.

    a greeting

    #30455
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Private PDF files’ is closed to new replies.