Also you need to create a new hook
ajax_start and add
PHP Code:
$ozzmodz_editable_post['active'] = $vbulletin->options['ozzmodz_editable_post_active']; //Is mod active
$allowed_users = explode(',', $vbulletin->options['ozzmodz_editable_post_groups']); //Allowed users
$included_forums = explode(",", $vbulletin->options['ozzmodz_editable_post_forums']); //Enabled forums
global $threadinfo, $postinfo, $foruminfo, $vbulletin;
if (($threadinfo['firstpostid'] == $postinfo['postid']) AND ($vbulletin->userinfo['userid'] == $postinfo['userid']) AND ($ozzmodz_editable_post['active']) AND (is_member_of(vB::$vbulletin->userinfo, $allowed_users) AND in_array($forumid, $included_forums)))
{
$vbulletin->options['edittimelimit'] = 0;
}