You can change these values in your file 'os-includes/osclass/ItemActions.php'.
Looking for lines 98-108. and lines 309-318.
foreach(@$aItem['title'] as $key => $value) {
if( osc_validate_text($value, 1) && osc_validate_max($value, 100) ) {
$title_message = '';
break;
}
$title_message .=
(!osc_validate_text($value, 1) ? sprintf(_m("Title too short (%s)."), $key) . PHP_EOL : '' ) .
(!osc_validate_max($value, 100) ? sprintf(_m("Title too long (%s)."), $key) . PHP_EOL : '' );
}
I changed the maximum size of the title of my ad to 45, which in my case was well settled.
In this case, only changed values between lines 309-318. And my code was as shown below.
foreach(@$aItem['title'] as $key => $value) {
if( osc_validate_text($value, 1) && osc_validate_max($value, 45) ) {
$td_message = '';
break;
}
$td_message .=
(!osc_validate_text($value, 1) ? _m("Title too short.") . PHP_EOL : '' ) .
(!osc_validate_max($value, 45) ? _m("Title too long.") . PHP_EOL : '' );
}