Try the following in ubb_edit_post.cgi (untested; they'll still have the checkbox to delete the post, but if they select it, it will show them an error and not delete it) Find:
Code
if($permit_delete ne "true") {
Replace with:
Code
if($permit_delete ne "true" || ($user_profile[8] ne 'Administrator' && $user_number != $profile_number)) {
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.