• Resolved jochenthomas

    (@jochenthomas)


    Hi,
    very good plugin…

    I want to disable Bookly on all pages/posts/archives except only on one single page.
    Plugin-Page (+extensions): https://www.booking-wp-plugin.com/product/bookly-plugin/

    Below you can see the unbelievable amount of requests this plugin is doing (css & scripts).
    So you can easily understand the reason…

    I deselected the plugin in:
    – Post-types -> nameofposttype
    – Archives -> nameofposttype

    But still, I see all the header entries.
    So how to deactivate or what could be the reason for not working?

    Is there a way to deactivate a plugin EVERYWHERE, except on xyz (page or archive, etc.)? Will it deactivate css and scripts?

    <link rel='stylesheet' id='bookly-ladda.min.css-css'  href='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/css/ladda.min.css?ver=20.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-picker.classic.css-css'  href='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/css/picker.classic.css?ver=20.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-picker.classic.date.css-css'  href='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/css/picker.classic.date.css?ver=20.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-intlTelInput.css-css'  href='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/css/intlTelInput.css?ver=20.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-bookly-main.css-css'  href='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/css/bookly-main.css?ver=20.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-customer-profile.css-css'  href='https://abc.com/wp-content/plugins/bookly-addon-pro/frontend/modules/customer_profile/resources/css/customer-profile.css?ver=4.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-bootstrap.min.css-css'  href='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/bootstrap/css/bootstrap.min.css?ver=20.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-fontawesome-all.min.css-css'  href='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/css/fontawesome-all.min.css?ver=20.0' type='text/css' media='all' />
    <link rel='stylesheet' id='bookly-customer-cabinet.css-css'  href='https://abc.com/wp-content/plugins/bookly-addon-customer-cabinet/frontend/modules/customer_cabinet/resources/css/customer-cabinet.css?ver=20.0' type='text/css' media='all' />
    <script type='text/javascript' id='bookly-spin.min.js-js-extra'>
    /* <![CDATA[ */
    var BooklyL10nGlobal = {"csrf_token":"","addons":["pro","customer-cabinet"]};
    /* ]]> */
    </script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/spin.min.js?ver=20.0' id='bookly-spin.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/ladda.min.js?ver=20.0' id='bookly-ladda.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/hammer.min.js?ver=20.0' id='bookly-hammer.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/jquery.hammer.min.js?ver=20.0' id='bookly-jquery.hammer.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/picker.js?ver=20.0' id='bookly-picker.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/picker.date.js?ver=20.0' id='bookly-picker.date.js-js'></script>
    <script type='text/javascript' id='bookly-bookly.min.js-js-extra'>
    /* <![CDATA[ */
    var BooklyL10n = {"ajaxurl":"https:\/\/abc.com\/wp-admin\/admin-ajax.php","csrf_token":"","today":"Today","months":["Januar","Februar","M\u00e4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"days":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"daysShort":["So","Mo","Di","Mi","Do","Fr","Sa"],"nextMonth":"Next month","prevMonth":"Previous month","show_more":"Show more"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/bookly.min.js?ver=20.0' id='bookly-bookly.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/frontend/resources/js/intlTelInput.min.js?ver=20.0' id='bookly-intlTelInput.min.js-js'></script>
    <script type='text/javascript' id='bookly-customer-profile.js-js-extra'>
    /* <![CDATA[ */
    var BooklyCustomerProfileL10n = {"csrf_token":"","show_more":"Show more"};
    /* ]]> */
    </script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-addon-pro/frontend/modules/customer_profile/resources/js/customer-profile.js?ver=4.0' id='bookly-customer-profile.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/js/select2.min.js?ver=20.0' id='bookly-select2.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/bootstrap/js/bootstrap.min.js?ver=20.0' id='bookly-bootstrap.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/js/datatables.min.js?ver=20.0' id='bookly-datatables.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/js/moment.min.js?ver=20.0' id='bookly-moment.min.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/js/daterangepicker.js?ver=20.0' id='bookly-daterangepicker.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/js/dropdown.js?ver=20.0' id='bookly-dropdown.js-js'></script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-responsive-appointment-booking-tool/backend/resources/js/alert.js?ver=20.0' id='bookly-alert.js-js'></script>
    <script type='text/javascript' id='bookly-customer-cabinet.js-js-extra'>
    /* <![CDATA[ */
    var BooklyCustomerCabinetL10n = {"zeroRecords":"No appointments.","minDate":"0","maxDate":"30","datePicker":{"format":"DD.MM.YYYY","monthNames":["Januar","Februar","M\u00e4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"daysOfWeek":["So","Mo","Di","Mi","Do","Fr","Sa"],"firstDay":1,"monthNamesShort":["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],"dayNames":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"dayNamesShort":["So","Mo","Di","Mi","Do","Fr","Sa"],"meridiem":{"am":"am","pm":"pm","AM":"AM","PM":"PM"}},"dateRange":{"format":"DD.MM.YYYY","applyLabel":"Apply","cancelLabel":"Cancel","fromLabel":"From","toLabel":"To","customRangeLabel":"Custom range","tomorrow":"Tomorrow","today":"Today","yesterday":"Yesterday","last_7":"Last 7 days","last_30":"Last 30 days","thisMonth":"This month","nextMonth":"Next month","firstDay":1,"anyTime":"Any time"},"tasks":{"enabled":false,"title":null},"expired_appointment":"Expired","deny_cancel_appointment":"Not allowed","cancel":"Cancel","payment":"Payment","reschedule":"Reschedule","noTimeslots":"There are no time slots for selected date.","profile_update_success":"Profile updated successfully.","processing":"Processing...","errors":{"cancel":"Unfortunately, you're not able to cancel the appointment because the required time limit prior to canceling has expired.","reschedule":"The selected time is not available anymore. Please, choose another time slot."}};
    </script>
    <script type='text/javascript' src='https://abc.com/wp-content/plugins/bookly-addon-customer-cabinet/frontend/modules/customer_cabinet/resources/js/customer-cabinet.js?ver=3.7' id='bookly-customer-cabinet.js-js'></script>
    <script type='text/javascript' id='utils-js-extra'>
    /* <![CDATA[ */
    var userSettings = {"url":"\/","uid":"1","time":"1627978810","secure":"1"};
    /* ]]> */
    </script>
    /* ]]> */
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jose

    (@giuse)

    Hi @jochenthomas

    I totally understand you, all this stuff for having nothing useful on many pages is really not good.

    Are you sure you are not seeing an old cached version of the page?

    Is it possible to share the URL of a page where you want to disable Bookly?.

    Add a query argument to the URL, e.g. htttps://your-domain.com/sample-page?a=1, and check if you still see all that stuff. If you don’t see it, it means without ?a=1 you see an old cached version of the page. Adding ?a=1 to the URL doesn’t mean necessarily the page is not served by a cache (it depends by the caching system) but most of the time it is so.

    IF it’s not a problem related to the cache, something else is preventing FDP from disabling other plugins. There are some conditions for which doesn’t work to prevent more serious issues. If this is the case, I will ask you more questions, but first, let’s check it’s not a problem related to the cache.

    Thread Starter jochenthomas

    (@jochenthomas)

    Hi Jose,
    after a short break, I checked now again your plugin, which is far better than other similar plugins (esp. e.g. because of the possibility to use custom URL’s). Congratulation on this.

    As it was my initial contact with your plugin, now – after trying a second time, I can see it was my fault.
    I made a mistake by not including some rules. In addition, now I also created custom URL’s which initially allow for certain URL’s (abc.com/thisurl/) and immediately afterwards deactivate the plugin for all URL’s (abc.com/*).

    A) Maybe you can create an option to reverse rules…
    B) Also, it would be great to have the possibility to deactivate certain custom scripts.
    Examplairily: I am using Advanced Scripts (here) which is similar to Codesnippets, etc.
    It would be very useful to deactivate certain scripts but allow on certain rules (header-css-rules or scripts which should be deactivated on certain pages).
    C) Another important improvement would be to create plugin-groups (plugin AAA and their 7 addons). A good example is a form-builder which has e.g 7 addons. Now you see 8 entries which you have to manage. It would be far easier to have only one which is “form-builder xyz”, where all the addons are included.

    Maybe I’ll have other questions later if I am finalizing the site…

    • This reply was modified 3 years, 7 months ago by jochenthomas.
    Plugin Author Jose

    (@giuse)

    Hi @jochenthomas

    thank you very much for the information and your suggestions.

    So, I think we can close this thread.

    Here are my answers to your suggestions.

    A) Very good idea. Probably with the next version when you right-click on a row, you will have the possibility to invert deactivated with activated and vice versa.
    B) This is already a feature of the premium version. But the PRO version is still not public. I’m not sure it’s exactly what you mean. With the PRO version, you will be able to selectively unload scripts and stylesheets without deactivating the entire plugins. It will be based on pages, post types, archives, and custom URLs. It will work with external stylesheets and scripts, not with inlined styles and scripts. At least, this is how it will work with the first PRO versions.
    C) This is also a very good idea. but it requires more work from my side. It’s in the list of ideas and new features, but I don’t think it will be implemented very soon.

    In case you have new questions or issues, don’t hesitate to open a new thread.

    Plugin Author Jose

    (@giuse)

    Hi @jochenthomas
    just for your information, with the last version, you can invert disabled/enabled plugins with the action icon that is highlighted in this picture: https://freesoul-deactivate-plugins.com/wp-content/uploads/2021/08/fdp-row-action-buttons-invert-selection.png.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deactivate all header requests of a plugin everywhere’ is closed to new replies.