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.
Alright so I'm working up an extension that allows a user to click [hide] next to any discussion, and then they can no longer see it unless select Hidden Discussions from the Discussion Filters in the panel. I'm reasonably far along, but getting Vanilla to actually hide the discussion seems trickier than I first imagined. I have a new DB setup that holds a list of the user hidden discussion ids. This part all works. Now I need to filter out the results, blocking any discussion id in that set. My first thought was to alter the data in the DiscussionGrid's PreRender() delegate, but its working with a mysql resource pointer instead of actual data. This doesn't get used until we are already in the theme itself, disussions.php. So, given a list/array of discussion ids to hide, how would one approach this easily?
This discussion has been closed.