@developGr
In item-post.php, somewhere at start add:
<?php
$user_group = ModelOSP::newInstance()->getUserGroup(osc_logged_user_id());
if($user_group <= 0) {
osc_add_flash_error_message(__('Only members of bellow listed groups can add new listing.', 'osclass_pay'));
header('Location:' . osc_route_url('osp-membership'));
exit;
}
?>