In postings.php find:
PHP Code:
if ($action=="deletethread") {
Add after:
PHP Code:
if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();
}
Find:
PHP Code:
if ($action=="deleteposts") {
Add after:
PHP Code:
// Edit Only Admin Delete Posts
if ($bbuserinfo[usergroupid]!=6) {
show_nopermission();
}
Only admins can delete posts now, other uses will see the error no permission screen