WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Jectpack Confilicting With Appointment Calendar Plugin (2 posts)

  1. FARAZFRANK
    Member
    Posted 1 year ago #

    Hi Jetpack Team,

    Here am reporting that jetpack conflicting with Appointment Scheduling Plugin

    I have installed Appointment Calendar plugin on my site, but when i installed and connect Jetpack with WordPress.com account, then it break the functionality of appointment calendar. It loads calendar before body twice.

    Here the solution I made:
    remove_action('wp_head', 'jetpack_og_tags');

    I just add this line in my plugin. After this appointment calendar working perfect.

    I saw in Jetpack.php you have an array of $conflicting_plugins:

    $conflicting_plugins = array(
    'facebook/facebook.php',  // Official Facebook plugin
    'wordpress-seo/wp-seo.php',  // WordPress SEO by Yoast
    'add-link-to-facebook/add-link-to-facebook.php', // Add Link Facebook
    'facebook-awd/AWD_facebook.php', // Facebook AWD All in one
    'header-footer/plugin.php', // Header and Footer
    'nextgen-facebook/nextgen-facebook.php', // NextGEN Facebook OG
    'seo-facebook-comments/seofacebook.php', // SEO Facebook Comments
    'seo-ultimate/seo-ultimate.php', // SEO Ultimate
    'sexybookmarks/sexy-bookmarks.php', // Shareaholic
    'shareaholic/sexy-bookmarks.php', // Shareaholic
    'social-discussions/social-discussions.php', // Social Discussions
    'social-networks-auto-poster-facebook-twitter-g/NextScripts_SNAP.php',	// NextScripts SNAP
    'wordbooker/wordbooker.php',   // Wordbooker
    'socialize/socialize.php',    // Socialize
    'simple-facebook-connect/sfc.php',  // Simple Facebook Connect
    'social-sharing-toolkit/social_sharing_toolkit.php', // Social Sharing Toolkit
    'wp-facebook-open-graph-protocol/wp-facebook-ogp.php', // WP Facebook Open Graph protocol
    'opengraph/opengraph.php', // Open Graph
    'sharepress/sharepress.php', // SharePress
    );

    And you also doing Suppressing, If certain plugins are active, Jetpack's og tags are suppressed.

    foreach ( $conflicting_plugins as $plugin )
    {
       if ( in_array( $plugin, $active_plugins ) ) {
    	add_filter( 'jetpack_enable_open_graph', '__return_false', 99 );
    	break;
       }
    }

    Now Question is?
    Is that solution effect anything in Jectpack plugin?

    Suggestion: Add Appointment Calendar In your conflicting plugin array list. This will help a lot.

    Thanks....
    -FRANK FARAZ

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thanks for the report.

    Suggestion: Add Appointment Calendar In your conflicting plugin array list. This will help a lot.

    This list only includes plugins that insert their own set of Open Graph Tags. Since Appointment Calendar doesn't use any Open Graph Tags, the problem is most likely similar to the other plugin conflicts reported here:
    http://wordpress.org/support/topic/jetpack-204-upgrade-breaks-several-plugins?replies=9

    Instead of adding the plugin to the list, could you have a look at the plugin changes suggested by Otto here:
    http://lists.automattic.com/pipermail/wp-hackers/2013-January/045053.html

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic