WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Jetpack Sharing Plugin lacking in many ways. (15 posts)

  1. Robert Dall
    Member
    Posted 2 years ago #

    I would like to be able to add Sharing to my template files where I want them.

    I have tried the hacks listed here:
    http://wordpress.org/support/topic/custom-placement-of-jetpackssharedaddys-sharing?replies=2
    and
    http://wordpress.org/support/topic/plugin-sharedaddy-how-can-i-change-the-location-of-the-share-buttons?replies=5

    And they don't work on my build… 

    Also when you click "email" share button button. It should come from Name of Website instead of WordPress wordpress@example.org Also people won't be able to reply back to this email since it really doesn't exist.

    Unknowing recipients would not know what WordPress is and would be expecting something from the website it was sent from. If our blog was on WordPress.com then it would make perfect sense. But since it is self hosted and using your sharing plugin it would make more sense that it came from website it was hosted at and also improve the open rate of the email.

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

  2. Robert
    Member
    Posted 2 years ago #

    Bump for email FROM address problem when sharing by Email.

    I just got an email FWD from wordpress@mydomain.org ... which got trapped by our email admin's account.

    a. It's not a great user experience -- the recipient replied to a post sent via email using JetPack Share tool.
    b . The email simply has a pat line with the link, is from wordpress@mydomain.org, and also has the reply-to set the same.
    c. I could hack the plugin file and find this but would rather see it resolved in code to future proof the install.

    Would love to see a reply. This is a deal breaker for my work as it really breaks the visitor's and a recipient's experience.

  3. espider
    Member
    Posted 2 years ago #

    Very good points Robert! I'm looking forward to having it too. It's rather annoying to modify the plugin and do the same with next update. Also, it would be great to have Facebook share button showing number of shares as it's done with twitter.

  4. Tim Moore
    Moderator
    Plugin Author

    Posted 2 years ago #

    There are no current plans to change the from address. As it stands, we follow the same practice that WordPress core emails do by sending from "WordPress@YourDomain.com." If you add a new user to your WordPress install, for example, you'll see the same email address that we use.

    For placing Sharing icons in other areas of your template: this is on our roadmap to look at at some point. One of the biggest limitations we face is that we need to find a common place to hook into templates and, since not all templates are created equally, we are limited. This is one reason why we chose to place the icons where they are now; the_content is one of the only template hooks that is commonly enough used for us to rely on always having, no matter what theme is active.

    Thanks, also, for the feedback :)

  5. spencerisland
    Member
    Posted 2 years ago #

    If the sending from email can't be changed, at a minimum..can the DESCRIPTION be changed? Many subscribers are NOT opening the emails..as they are not sure where it is coming from. Currently, the FROM email says: WordPress: [donotreply@wordpress.com].. Keeping the address is no problem, just the description..as we are loosing our subscribers.

  6. sarthaksinghal
    Member
    Posted 1 year ago #

    Supporting @spencerisland where the Description can be changed.
    Default From name as "WordPress" is not good!

  7. cozbaldwin
    Member
    Posted 1 year ago #

    When using the Official Buttons on the Sharing plugin, the Facebook Like button does not have the Share capability. It only "likes". Can this be updated/changed?

  8. Andrewjmarino
    Member
    Posted 1 year ago #

    Thanks. All good points. I didn't realize that about the email button. I'll probably just delete it.

    Also, why no placement/sizing/spacing options in the admin area? And, a 'turn off' setting for mobile devices?

    Thanks
    Andrew

    http://www.visitbanteaychhmar.org/

  9. cozbaldwin
    Member
    Posted 1 year ago #

    I've found a way to use Official Facebook Like&Share button (HTML5 version) in the Jetpack Share/Sharedaddy plugin:

    1. Go to Plugins > Editor
    2. Choose "Jetpack by WordPress" from the drop-down menu on the right-hand side of the screen.
    3. Find and click to edit the following file in the list that appears: jetpack/modules/sharedaddy/sharing-sources.php
    4. Search to locate the following "<div class="like_button">" -- you should find it around line 730.
    5. Replace the following block of code:
      return '<div class="like_button"><iframe src="'.$url.'" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:'.( $inner_w + 6 ).'px; height:21px;" allowTransparency="true"></iframe></div>';

      with this block of code:
      return '<div class="fb-like" data-href="" data-send="false" data-layout="button_count" data-width="'.( $inner_w + 6 ).'" height:"21px" data-show-faces="false" data-font="trebuchet ms"></div>';

    You're also going to need this in your header (after body tag):

    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=000-YOUR-APP-ID-000";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>

    PLEASE NOTE: The use of the HTML5 version requires you to have an APP id. For more about this, visit: https://developers.connect.facebook.com/docs/reference/plugins/like/

    FINAL STEPS:

    1. Go to Appearance > Edit CSS:
    2. Add the following styles:
      body .entry_content iframe, body .entry_content video, body .entry_content object {
      	max-width: 450px!important;
      }
      
      .fb_iframe_widget {
      	display: block!important;
      }

    That should be it.

  10. Andrewjmarino
    Member
    Posted 1 year ago #

    Ok. Thanks for the effort. But...

    It should be pretty obvious to Jetpack's authors that we should not have to go through all this to get a share button.

    Most of us are novice to intermediate web admins with other lives.

    The idea of WordPress is that it's supposed to be pretty easy, right?

    Andrew

  11. cozbaldwin
    Member
    Posted 1 year ago #

    We don't have to go through all that. The default generic Facebook share button works perfectly well.

    But I wanted to use the official button, one that includes the share-count, gives users the option to Like without sharing, etc... so I came up with my own method of doing so and documenting it for any others who wish to do the same.

    Should it be in there already? I think so. Maybe soon it will be. But I'm impatient - and also glad to help others who are, too.

  12. boatgalley
    Member
    Posted 1 year ago #

    Just adding my voice that the FROM and DESCRIPTION on the share by e-mail is just awful on what is otherwise a great plugin. I have a lot of readers who use the share by email and their friends are NOT opening what looks like spam.

    I love the way the share buttons look, and I've been trying to figure out a hack to make this work correctly. If anyone who is good with code can do it, please post!

  13. boatgalley
    Member
    Posted 1 year ago #

    Okay, I figured out a hack for anyone who is interested. This will use the default email program on the computer. The one problem that I still haven't figure out is that the browser tab goes blank -- hitting the back arrow returns the user to the page they were on. Overall, I think this is better than the mail from WordPress and I'd love it if someone knows how to keep the user on the page!

    You'll have to find a 16x16 icon you want to use and upload it (Media). Note the URL for it.

    Then go to Jetpack/Sharing and click on "Add a New Service"

    In the box that opens, type "Email" (or whatever you want to appear next to your icon -- this will show) in the Name box.

    In the URL box, use something like the following -- but replace The Boat Galley (and any of the other text) with your site name and what you want. IMPORTANT -- %20 is a space in URL encoding, %22 is a quotation mark. You cannot have ANY actual spaces in the URL. The "?" after mailto: means that the person can enter the info. If you copy and paste, don't include the "`" at the beginning and end -- that's just there so that the code shows.

    mailto:?subject=%22%post_title%%22%20on%20The%20Boat%20Galley&body=I%20thought%20you%20might%20find%20this%20article%20on%20The%20Boat%20Galley%20interesting%20--%20%22%post_title%%22%20at%20%post_full_url%

    What this does is open a new email, the send-to address is blank and the cursor is in it; subject is "NAME OF ARTICLE" on The Boat Galley; body of the message is "I thought you might find this article on The Boat Galley interesting -- "NAME OF ARTICLE" at "FULL URL"

    See it in action on any post on The Boat Galley

  14. boatgalley
    Member
    Posted 1 year ago #

    Okay, so when I posted it, the backticks didn't show so disregard that comment about "if you copy and paste"

  15. boatgalley
    Member
    Posted 1 year ago #

    One more thing, at least on my installation, when I click on the "Create Share Button" it appears to do nothing. I close the popup box, and reload the page and the new service is there. Then you can drag it to the enabled or hidden services.

    And if you decide you want to edit the code . . . you have to start from scratch with a new button and delete the previous one. I kept the url in a text doc as I was working on it so I could change something, copy and paste. Yes it's a PITA. But worth it as I'm suddenly getting visitors from email shares again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic