For the life of me I can't figure out how. I'm building off ControllerPublic_Search but I can't for the life of me figure out how to pass parameters to it instead of going through the search form.
At the moment I'm using a listener to extend XenForo_ControllerPublic_Search and then calling actionSearch, but I want to add the following constraints :
A: A list of threads
B: Containing posts by the current user
C: Within x timeframe (I can add this later)