Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Roll your own discussions listings question.
I'm new to Vanilla (and PHP) so this is likely to be a boneheaded question, but I'd like to be able to format my own SQL queries (i.e. w/o using sqlbuilder) and use the results to populate my discussions page. I've got the SQL working fine, but I'm unsure as to where to go from here. Any hints?
0
This discussion has been closed.
Comments
CommentManager'sDiscussionManager's PreGetDiscussionList, (/library/Vanilla/Vanilla.Class.DiscussionManager.php) although I'm not sure if you would be able to replace the SQL in the builder directly with a pre-written query.But this begs the question of what you want to accomplish. The discussion list query is very complex, and different depending on the user browsing the forum--accounting for whispers, stickies, sink, blocked categories, etc. and this would be hard to account for all of these variables.
edit: I meant discussion manager :-)