• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Additional Moderation Queue Actions


Well-known member
ATM the modqueue actions are limited to "approve" and "delete".

It would be nice, if we could define more actions via the handler. (e.g. include also softdelete + delnotice) OR even much more powerful workflows where we would need more states as "approved and not approved" (e.g. article system, where the mods approve the articles (1. level) and the team leader sees e.g. only the 1. level approved articles, and then he's able to really make them public.. So he'll not need to waste his time with viewing all the articles because the the mods would sort the trash out^^ It's just an example, which would require backend changes, but it's just an example why it would be good to be able to have this more reusable)

A way would be to define and call the actions in the modqueue handler which would also returns the template with the formfields for the specific content type in the modqueue list

maybe it's easier to understand the code:D

instead of the 2 hardcoded actions in the moderationqueue model
      if ($change['action'] == 'approve')
         $handler->approveModerationQueueEntry($entry['content_id'], $message, $title);
       else if ($change['action'] == 'delete')
xenforo could have this
if (in_array($handler->getAvailableActions(), $change['action']){
         $handler->callAction(, $change['action'], $entry['content_id'], $message, $title);

and instead of the hardcoded actions in the template moderation_queue_list
<li><label for="ctrl_{$entry.content_type}_{$entry.content_id}_action_approve">
                 <input type="radio" name="queue[{$entry.content_type}][{$entry.content_id}][action]" value="approve" id="ctrl_{$entry.content_type}_{$entry.content_id}_action_approve" />
                 {xen:phrase approve}

               <li><label for="ctrl_{$entry.content_type}_{$entry.content_id}_action_delete">
                 <input type="radio" name="queue[{$entry.content_type}][{$entry.content_id}][action]" value="delete" id="ctrl_{$entry.content_type}_{$entry.content_id}_action_delete" />
                 {xen:phrase delete}
the actions would come from the handler->getAvailableActions() method.
Last edited:

Chris D

XenForo developer
Staff member
That is not correct.

A nearly 3 year old suggestion with only two likes, by definition of "Lack of Interest", has been rejected by the wider customer base.