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.
Sorting all comments except the first one in reverse order?
ddumont
✭✭
Comments
I want the initial post comment at the top (the blog post) and then the most recent comments displayed first. So reverse sort order from normal except for the 1st post that started the thread.
There was an error rendering this rich post.
There was an error rendering this rich post.
Just musing while I'm here at work.
If you have an idea and are interested, I'd welcome patches/pull requests/etc on the project page.
There was an error rendering this rich post.
Install voting plugin, change sorting via locale and add "desc" to corresponding SQL query. Or make your own plugin with thsi change from original.
There was an error rendering this rich post.
Or I am not right here?
Do you know if anyone will be able to review my plugin soon? It also looks like since you are using it, the syntax highlighter plugin should probably be marked reviewed, right?
There was an error rendering this rich post.
Speaking of syntax higlighter.
@Mark, I hope to see separate Body and Body_Html for all main elements (Conversations, Discussion text and Comment body).
As having formatters always working upon display is not good thing.
May be it is also good idea to integrate few plugins inside Vanilla.
I mean Voting, Tagging Enchanced, Gravatar and this syntax highlighter.
So, we could merge their CSS files and make code much more efficient.
@tester13 - Agreed on the body_html. We've been talking about doing that for a while, and decided to do a memcached implementation first instead.
The minify plugin was intended to do what you're talking about w/ combining js and css files, but we found limitations in how the minify library worked, as well as problems with combining plugin files on various pages (ie. a plugin only wants to include it's css on one page, not all pages, so it doesn't make sense and might cause problems to have it in a core css file that is included on all pages, and there is no way for the minify plugin to know if the css for that plugin is supposed to be included on just one page, etc).
There was an error rendering this rich post.
As for Minify, I don't think that it is good approach, as instead of cashing it actually makes browser fetch different versions of almost same files.
So, may be better approach is integration of few plugins and automatic making minified versions of main forum CSS and combining plugins in two-three groups by usage (leaving jquery and jquery.ui for CDN).
I tried but I had to update my pull request because the comment model does not know about the category ID (deal breaker)
This seems to work on my forum, but posting new comments really screws up the ui... any ideas or is this looking like a lost cause ?
There was an error rendering this rich post.
I want conditional sorting based on what kind of category is being shown.
Voting plugin uses values in preferences or sent in a get query. My sort needs to be conditional on the category you happen to be looking at.
Were you talking about that, or something about the post creation and placement in the ui?
There was an error rendering this rich post.
Look at plugin.
And use CategoryID for discussion to switch sorting order.
The Voting plugin will not meet the needs of my project, if you disagree why don't you actually point me to something useful. I've already looked at the plugin and obviously have missed what you are talking about.
There was an error rendering this rich post.