HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Ability to show discussion between a certain date?
Okay so to revive an old thread I have added the following to my plugin public function discussionsController_events_create($sender, $args) { // /discussions/events/2020/04/04?filter=date // Save our passed date arguments $year = intval($args[0]); $month = intval($args[1]); $day = intval($args[2]); // Test it to make sure… -
Re: Ability to show discussion between a certain date?
@rbrahmson : clever! I would have mimiced the controller logic and reused only the view, but your approach is much more robust, future proof and requires less code. Since @MrCaspan doesn't need a flexible solution as you needed in your plugin, Vanillas "new" filters maybe better suited than hooking into the model: public…
2 results