Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @bibica,

    thanks for reaching out.

    There isn’t an easy way to remove them.

    We could add a filter for the top bar, but I don’t see a reason to disable the diagnostics notification.
    These issues must be solved to get the most out of Simply Static.

    Suppose you are confident that a specific plugin works for your site.
    In that case, you can filter the list of incompatible plugins and remove a plugin (which also updates the flags on the diagnostics screen):

    add_filter( 'ss_incompatible_plugins', function ( $incompatible_plugins ) {
    unset( $incompatible_plugins['plugin-slug'] );
    return $incompatible_plugins;
    } );

    Cheers,
    Patrick

    • This reply was modified 1 year, 11 months ago by patrickposner.
    Thread Starter bibica

    (@bibica)

    I didn’t have any problems with the plugins recommended below (Cloudflare and WP Search with Algolia)

    I also don’t have any problems with WP-CRON, because I use linux’s cronjob

    All error values ​​from diagnostics are not my problem

    But the notification always appears, and there is no option to turn it off

    Please add options so I can turn off the top bar and diagnostics notification

    Plugin Author patrickposner

    (@patrickposner)

    Hey @bibica,

    convinced – we add a setting to whitelist plugins by slug in the next minor update.
    However, I want to give some context to the plugins you’ve mentioned:

    WP Search with Algolia:

    This one causes a fatal error in combination with Simply Static Pro because both use the same composer package. The plugin is also unprepared for a static site setup (you have to rewrite the URLs manually), so it’s unsuitable for use without modifications.

    Cloudflare:

    The Cloudflare plugin has zero effect in a static WordPress setup.
    While it doesn’t break anything, it also does nothing for you – so why have it in the first place?

    WP Cron:

    That’s fine, but why don’t you tell Simply Static about it?
    As shown in the docs, we have a constant that tells Simply Static there is a UNIX cron in place.

    All you have to do is adding the following line in your wp-config.php file:

    define('SS_CRON', true);


    We will not add an option to disable the topbar (yet).
    That might change if we see enough demand for it.

    Cheers,
    Patrick

    Thread Starter bibica

    (@bibica)

    Well, let me also explain why I use WP Search with Algolia and Cloudflare

    The reason is that I use Simply Static to create a backup site. When the main VPS has a problem, I transfer traffic to the backup site. (domain.com and backup.domain.com)

    Regarding the top bar, by default when writing an article, Simply Static has a separate button to update that article, automatically creating all new pages every day.

    After the first configuration, I hardly needed to manage anything on Simply Static, so I didn’t completely understand why I had to add that top bar.

    My current solution is to go back to v3.1.6.3 😀

    Plugin Author patrickposner

    (@patrickposner)

    @bibica Makes sense!

    My current solution is to go back to v3.1.6.3 😀

    Haha, fair enough!

    I can, at least, add a filter for you to disable it that way.
    I’m hesitant to add new options in the UI (because we already have too many, at least in my opinion 😅)

    Watch out for the update next week!

    Thread Starter bibica

    (@bibica)

    I don’t think the option to hide the top bar is difficult, every plugin I use has the author’s option to hide or show it.

    Plugin Author patrickposner

    (@patrickposner)

    Hey @bibica,

    we noticed that you are sharing Simply Static Pro on the Babiato forum, which is against our terms of service.

    I appreciated your feedback, but this isn’t cool.

    We will use the contact information provided on your website and escalate that now to our legal agency.

    Remember: the code is GPL, but the assets aren’t, and you are using our design in your activation video.

    Thread Starter bibica

    (@bibica)

    Sorry for the late reply; I just noticed the notification email today.

    Yes, I’m sorry for causing you trouble. As for the video, it was probably just a spontaneous moment of mine. Regarding the shared versions, I’ve seen some members ask about them occasionally, so I posted them.

    I think that’s all I have to say on this matter; we shouldn’t drift off-topic

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

The topic ‘Remove top bar and errors diagnostics’ is closed to new replies.