that didn't work so let's simplify the original code
PHP Code:
if (($postinfo['userid'] != $bbuserinfo[userid] AND !$grps_permissions['groupspostedit']) OR (!grps_permissions['groupsmoderater'])
simplified that would be
PHP Code:
if ($clause_one OR $clause_two)
so basically i want if either of clause_one or clause_two = true then let the person edit the post, else show a no permission screen.