We are a not for profit organisation. I am coming to this plugin as we recently suffered a malware redirect attack on our site that used Ultimate Member. I am a SQL server developer by day but don’t know anything about php, so..
if ( $fields[‘my_field’] != ‘some_criteria’ ) {
$wpmem_themsg = ‘your error message…’;
would become
$badusers = array(“admin”, “webmaster”, “root”, “administrator”);
if (in_array($fields[‘username’], $badusers)) {
$wpmem_themsg = ‘Please choose an alternative username. Certain usernames are not allowed’;