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.
Toggle to Keep Date Order?
I noticed that once someone comments on a post, it bubbles to the top like in a forum. Is there a way to keep them in chronological order?
0
Comments
Submissions to that end are welcome in the open source project.
There was an error rendering this rich post.
Most probably results are sorted by modification date.
Either by DateUpdated or DateLastComment field and you need soring by DateInserted.
The 'Sink Discussion' feature does what I need, I just need to auto sink them when the initial post is made.
There was an error rendering this rich post.
And this results is not updating DataUpdated field, as I understand code.
And this is why it is not right approach to your problem.
http://www.vanilla-wiki.info/Bugs/VariousTips
There was an error rendering this rich post.
Read me previous post about how Sink works.
Yes, it'll make that he want, but it is wrong approach, as if he suddenly become interested in proper sorting according to DataUpdated he couldn't do this.
I really don't see anything else that relies on that field though. I've done some tests and notifications, new tags, etc... all work even when a discussion is sunk.
It would be preferable, I think, for the vanilla forum to sort on date created if sink is set, and not change the DataUpdated based on the sink attribute. This should avoid the loss of data and allow a more abstract use of the sink feature. @Tim @Todd @Mark Can any of you comment on the approach? I'd be happy to take a look at the vanilla source and provide a patch if you agree with the reasoning here.
There was an error rendering this rich post.
not that its the right solution, but I was trying to get the discussions to maintain a sort by post date and was able to get something working in the SQL query by ordering with DateInserted in descending order. alas, the rest of my hacking around didn't result in anything of value.
You do need some changes that are still in the vanilla unstable branch right now though. Otherwise, you need to sink the blog post as soon as you make it.
There was an error rendering this rich post.
btw, the blog style in the current unstable branch looks great!
Re: date on post; I agree. That might require some more changes to core vanilla (I hope not) but we'll see.
There was an error rendering this rich post.