Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Hide customs posts in live search
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year ago.
- AuthorPosts
- March 1, 2022 at 7:02 am #36950
Hi Ernest
Finally bought your excellent plugin 😊
And is I thought, the ajax search lists the documents that the user is not allowed to see, right now I made it so that if you choose the document in Ajax live search, there is just a link back to the search, but I would prefer it, if the files are not listed at all
See website without being logged in.
if you go to fil-database menu item, and search for test you can see a file named test3.pdf, but if you click on manuals, the file is hidden as it should be.
I am as I told you, using “User Access Manager” to hide the files for different users.
Anything you can do? And if you can – price?
And here is documentation for UAM
https://github.com/GM-Alex/user-access-manager/wiki/Code-SnippetsMarch 1, 2022 at 1:00 pm #36957Hi,
Thank you for your kind words!
Unfortunately we are not available for custom jobs, but I will try to suggest any custom code I can. I checked the code-snippets link, however it does not contain enough information for this case.
For this to work, I need either a way to get the post/document IDs, which the user can not access, or a function, which can check if the user has access to a specific document.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 1, 2022 at 1:41 pm #36965Hi again
Thanks for following up – I just mailed the creator of UAM, hopefully he can give me function 🙂
March 2, 2022 at 10:57 am #36974Thank you! Let me know 🙂
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.