action

  1. CMTV

    XF 2.0 Adding custom action to inline moderation actions panel

    Hi! Is there a way to add my own custom thread action in inline moderation actions <select...>? My action is called actionSolve in extended Thread entity class and it requires custom special permission solve_threads to be performed. I tried to add <option value="solve">Solve threads</option>...
  2. CMTV

    XF 2.0 Call methods of extended entity

    I extended Thread entity and added custom method canSolve(). Then I extended Thread controller with actionSolve(ParameterBug $pb) method: public function actionSolve(ParameterBag $pb) { $thread = $this->assertViewableThread($pb->thread_id); /* There is no such a method in...
Top