Upload code for active/deactive post