xryskom
Member
I have plugin DuplicateServerChecker ,
We set it up for new registrations and for usercp_edit_process_form
array_push($form_validate, validate_db_duplicate('title', mb_strtolower($TMPL['title']), array('LOWER(title)')));
array_push($form_validate, validate_db_duplicate('url', mb_strtolower($TMPL['url']), array('LOWER(url)')));
array_push($form_validate, validate_db_duplicate('acf_gameserver_ip', mb_strtolower($TMPL['acf_gameserver_ip']), array('LOWER(acf_gameserver_ip)')));
array_push($form_validate, validate_db_duplicate('acf_loginserver_ip', mb_strtolower($TMPL['acf_loginserver_ip']), array('LOWER(acf_loginserver_ip)')));
the problem is that even if users DO NOT edit these rows while trying to edit free-to-edit rows , they get an error for acf_gameserver_ip' and acf_loginserver_ip .
anything we can do about it ?
We set it up for new registrations and for usercp_edit_process_form
array_push($form_validate, validate_db_duplicate('title', mb_strtolower($TMPL['title']), array('LOWER(title)')));
array_push($form_validate, validate_db_duplicate('url', mb_strtolower($TMPL['url']), array('LOWER(url)')));
array_push($form_validate, validate_db_duplicate('acf_gameserver_ip', mb_strtolower($TMPL['acf_gameserver_ip']), array('LOWER(acf_gameserver_ip)')));
array_push($form_validate, validate_db_duplicate('acf_loginserver_ip', mb_strtolower($TMPL['acf_loginserver_ip']), array('LOWER(acf_loginserver_ip)')));
the problem is that even if users DO NOT edit these rows while trying to edit free-to-edit rows , they get an error for acf_gameserver_ip' and acf_loginserver_ip .
anything we can do about it ?