• Resolved separatereality

    (@separatereality)


    Hi Matthias,

    thanks for the great plugin!

    We are using a plugin from the IT-Recht-Kanzlei to auto-update AGB, etc. to keep it up-to-date. Unfortunately that does not work in conjunction with GDPR-compliant ReCaptcha (“Error E21-79: Plugin nicht erreichbar” on their end).

    I gave this to their support which got this info from their tech support:

    “Hallo Herr ….,
    der Server/das Plugin stuft den übertragungsversuch zum testshop.wordpress als Spam ein.
    Bitte den Mandanten darauf hinweisen, dass die Kanzlei IP zu whitelisten ist, dann sollte es wieder funktionieren.
    Die IP für die Whitelist lautet
    142.132.160.229

    Is this a valid reason? Any change to implement anything like a Whitelist (or just a filter to use in function.php)?

    Best regards,
    Tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Matthias Nordwig

    (@matthiasnordwig)

    Hi.

    If I understand your problem correctly, you are using a Plugin from IT-Rechts-Kanzlei that updates your AGB automatically via a web form and you are seeking for a solution to whitelist the IP of their server, that automatically fills your webform that updates the AGB.

    Unfortunately the plugin up to now doesn’t support whitelisting and I don’t see a solution like just updating functions.php.

    I see the following possible solution:

    1. I will add this feature to the plugin as soon as I find some time for that, as it absolutely makes sense.
    2. If you feel comfortable with PHP, until then you can hack the plugin’s code to get a work-around. For instance you can change the code of the plugin’s file “class-stamp.php” in the plugin’s “includes”-folder from line 35 to 53 by wrapping the code of the __construct – function with a conditional check on the IP-address. ( But beware: This code-example is untested )
    public function __construct()
    {
        if( $this->get_client_ip() !== '142.132.160.229' ){
            ...
        }
    }

    As soon as I publish the next version, you need to add the IP to the respective whitelist. And the “work-around” will be overwritten.

    Cheers, Matthias

    Thread Starter separatereality

    (@separatereality)

    Hi Matthias,

    thanks a lot for the hack! I’ll try it and debug if needed. No prob.

    Thank you for the quick response and have a great day,

    Tom

    Plugin Author Matthias Nordwig

    (@matthiasnordwig)

    Hi Tom.

    I’ve just published a new version with a whitelisting function. I think it is pretty much better than a hack ??

    If you like the plugin, please leave me a rating:
    [GDPR-compliant ReCaptcha for all forms and logins] Reviews | www.remarpro.com

    Cheers, Matthias

    Thread Starter separatereality

    (@separatereality)

    Wow. Works great! Thank you. Happily gave a rating ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘IT-Recht Kanzlei blocked’ is closed to new replies.