2016-12-28, 08:04 PM
When adding a moderator, there are two options:
So basically, you can only (un)approve threads, if you have the permission to (un)approve posts. The check in forumdisplay.php should check canapproveunapprovethreads instead. The check in showthread.php seems fine.
- Can approve/unapprove threads?
- Can approve/unapprove posts?
if(is_moderator($fid, "canapproveunapproveposts"))
{
eval("\$inlinemodapproveunapprove = \"".$templates->get("forumdisplay_inlinemoderation_approveunapprove")."\";");
}
So basically, you can only (un)approve threads, if you have the permission to (un)approve posts. The check in forumdisplay.php should check canapproveunapprovethreads instead. The check in showthread.php seems fine.