• Resolved piotrbox

    (@piotrbox)


    Hello, somewere between version 1.9.23 and 1.12.9

    // Remove happyforms styling
    add_filter('happyforms_enqueue_style', 'render_happyforms_styles', 10);
    
    function render_happyforms_styles()
    {
        return false;
    }

    stopped working.. now all the forms are alterd and ugly. and unwanted styles are linked. Any chance to bring that back? dont wont extra styles and extra work to slash them

    • This topic was modified 4 years, 11 months ago by piotrbox.
    • This topic was modified 4 years, 11 months ago by piotrbox.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Anonymous User 18525946

    (@anonymized-18525946)

    Bummer! Sorry to hear this, @piotrbox.

    It’s actually our weekend here, but I’ve reached out to our lead developer to make sure he gets back to you first-thing.

    Hold tight. And sorry for the hassle.

    Ignazio Setti

    (@ignaziohappyforms)

    Hey @piotrbox!

    The happyforms_enqueue_style filter has since been deprecated β€” let’s try to replicate its effect by replacing your previous snippet with this one:

    add_filter( 'happyforms_style_dependencies', function( $deps ) {
        $deps = array( '' );
    
        return $deps;
    } );

    Let us know how that goes!

    Thread Starter piotrbox

    (@piotrbox)

    Hey @ignaziohappyforms, thanks for your replay.

    UNFORTUNATELY this does NOT help πŸ™
    It removes only color.css
    the one that breaks our loyouts is layout.css and its still there….

    Unfortunately that happend on every website that we use HappyForms on.

    Ignazio Setti

    (@ignaziohappyforms)

    I see, @piotrbox.

    To be honest, I can’t think of any other workaround β€” the only way to approach this at this point is to manually patch it. For the record, we’re bringing that filter back in the upcoming release (planned for the next 24-48 hours).

    Until then, we could provide a patched file, and the instructions for uploading it to your server β€” could that work for you? If it does, would you shoot us an email at ask(at)happyforms(dot)io, so we can share the next steps?

    Let us know!

    Thread Starter piotrbox

    (@piotrbox)

    HEy @ignaziohappyforms,

    if the filter is comming back soon its OK. Will wait for it. In places wehere it was necessary we downgraded to 1.9.23 for a moment.

    Please if this is in your ‘powers’ try to keep that filer for future updates πŸ™‚

    regards, Piotr

    Ignazio Setti

    (@ignaziohappyforms)

    Hey @piotrbox!

    Just letting you know that our latest update is out β€” and it includes the missing filter. To completely stop Happyforms from loading its stylesheets, give this a try:

    add_filter( 'happyforms_enqueue_style', '__return_false' );

    Let us know how that goes!

    Thread Starter piotrbox

    (@piotrbox)

    Hello @ignaziohappyforms

    thats great news. and looks like everythinks works according to plan. πŸ™‚ no more styles again:)

    I can also see improvments in honeypot in the changelog.. lets hope it will work now because recently it unfortunately didnt do much. Clients just told me today that spam is A LOT.

    thanx

    Ignazio Setti

    (@ignaziohappyforms)

    Wonderful, @piotrbox!

    And yes, I can confirm honeypot in our recent releases suffered from a few weaknesses, and left open some doors we should have closed earlier. Fingers crossed, your spam issues should dissolve quickly now. πŸ™‚

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘happyforms_enqueue_style false not working’ is closed to new replies.