• Resolved johncoxon

    (@johncoxon)


    Hello!

    I’ve tried installing this plugin on johncoxon.co.uk and found that I get some errors on the settings page and the widget doesn’t show up in the bottom left-hand corner as it does on other websites I’ve configured it on. I get the following errors:

    * Notice: Undefined index: blackout_only_posts in /var/sites/j/johncoxon.co.uk/public_html/wp-content/plugins/blackout-darkmode-widget/blackout.php on line 322
    * Notice: Undefined index: blackout_left_bottom in /var/sites/j/johncoxon.co.uk/public_html/wp-content/plugins/blackout-darkmode-widget/blackout.php on line 329
    * Notice: Undefined index: blackout_right_bottom in /var/sites/j/johncoxon.co.uk/public_html/wp-content/plugins/blackout-darkmode-widget/blackout.php on line 336
    * Notice: Undefined index: blackout_cookies in /var/sites/j/johncoxon.co.uk/public_html/wp-content/plugins/blackout-darkmode-widget/blackout.php on line 350

    Furthermore, I’ve had difficulty with the plugin not successfully identifying images that should be left alone. On chickensinenvelopes.net, the sidebar image displayed strangely. On johncoxon.co.uk, the big header image and photograph of me both reverse colours. On lulzine.net, the images in the first featured image section reverse. I’ve solved the issue on Chickens in Envelopes and Lulzine by creating child themes and adding the darkmode-ignore class to the relevant divs, but it would still be good if this plugin didn’t require the user to do that.

    Thank you for the plugin though, it’s so great and I’m enjoying using it a lot!

    • This topic was modified 5 years, 5 months ago by johncoxon. Reason: formatting

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Jose Sotelo

    (@josesotelocohen)

    Hello John!

    Thank you very much for taking the time to share your issues.

    1. I have no clue why that’s happening on your site, I think that it’s the first time that I’ve seen that issue. Could you create a staging version of the site so I can take a look and play around with the code? another option is using a backup plugin and you share with me the export file, that way I can install it in my local machine.

    Do you think that you could do this?

    2. Because of the technology used to create this dark-mode effect, it won’t work properly in many cases, it all depends on the website and how it was built. That’s the downfall of creating something that should work in MOST places, but not in every single one as there are always exceptions.

    That’s why we created the darkmode-ignore class because as an example, if the image is a background-image they are in the CSS file and we are unable to add the darkmode-ignore class automatically via jQuery. Also, sometimes the img tag is inside a weird div tag and messes everything, or sometimes there are issues with z-index. On a nutshell, there are way too many variables and there’s no we haven’t found a way to make it work in every single website ??

    The good news is that it’s possible to make it work with some jQuery, that way you don’t have to edit the core files nor anything like that, only add some script.

    So, if I manage to solve your issue with the errors I’m sure that I will be able to provide you with some script that will solve the images issues ??

    Let me know if you are interested.

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Bugs on a couple of websites I maintain’ is closed to new replies.