MasterRed
Forum Replies Created
-
Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] Setting page is not showedThanks to MIhai for support.
The issue is not caused by the plugin.
Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] Setting page is not showedDone, have you received my message ?
Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] Setting page is not showedThanks for support.
EDIT
Forum: Plugins
In reply to: [WPBruiser {no- Captcha anti-Spam}] Setting page is not showedIf I delete Goodbye Captcha in my database I still see “wp_gdbc_attempts” table and in wp_options” the options gdbcwordpressadminmodule-settings and gdbcsettingsadminmodule-settings.
If I delete a plugin, all options and tables of this plugin should disappear, why instead I still see them ?
Forum: Plugins
In reply to: [Ninja Forms - The Contact Form Builder That Grows With You] Unique ID ErrorWhy edit post function disappears in short time?
Forced to write new post ??My goal was to show just a mistake at a time in the alert box above the form.
This is my contribute:function register_maxdisplay_errori(){ add_action( 'ninja_forms_pre_process', 'maxdisplay_errori', 100 ); } add_action( 'init', 'register_maxdisplay_errori' ); function maxdisplay_errori(){ global $ninja_forms_processing; $all_errors = $ninja_forms_processing->get_all_errors(); $numero_errori = count($all_errors); if( $numero_errori > 4 ) { $ninja_forms_processing->remove_error('spam-general'); $ninja_forms_processing->remove_error('email-general'); } elseif ( $numero_errori > 2 ) { $ninja_forms_processing->remove_error('spam-general'); } }
I hope to be helpful to someone else.
Maybe next time I will have a little help for gratitude.Bye
Forum: Plugins
In reply to: [Ninja Forms - The Contact Form Builder That Grows With You] Unique ID ErrorI have solved with another type of function
Forum: Plugins
In reply to: [Ninja Forms - The Contact Form Builder That Grows With You] Unique ID ErrorOK, found it but the code doesn’t work.
I need to be replaced, this code (in includes/fields/textbox.php row 306):
$ninja_forms_processing->add_error('email-general', $invalid_email);
with:
$ninja_forms_processing->add_error('email-general', $invalid_email, $field_id);
and this code (in includes/fields/spam.php row 131):
$ninja_forms_processing->add_error('spam-general', $spam_error, 'general');
with:
$ninja_forms_processing->add_error('spam-general', $spam_error, $field_id );
My code is:
function ninja_forms_newdisplay_error(){ add_action( 'ninja_forms_pre_process', 'ninja_forms_newdis', 100 ); } add_action( 'init', 'ninja_forms_newdisplay_error' ); function ninja_forms_newdis(){ global $ninja_forms_processing; $xxx = $ninja_forms_processing->get_all_errors(); $xxx = array( 'email-general' => array(‘error_msg’ => ‘MY MESSAGE’), 'spam-general' => array (‘error_msg’ => ‘MY MESSAGE’) ); }
Can you help me?