Forum Replies Created

Viewing 15 replies - 16 through 30 (of 1,381 total)
  • Erik

    (@codekraft)

    Ciao @roberto282, this is the support forum in the English language. If you need help in Italian, please follow this link: https://it.www.ads-software.com/support/. There you can find the support you need in our language (I’m Italian too). Otherwise, please ask in the language used in this support threads. Thanks!

    Plugin Author Erik

    (@codekraft)

    Ciao @senjoralfonso,
    can you kindly take a look into the hidden fields of the form if the “_cf7a_address” field is available?

    Should look to something similar to this:

    <input type="hidden" name="_cf7a_address" value="qwufnuisbdnfglsd1d3a2s==">

    The error message is related to this missing field… maybe some other plugin that remove it? I just tried with a freshnew installation and the cf7a plugin seems to work fine.

    Plugin Author Erik

    (@codekraft)

    Hi André,

    Thanks first of all for the appreciation for the plugin, I’m so glad you find it simple and easy to integrate, that’s what I wanted to do, I’m glad it’s appreciated! ??

    To answer your questions:

    1) The plugin has 2 “modes”.

    The first mode is the one where you use the default style. In short, it works by adding the class dark-mode to the html element, and when this class is active, the following happens:

    .dark-mode, .dark-mode .no-dark, .dark-mode img, .dark-mode svg, .dark-mode video {
        filter: invert(100%) hue-rotate(180deg);
    }

    This means that the content of the page is inverted and the “hue” is rotated 180 degrees (to fix the colors).

    If you want to prevent the dark mode from working for some part of your template, you can add the class “no-dark” (the element must have a background color, otherwise only the text color will be preserved).

    This works from the editor without any complications. However, if you want to have control over the style, you can use what I suggest in the plugin’s readme (let’s call it mode “2”), which is to remove my custom style and create your own (I explain how to do this below). With newer themes, I recommend doing this because instead of inverting everything with dark mode, you only invert the background color and the text color, which is much better.

    2) future plans

    I am open to any suggestions for improvement… Feel free to suggest any changes in an issue or with a PR. The link to the repo on Git is at the bottom of the readme! I think the count is unrealistic because I use this plugin on at least 5-6 websites (and a few more on vm’s if they count)… but in the end it doesn’t matter when I receive such appreciations ??


    And thanks again for using my plugin! It’s always rewarding to hear from users who appreciate the work that goes into it ??. And don’t hesitate if you have any further questions or need any help in the future!

      Plugin Author Erik

      (@codekraft)

      Looks like related to that, https://github.com/rocklobster-in/contact-form-7/issues/1417 or something similar…

      In the next version i should conditionally load the scripts so, since I will also check for the existence of window.wpcf in global object, I don’t think this problem will occur any more.

      in any case thanks for the report! ??

      Plugin Author Erik

      (@codekraft)

      @wendihihihi, that is very strange since the wpcf7 window object should be always available (if you have cf7 plugin active and enabled obviously).

      Looks like something related to contact form 7 or even to WordPress… let’s make some tests:

      in the devTools console can you type?
      wpcf7.api.namespace
      the return value is: contact-form-7/v1 ?

      can you reach the wordpress rest api?
      https://mywebsite/wp-json/wp/v2/
      ??replace mywebsite with the website url which has the issue.

      disabling the plugin solve the issue?

      have you tried to google “WordPress: Contact Form 7 Fallback Json Problem” and see if that one is the reason?

      @lcastilloh – please if you need some kind of help please open a new issue in the related forum and cite me using the @ . this is not the place, and sincerely never used wpforms, I don’t have a good opinion of it but if I can help you I will gladly do so.

      • This reply was modified 7 months, 1 week ago by Erik.
      Plugin Author Erik

      (@codekraft)

      ciao @wendihihihi,
      Looks like the CF7-Antispam script isn’t enabled or isn’t working correctly… can you check the developer tools js console in order to check if there are some message related to that?

      Plugin Author Erik

      (@codekraft)

      Ciao @mrbehemo! I am glad you liked it!

      there are varius options, choose the one that fits better to you:
      – here you can find the css code here, (it’s minified)…
      – if you need to change something this is the plain css:

      .dark-mode-switch {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 50%;
        transition: 0.5s;
        cursor: pointer;
        background-color: transparent;
        box-shadow: inset -0.3rem -0.3rem 0 0.1rem #334;
      }
      .dark-mode .dark-mode-switch {
        background-color: #cf5e12;
        box-shadow: inset -0.2rem -0.2rem 0 #dd7600;
      }

      And if you need there is also the playground ??
      https://codepen.io/erikyo/pen/zYeBrMP

      Plugin Author Erik

      (@codekraft)

      try with something like this:

      /* box sizing is used to "compensate" the space created with the padding */
      div#fresh-header {
          box-sizing: border-box;
      }
      
      /* the main wrapper is missing the relative position so the header cannot be placed with the fixed position */ 
      .wp-site-blocks {
          position: relative;
      }
      
      /* now left and right should work! */
      header.wp-block-template-part {
          left: 0;
          right: 0;
      }
      Plugin Author Erik

      (@codekraft)

      Seems the issue is related to the way used for bundling the plugins script in your theme, maybe because the script are dynamic imported, but Safari (version equal or lower than 13) seems to not support that at all. Try using Babel regenerator runtime or Babel polyfill because those script are intended to be used in those cases. I find some troubles in debugging, because the all the scripts are minified and over-internet isn’t easy to check which and where those anonymous scripts come from (see below).

      In short, to reproduce the error, with an Iphone I accepted the privacy policy and navigated to one of those pages you mentioned. I can confirm that the buttons are disabled (cf7-antispam plugin does not actually do this). Are you using a plugin that “dynamic load” scripts? or is it something related your theme?

      • This reply was modified 8 months, 1 week ago by Erik.
      Plugin Author Erik

      (@codekraft)

      ciao @noahstad, sorry for replying quickly, but i give a quick check and I think this might be the culprit. You should check the style called ‘sccss’ that is added at the end of the header, specifically a class like this:

      header.wp-block-template-part { position: fixed; width: 100%; top: 0; left: 0; z-index: 99; box-shadow: 0px 0px 12px var(--wp--preset--color--custom-grau); }

      If that is custom css (it looks like), try to use a different method to fit the width of the page (eg. left: 0; right: 0), or try to load the style with an higher priority.

      Plugin Author Erik

      (@codekraft)

      Yes I know, I tried it with some devices but from my tests it worked… but I didn’t give up on it at the weekend I’ll try to look into it more, i’m sorry but this kind of issues are complex because hard to reproduce.

      May I ask you if you have enabled the ‘append on submit’ option, and if so, if you can disable it?

      Plugin Author Erik

      (@codekraft)

      It’s possible that cron “interval” comes from a plugin which was then deleted.

      It’s my mistake, i should show only the intervals registered by me (or by WordPress), so that what you’re reporting would not happen.
      As usual good point, thank you, i’ll add it to the cf7a issues for the next version ??

      Plugin Author Erik

      (@codekraft)

      hi @wendihihihi sorry I didn’t reply sooner but this year at work we are restructuring many of our sites/subsites to upgrade them to fse but these migrations never seem to end.

      Coming to what you ask, yes it is indeed so as you say and in theory you should unban (and thus remove from that list) after the time frame you set in the “Automatic Unban” field.

      One thing I can recommend is to activate (temporarily) the debug mode so that you can check just below that select when the next cron event will occur.

      define( 'CF7ANTISPAM_DEBUG', true );

      I was thinking that perhaps at this point it would be better to insert a ‘log’ section as you had asked, and that it might be better to separate the options into several tabs. what do you think?

      Plugin Author Erik

      (@codekraft)

      I see… but unfortunately i can’t reproduce the case where the submit button is deactivated. Since i can use browser stack, could you tell me what operating system and what browser the user who reported the problem are using?

      • This reply was modified 8 months, 3 weeks ago by Erik.
      Plugin Author Erik

      (@codekraft)

      ??

    Viewing 15 replies - 16 through 30 (of 1,381 total)