KirbyDE,
I suspect that
Code:
if ($post['permissions']['adminpermissions'] & CANCONTROLPANEL)
is not right. Perhaps
Code:
$permissions['adminpermissions'] & CANCONTROLPANEL)
although I am not sure in showthread.php where it is set. (Too tired to check.

)
In any case, this suggested mod will only allow CANCONTROLPANEL to view/run the HTML. I am not sure, but I think the request might be for admin's to be able to post and all to view/run.
Cheers