Hello,
Please help me
How to block registered mobile number user post ad without login
oc-includes/osclass/controller/item.php
if(!osc_is_web_user_logged_in()) {
$user = User::newInstance()->findByEmail($mItems->data['contactEmail']);
// The user exists but it's not logged
if(isset($user['pk_i_id'])) {
foreach( $mItems->data as $key => $value ) {
Session::newInstance()->_keepForm($key);
}
osc_add_flash_error_message( _m('A user with that email address already exists, if it is you, please log in'));
$this->redirectTo(osc_user_login_url());
}
}
'A user with that MOBILE NUMBER already exists, if it is you, please log in[/b