• Resolved Robert S?ther

    (@robsat91)


    Hello!
    Nice work with this plugin, it has really helped us a lot.
    I have some feedback if you would like to hear:

    The CookieBot-modal should be optional in WP Admin. We only use WP Admin for controlling the content, no other people are allowed inside the control panel. So we don’t need the CookieBot-modal here. Maybe there should be an options to make the modal only appear frontend?

    In the meantime we used this to remove it from WP Admin:

    /**
     * Remove CookieBot-window in WP Admin.
     */
    add_action( 'plugins_loaded', function() {
    	if ( class_exists( 'Cookiebot_WP' ) ) {
    		if ( is_admin() ) {
    			remove_action( 'admin_head', [ Cookiebot_WP::instance(), 'add_js' ] );
    		}
    	}
    }, 6 );

    There should be multisite-support. We are using this in a multisite-network and we network-activated the plugin, yet we still have to go into every blog and configure the “Cookiebot ID”-field. This takes a lot of time and would be solved by adding a multisite settings page.

    Kind regards, Robert S?ther.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Johan Holst Nielsen

    (@phpgeekdk)

    Thank you for your feedback and suggestions.

    We will add the requested features within a week. I will update this thread and a new release is available.

    Best regards,
    Johan

    Thread Starter Robert S?ther

    (@robsat91)

    Awesome, thank you!

    Plugin Contributor Johan Holst Nielsen

    (@phpgeekdk)

    @robsat91

    The task were a bit more complex than initial though…

    We just committed the first changes that starts adding more multisite support. It adds support for default setting of Cookiebot ID. Network wide setting of script attributes and things like that… hopefully it will be released to WP repository within a week.

    After this we will continue the work of adding default settings for addons. But it will probably take a while before it is relased.

    You are welcome to test the development we already did. Just replace the cookiebot.php with the file from our github repository.
    https://github.com/CybotAS/CookiebotWP

    If you have further questions or requests for approvements – please let us know.

    Best Regards,
    Johan

    Plugin Contributor Johan Holst Nielsen

    (@phpgeekdk)

    @robsat91

    Just a quick update. The changes mentioned in the last comment, is now a part of the official plugin. Feel free to give some feedback if you think anything missing or have ideas for improvements.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multi-site support & optional WP Admin modal’ is closed to new replies.