• Resolved Thomas Barregren

    (@tbarregren)


    First of all, thank you for a great plugin.

    Some time ago the plugin started to nag me about it isn’t configured despite it was. Another thing I noticed was that there were no post types listed on the settings page. Today I finally dug into your code to understand why.

    It turned out that get_disabled_post_types() returns and empty array.

    Why? All post types were removed in a foreach-loop at the beginning of settings-page.php.

    Why? Because they didn’t support comments.

    Why? Because I use SecuPress in which I had checked a checkbox saying that I don’t need comments. Unchecking the checkbox solved the problem.

    I haven’t dug into the code of SecuPress, but I don’t believe it do all things your plugin does. Thus, I wan’t to use both. Now I know how. But I guess other will run into the same problem with SecuPress or other security plugins. I therefore suggest you find another way to check if the plugin is setup or not, e.g. a simple flag.

    Thanks again for a great plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Thomas

    I’m Julio from SecuPress. SecuPress is deactivating anything related to comments, you can’t set any configuration.
    It seems that this plugin can disable comments depending on custom post types.
    If you really don’t need any comment system on your website at all, SecuPress is enough.
    Now, if you want to forbid comments depending on certain settings, do not use our feature and use this plugin, it is more powerful and complete for that.
    ps: I won’t include settings like their ?? so you can take this one, no worry.

    Have a nice day!

    Thread Starter Thomas Barregren

    (@tbarregren)

    Julio,

    Thanks for your comment. I want to remove everything related to comments. To me it looks like SecuPress (which I thinks is the best security plugin) don’t remove everything when I check I do not need comments… in the Anti Spam section. Some examples:

    * Settings > Discussions is still in the menu
    * The comment feed is still available
    * The rel="pingback" is still in the head element

    I’m not only trying to avoid spam. I don’t want comments at all. It would be wonderful if SecuPress could accommodate that in the future. But till then, I need Disable Comments (which I think is the best plugin doing just that).

    This ticket falls in between a bug report and a feature request. I think it is a design mistake to determine if this plugin should do its job or not based on whether get_disabled_post_types() of this plugin returns an empty array or not.

    Plugin Contributor Samir Shah

    (@solarissmoke)

    Thanks for this – you’re right that this way of checking whether the plugin is configured is problematic. I will fix this in the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Plugin isn’t configured” message due to compability issue with SecuPress’ is closed to new replies.