Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Search in whispers / private comments

Would really like to get search results for whispers or private comments (appropriate to the user's role). Can't seem to find a plugin, or anyone else asking this. Any clues?

Comments

  • hgtonighthgtonight ∞ · New Moderator

    Private messages are handled by the conversations application. There is no implemented search model for this application. The good news is that Garden/Vanilla offers you the tools to create it!

    You would have to create a conversations search model somewhat like /applications/vanilla/models/class.searchmodel.php. The actual difficulty would be in filtering the results by permissions. Once you get this figured out, you would call it on the search model event.

    public function SearchModel_Search_Handler($Sender) {
        $SearchModel = new ConversationsSearchModel();
        $SearchModel->Search($Sender);
    }
    

    There is no way I could possibly show you how to do this (I am but a lowly volunteer), but I would be happy to help you with any specific issues that come up.

    Welcome to the community!

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.