HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search-Function for Conversations
Hi all,
I wanted to ask if anyone of you ever tried to work on a simple search for "Conversation" in Vanilla. My community requests that and the rise of Messengers clearly shows people like to PM much more than ever before.
What approach would make sense for your community. A search input on the "Conversation List" (search among all conversations) or would it be better to have it inside the "Conversation" (search inside a conversation)?
Would be great to hear your opinion. From community managers need to developers opinion what is doable and smart ways to achieve.
Greetz, phreak
- VanillaAPP | iOS & Android App for Vanilla - White label app for Vanilla Forums OS
- VanillaSkins | Plugins, Themes, Graphics and Custom Development for Vanilla
0
Comments
Personally, I don't really understand the request.
Conversations, by design, are private between the users involved. Allowing them to be searchable removes that privacy.
And what would you do even if you searched and found a conversation you were interested in?
You can't join unless you are invited, so you'd need to send a separate message to ask to join.
@whu606: You misunderstood me a bit. Users would only be able to search through their own conversations.
People in my community look up addresses or phone numbers (or any other info) that got sunk in their long private conversations. Scrolling up and loading the rest of the conversation after several days of talk makes Vanilla conversations quiet unhandy.
I guess we need new tools as private messaging has become more than just a side functionality in your favorite forum (where I think it was between 1995 and 2015).
Ah! I see.
As far as I know there is no such functionality. Mixing it into the normal search sounds as if it has to confuse people, so adding it to the conversations page is almost a requirement.
I started to write something like that right now, since in the days when I used forums quite heavily, I would have loved to have such a possibility!
I started adding a module to the panel in /messages/all which offers a little input box. When you enter some words and press enter, you are taken to a result page just like the results for discussions.
I'll start with the most basic functionality: search in conversation bodies.
I don't know if I will ever find time, but I think it should be extended to also accept user, subject and date filters.
Another fine thing would be to extend this module to also appear when a user looks at a discussion and make the button a drop down button which gives the option to either do a normal search or directly search in this conversation...
For anybody interested: I have a (fully?) working version on GitHub: https://github.com/R-J/searchMessages
BEWARE: I have renamed the plugin and the repo shows an old name. The files would need to be stored in
/plugins/conversationSearch
!Since it is quite obvious what it should do, let me mention what you might expect but what is not implemented:
I have intentionally decided against searching in unread messages. Maybe I make this an option, but I don't think it is reasonable.
What I want to do before uploading here:
@phreak: if you find the time, a sleek icon would be great - maybe some combination of a magnifying glass and an inbox symbol?
https://open.vanillaforums.com/addon/conversationsearch-plugin-0.2.0
I failed when trying to change the click target.
Implementing the nice dropdown button for searching in the current conversation would have required to use JavaScript and I didn't want to do that, so I've added a checkbox (if appropriate)
I changed the logic to always include unread messages.
Searching in subjects, filtering and sorting isn't implemented and I do not plan to add this.
@R_J: Amazing. I am busy with a fair currently but I am eager to check it out the coming week. Thanks for your efforts.
would like to find out more
@jonooh02 me 2
hi @jonooh02 let's try this again!!!