WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » Sharing Buttons Do Not Show on bbPress Forums or Topics

Sharing Buttons Do Not Show on bbPress Forums or Topics

  • I have installed bbPress and Jetpack. I went to Settings > Sharing > Show Buttons on: Forums & Topics (ticked boxes). Saved those settings.

    But the sharing buttons do not show up on the forums or topics pages. They show up fine on the blog posts, but not for bbPress.

    Any thoughts why?

    Maybe bbPress and Jetpack are not compatible even though Jetpack has the option to show Sharing Buttons on bbPress forums?

    All in One SEO Pack and Google XML Sitemaps are the only other plugins installed.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Jeremy Herve

    @jeherve

    While I am not familiar with bbPress, could you check that the Sharing checkbox is correctly checked at the bottom of the Forum and Topic editors, in your dashboard?

    I went to Settings > Sharing > Show Buttons on: Forums & Topics (ticked boxes). Saved those settings.

    Yes, I did this already and saved several times. Still no share buttons on forums or topics.

    Any other ideas?

    Plugin Author Jeremy Herve

    @jeherve

    I’m sorry for the confusion. Could you check the Sharing module that appears at the bottom of the Forum Edit screen in your dashboard, under Forums > All Forums, and then when clicking on a specific forum? The module should appear at the bottom of each forum you try to edit, like so:
    http://i.wpne.ws/MXeA

    Sorry that I misunderstood you, Jeremy. Thanks for showing the image too – that helped.

    Unfortunately, Show Sharing Buttons are checked on each forum as well going through the settings you mentioned above.

    I just think bbPress is not compatible with Jetpack at this time (as far as Sharing Buttons goes).

    Thanks for the help.

    Plugin Author Jeremy Herve

    @jeherve

    Are you using any of the templates located in the “extras” folder? If so, you could add the sharing buttons to your template page by adding the following code where you want to display the buttons:

    <?php echo sharing_display(); ?>

    I am not using any templates in the “extras” folder.

    I have actually decided to go a different direction with my website, but thanks for the help, Jeremy.

    I ran into the same problem described by kanex32. I even tested setting up a fresh install of WordPress with no other plugins besides Jetpack and bbPress, and using the Twenty Twelve theme. Even with Forums, Topics, Replies all checked, the sharing buttons do not show. And yes, the Sharing module is also checked in the Forum Edit screen.

    Seems like a bug.

    Plugin Author Jeremy Herve

    @jeherve

    @jeff Thanks for the extra details. We’ll have a look into this. I’ll post again as soon as we can address the issue.

    No problem, Jeremy. FWIW, someone shared this code snippet that I added to my functions.php that resolves the issue (for me):

    https://gist.github.com/4706862#file-jetpack-sharing-bbpress2-php

    Reckon Talk

    @reckontalk

    Thanks Jeff,

    The code worked perfectly fine with my bbpress installation on our website ReckonTalk

    add_action( 'bbp_get_topic_content', 'ddw_jetpack_sharing_bbpress');
    //add_action( 'bbp_get_reply_content', 'ddw_jetpack_sharing_bbpress' );
    add_action( 'bbp_template_before_single_forum', 'ddw_jetpack_sharing_bbpress' );
    add_action( 'bbp_template_before_single_topic', 'ddw_jetpack_sharing_bbpress' );
    add_action( 'bbp_template_before_lead_topic', 'ddw_jetpack_sharing_bbpress' );
    /**
     * Display Jetpack "Sharing" buttons on bbPress 2.x forums/ topics/ lead topics/ replies.
     *
     * @author David Decker - DECKERWEB
     * @link   http://deckerweb.de/twitter
     */
    function ddw_jetpack_sharing_bbpress() {
    
    	/** If Jetpack "Sharing" function is active, just display it :) */
    	if ( function_exists( 'sharing_display' ) ) {
    
    		echo sharing_display();
    
    	}  // end-if
    
    }  // end function

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Sharing Buttons Do Not Show on bbPress Forums or Topics’ is closed to new replies.
Skip to toolbar