I activated the plugin to try it but did not find this option “manually enter the username” please give me an image
Pro version, a page with a username confirmation form created using a shortcode.
Page url looks like this: https://site.com/register/?loginSocial=google
PHP can be seen here: nextend-facebook-connect\includes\userData.php (free version)
public function customRegisterFlowShortcode() {
$errors = $this->errors;
if (is_wp_error($errors)) {
$html = array();
if ($errors->get_error_messages()) {
foreach ($errors->get_error_messages() as $error) {
$html[] = '<div class="error">' . $error . '</div>';
}
}
if (!empty($html)) {
echo '<style>.nsl-messages .error{background-color: #e2401c;border-left: .6180469716em solid rgba(0,0,0,.15);padding: 1em 1.618em;margin-bottom: 2.617924em;color:#fff;}</style>';
echo '<div class="nsl-messages">' . implode('', $html) . '</div>';
}
}
$this->errors = array();
return $this->render_registration_form();
}
I can’t deal with it. Tried to override via functions.php, didn’t work.
Error message shown: “This username is invalid because it uses illegal characters. Please enter a valid username.” Even if the case is in other violations by the user.
Or: “Please enter a value for your username.” If the user has not completed the form.
These are the error warnings from the wordpress.
Your plugin works flawlessly on other pages of the site (in a modal window), the problem is only with error messages on one page.
I’m sorry, but the plugin didn’t work for me, so I can’t fix the problem.
I managed to solve the problem. The Nextend Social Login plugin had a higher priority for reporting errors.