• The bug (relating to CF7DB): When I remove entries via the CF7DB interface, it should also remove entries from your “_dk_forms_duplicate” table, as well. Otherwise, we’ll still get an alert that a duplicate entry is present.

    The feature request: Please enable basic HTML support for the custom error message. I tried to provide a link to the “Contact Us” page, however, it stripped out the a href link I put in. You might want to consider providing a visual / text editor interface for this (stay away from Gutenberg interfaces, please, haha!)

    And, finally, additional plugin support: Love that you’re now supporting the CF7DB plugin, however, for this site, we need the ability to also support editing existing entries. I’ve located the “Database for Contact Form 7, WPforms, Elementor forms” plugin, which gives us that ability. I just want to make sure that if any entries are deleted in this database that they’re also removed from your database, as well (same “issue” as the bug report above).

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’ve got a better way to address points #1 and #3: Give us an interface to manage/delete items (single or bulk, or by form ID). That would address the issues, for now, I think. ??

    Plugin Author wpnia

    (@wpnia)

    Hello Douglas,

    Sorry for my late reply.

    Please update the plugin to the last version, 1.1.5

    The last version contain an interface to manage the saved values in your WordPress database.

    Regarding the feature request: “Please enable basic HTML”.
    I made some tests regarding this situation and this feature cannot be implemented due to Contact Form 7 plugin. The problem is not at Duplicate Killer.

    Please read more here and here, on official plugin website regarding html.

    Thank you,
    N. Ionut

    Nia, thank you for the change in allowing us to remove entries that don’t need to be filtered. The new interface works beautifully!

    In regards to the “allow HTML” question, this is specific to the DK plugin (its error message when a duplicate entry is added in). In the WP Options table, “CF7_page”‘s value contains a serialized string. Searching for the unique (nonsensical) error message I put in reveals that the field name is “cf7_error_message”.

    Searching within the D.K. plugin folder for that error message field name:

    [site4@mwp-ssh ~/html/wp-content/plugins/duplicate-killer]$ find . -type f -print0 | xargs -0 grep -l “cf7_error_message”
    ./includes/functions_cf7.php

    Line 174 contains the sanitization logic there (“sanitize_text_field”). If you change that to “wp_kses_post” instead, this will allow the HTML request I posted above.

    Thanks!

    Plugin Author wpnia

    (@wpnia)

    Hello Douglas,

    The change you required will not resolve the problem.

    Indeed, “wp_kses_post” will let you put HTML there but the error message will be text plain.

    Please see here the test.

    Duplicate Killer use the function “set_response” from CF7 to show the error message as below:

    “$object->set_response($cf7_page[‘cf7_error_message’])” on line 87, includes/functions_cf7.php

    So, this feature cannot be implemented due to Contact Form 7 plugin. The problem is not at Duplicate Killer

    Thank you,

    Thread Starter Douglas “BearlyDoug” Hazard

    (@bearlydoug)

    @wpnia, I really appreciate your support with this; you have been FANTASTIC to work with!

    I’ve filed a “functionality change” request with the CF7 folks… I’ll keep you in the loop for this. Hoping they’ll accept the logic for the change. ??

    Thanks again, Nia!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘One bug, one feature, and one “please include support for this plugin” request’ is closed to new replies.