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.
Is it possible for me to edit Conversation (Inbox) messages?*
I looked in the wiki, the Community, and did a search ... nada.
Did I break something along the way or is the edit feature not available to change a post just made in Inbox - Conversation, please?
Version 2.0.18.8
Tagged:
0
Comments
The feature to edit a conversation message is not available.
Add Pages to Vanilla with the Basic Pages app
:-(
Silver lining is that I didn't break it or miss finding it!
Any word if that will be added in the pending new version?
Thanks!
I've heard no news of it, but it probably doesn't exist because of the nature of private messages.
Add Pages to Vanilla with the Basic Pages app
It doesn't seem hard to test that the one trying to edit is the one who originally posted.
I have observed that access to edit your post in some places is time-limited (e.g. 5 minutes).
You should make a plugin and release it when it's finished.
Add Pages to Vanilla with the Basic Pages app
Funny guy ... I'm lucky to remember where to find the right files to edit when I jump back into Vanilla from the 12 other unrelated projects going here ...
Thanks.
Whoa, I love that idea!
I think this feature would be used really often. It would only make sense to let unread PMs be editable. You could give unread PMs their own css class with the same plugin and if I remember it right, there's already a plugin that highlights unread PMs. I assume that this plugin would be the best start.
Form handling is something I've not yet understood so I cannot judge how complicate it would be.
I don't think I will have an opportunity to work on this, but maybe someone other wants to take the challenge? I believe it is a good job for a starter because you will not have many things to take care of if you can extend an existing form.
I keep watching this thread!
Well, the beginning was in fact easy, but I know much less about javascript than I know about php and that is really not enough to finish such a plugin.
At least I've started on it and maybe someone wants to take over? https://github.com/R-J/EditConversations
If somebody wants to have different styles for read and unread conversations, that's already working like a charm and I'm somewhat proud that it takes no extra db queries for it :-)
What's not working (and that's most of it although it looks nice to me already)
@R_J You get to use different delivery types!
Use something like below to access the basic view of a controller.
Note: Not all controllers return different things for different views.
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.
Thanks for that, but to be honest: I don't understand two of your three sentences, although the code looks pretty self explanatory.
I've never done anything complicated with JS and I've taken a look at
post.js
from Garden because I wanted to mimic the behaviour of editing comments, but I couldn't understand it.I've underestimated the work that creating that plugin would make and so I just postpone it. I've hardly understood what I'm doing when I write PHP and my goal is to become more fluent with writing PHP code first.
Nevertheless, I've invested some time in that plugin already and maybe there will be someone searching for "edit conversations", who sees my unfinished plugin and can benefit from it.
For information about delivery methods and types, check out
/library/core/class.controller.php
.An excerpt:
The easiest example to demonstrate is visit
/discussions
,/discussions?DeliveryType=VIEW
,/discussions?DeliveryMethod=JSON
, and/discussions?DeliveryType=VIEW&DeliveryMethod=JSON
in your browser and inspect what you see.Controllers can (and most vanilla controllers do) render different output based on the delivery type and method selected. This allows access to most data through AJAX. And this support is in the core.
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.
Editing conversations is like editing emails or text messages. It don't make a lick of sense.
@hgtonight: that seems to be quite useful and straightforward as far as I can judge and I have this discussion bookmarked. As soon as I haven't got to use google for every second line I try to code in JS, I might give this a second try. But I assume that this will not be in the near future...
@Lincoln: it might not make sense for you, but my girlfriend and I were using the same forum once and I'm convinced we're still a couple because we could change what we have written in the first run before the other has seen it ;-)
But you are surely right that this is nothing which belongs naturally to a conversation addon. IMHO it would be just a nice plugin and if it would exist it would be used, not because it is necessary but because it is comfortable.
not editing conversation
I've never seen this mentioned before:
but a way to add a subject to the conversations
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.