// replace 1,2,3,4 with your usergroup IDsif (is_member_of($vbulletin->userinfo, array(1,2,3,4))){ $vbulletin->options['edittimelimit'] = 0;}