/os-includes/osclass/ItemActions.php
If you have "require email validate" on, but don't want already registered users to validate
their email each time they post, you can make this edit.
Find (Line 48):
if($this->is_admin || !$has_to_validate) {
Replace with:
if($this->is_admin || !$has_to_validate || osc_is_web_user_logged_in()) {
Find (Line 104):
if ($this->is_admin || !$has_to_validate) {
Replace with:
if ($this->is_admin || !$has_to_validate || osc_is_web_user_logged_in()) {
Find (Line 118):
if(!$this->is_admin) {
Replace with:
if(!$this->is_admin && !osc_is_web_user_logged_in()) {
Find (Line 127):
if(osc_item_validation_enabled()) {
osc_add_flash_message( _m('Great! You\'ll receive an e-mail to activate your item')) ;
Replace with:
if(osc_item_validation_enabled() && !osc_is_web_user_logged_in()) {
osc_add_flash_message( _m('Great! You\'ll receive an e-mail to activate your item')) ;
Now when a registered user posts an ad, it will appear immediately.