WordPress.org

Forums

Alex King's Share-This (136 posts)

  1. getzinger
    Member
    Posted 8 years ago #

    I'm still having the same problem even after updating to Version 1.4 Share-This. I also updated from WordPress 2.0.5 to 2.0.6, but it's still the same issue: the "Close" button doesn't work when the little JavaScript window opens.

    The only way to close the window is to click the "Share this" icon itself. You can see this weird problem in action on my personal site http://www.quintusphoto.com

    Is anyone else having this problem?

    I was also sure to copy "prototype.js" to my "wp-includes/js/" directory.

    I'm using this with the plugin "Gregarious" (version 1.5.2).

    Any ideas?

    Thanks...

    -Michael

  2. Alex King
    Member
    Posted 8 years ago #

    Does this problem occur when you use the default theme? If not then it is likely a theme compatibility issue.

  3. Alex King
    Member
    Posted 8 years ago #

    Also, I don't know what version of Share This is included in Gregarious - you may want to download the latest version and see if that solves the issue.

  4. PapZ
    Member
    Posted 8 years ago #

    HI there,

    I've just found out that this great plugin doesn't work with Democracy plugin. When both are activated, yours shows at the end of the post (I left default options) but, on click, it doesn't load any page, like it does when I set Democracy off.

    Any hint?

  5. olivebarrel
    Member
    Posted 8 years ago #

    I think it might be your theme, because my installation of Share This works with Democracy.

  6. mbushneff
    Member
    Posted 8 years ago #

    Share This is working great except an incorrect/blank field in the email form returns a blank screen.

    I'm using WordPress 2.0.2. Have tried switching to the default theme and the same problem occurs. Advice is greatly appreciated!

  7. cnbingham
    Member
    Posted 8 years ago #

    Is it possible that IE 7 may be part of the problem here? I've made the changes recommended in the README and the popup works in Opera but not IE 7.0.5730. When I click on the link using IE 7 I briefly see the popup and then I'm taken to another page with the options at the top (expected behavior if javascript isn't working, I believe).

    After a couple of hours working on various changes I went back to Alex King's site and found that HIS implementation didn't work there, either!! Proof positive that it is either my installation of IE 7 or some general deficiency of same.

    Can anyone else verify this?

    Curtis

  8. mindbash
    Member
    Posted 8 years ago #

    Just installed Sharethis and run in to some issues.

    The popup isn't working - and the form is showing up in my footer. The Sharethis logo also isn't showing next to the link at the bottom of the posts.

    I have done the usual debugging - turning of plugins etc. I followed the directions in the READ ME.

    Still - i am missing the logo (guess i could add it manually), the form is showing at the bottom of my blog - and the popup isn't working.

    Theme related surely. But what should i be looking for? Alex?

  9. Alex King
    Member
    Posted 8 years ago #

    My guess is that there is a theme incompatibility. Does it work with the default theme?

    There really isn't a way to debug theme issues except by digging into the theme.

  10. mindbash
    Member
    Posted 8 years ago #

    Thanks for the quick reply. I am kinda stuck. But i'll keep digging.

  11. Alex King
    Member
    Posted 8 years ago #

    I do provide custom development/consulting services if you'd like me to go in and fix it in your theme.

  12. bryan868
    Member
    Posted 8 years ago #

    Does this plug-in work correctly in WP 2.1? I've heard conflicting reports...

  13. Chris_K
    Member
    Posted 8 years ago #

    Seems to, I have it running on a 2.1.1 blog with no known issues.

  14. Alex King
    Member
    Posted 8 years ago #

    Version compatibility is listed in the README:

    http://alexking.org/projects/wordpress/readme?project=share-this

  15. stevejohnson
    Member
    Posted 8 years ago #

    Alex,

    I ran into a strange problem that I narrowed down to some kind of interaction between Share This and the Amazon link enhancer (the one that slides the window out from an Amazon link).

    I removed the Amazon js call and all was well. I was seeing numerous calls to non-existent functions (URL was wrong) that generated 404s.

    Just thought you might like to know. I'm not a js whiz so I've no idea what's going on. I can give you the 404 URLs if you're interested.

  16. relaxedguy
    Member
    Posted 8 years ago #

    Running WP 2.1.2, ShareThis 1.4 and Cutline theme. The "Share This" text is right on top of the green share this icon.

    See here: http://theprogressbar.com

    I thought I had to edit .akst_share_link

    background: 1px 0 url(share-icon-16x16.gif) no-repeat;
    padding: 1px 0 3px 22px;

    What do I change here to move the text so it's not on top of the icon? Basically 20 pixels to the right, but I shouldn't have to move it a specific amount, just want:

    [icon] Share This

    Am I missing something?

    Alex makes great plugins otherwise, off to install Twitter, which he released today.

  17. Alex King
    Member
    Posted 8 years ago #

    I bet if you switch to the Default theme, you'll see it working as desired. Unfortunately I can't predict or avoid the CSS from every theme out there.

  18. howbowers
    Member
    Posted 8 years ago #

    I have a totally different error "Fatal error: Call to undefined function: wp_get_current_commenter() in /home/.freedom/hbowers/tikitalk.astropad.com/wp-content/plugins/share-this/share-this.php on line 636"

    I'm using WordPress 1.5.2. The plug-in is deactivated on my site right now since it doesn't work.

  19. Alex King
    Member
    Posted 8 years ago #

    I guess it won't work in 1.5.x.

  20. Lori
    Member
    Posted 8 years ago #

    relaxedguy: change the line of css with the padding to:

    padding: 1px 0 3px 22px !important;

    That fixed it for me.

  21. relaxedguy
    Member
    Posted 8 years ago #

    Thanks bmonster, it's always the simple stuff, almost too simple. !important is one of those CSS features I never paid much attention to.

  22. auschick
    Member
    Posted 8 years ago #

    I had a problem where the popup box works when you have the plugin set to automatically install, but doesn't work when you manually install it.

    *Finally* figured out why :). When installing manually, do this in the .php file:

    @define('AKST_ADDTOCONTENT', false);
    @define('AKST_ADDTOFOOTER', true);

    That worked for me, so hopefully it works for you!

  23. Alex King
    Member
    Posted 8 years ago #

  24. absinthyium
    Member
    Posted 8 years ago #

    Hey there, I installed this plug-in, made the template modification to have it show only per post page, added to and rearranged the social bookmarking sites links, editing the .css to match my layout (saved a copy-always), no javascript problems here and everything works great, except..... I've replaced the .gifs with .png and the .png files aren't showing up. This isn't covered in the READ ME or this thread so I thought it safe to ask since it's probably a new one. I reallly want the .pngs so I can control the transparency better. I've already scoured the .php several times and only found where to modify the "share-icon-16x16". Please, where and how do I modify for this plugin to show the .png files? This is what it looks like right now: http://sands.absinthyium.net/blog/2007/04/27/absinthyiumnetbasiclayout/

  25. gmayerson
    Member
    Posted 8 years ago #

    Install on 1.4 went swell, but the pop-up box background is white instead of what's on the style.css and the links, which are the right color, are hard to read. Any suggestions on how to get the pop-up box background the right color?

  26. sendusout
    Member
    Posted 8 years ago #

    In my case this popup share-this window was not working. I followed the authors debug tips and found it conflicting with Thick Box Plugin. Disabling it fixed everything.

  27. GregM
    Member
    Posted 8 years ago #

    Hi Alex,

    I'm puzzled by the URL construction at line 428 of share-this.php 1.4, which seems to rely on a non-prettified URL structure. If I kill the non-prettified URL structure by replacing ?p=postID structure with a get_permalink and ?akst_action=share-this appended, this exceedingly cool plugin still seems to work fine, at least under the limited circumstances where I've tried it.

    Is it OK to do that, or am I inadvertently going to break something and not realize it til it's too late?

    Thank you Alex!

    All the best,
    Greg

  28. GregM
    Member
    Posted 8 years ago #

    I'm guessing Alex is a busy guy just now, so I'll reply to my own question in case anyone else is interested...

    Yes, it works fine to replace that ?p=postID structure with the permalink -- just strip off the trailing slash if your permalink setup uses one. For example:


    $posturl = rtrim(get_permalink($post->ID),"/")

    Then in the relevant link line I mentioned in the previous post, replace that call to the blog URL with:


    <?php print($posturl); ?>

    IMHO, this should be done by anybody who doesn't want to risk bots crawling a whole bunch of duplicate content accessed via the ?p= parameter rather than via the permalink. Yes, Alex has included a 'nofollow', and if every bot paid attention to that, there would be no problem with using the original URL structure, but not all bots do. (Having had my share of bad bot problems, I'd rather not take the risk...)

    All the best,
    Greg

  29. William Speruzzi
    Member
    Posted 8 years ago #

    Hey everyone,

    Thanks Alex for a cool plugin.

    It is working fine, I just want to make one little tweak. The Share-This link is showing up at the end of my Posts and Pages. How can I remove it from all my Pages?

    Thanks.

    My blog.

  30. GregM
    Member
    Posted 8 years ago #

    wsperuzzi: If you check the Readme, you'll find instructions for manually inserting the Share This link in your template, rather than having Share This do it for you automatically. If you do that, and only put the link code in your template where you woud like it to appear (e.g., single.php) and not where you don't want it (e.g., page.php), you'll be all set.

    And to anyone interested in eliminating the 55K of javascript library overhead caused by Alex's otherwise excellent plugin...

    It's actually pretty straightforward to do, because the plugin relies on just one substantive capability provided by the prototype.js library: Position.cumulativeOffset, which allows the plugin to position the expanded form in the correct place over the top of your page content. If you nuke that line in share-this.php, set the form.style.left and form.style.top each to 0, change the CSS for akst_form to position:relative from position:absolute, and remove the pesky lines that load the prototype.js library in the first place, you're almost there. The final 2 steps are just to replace all instances of the $() function with document.getElementById() instead and make sure you've manually inserted the form contents right below your form link in your theme (rather than, say, putting the form contents in the footer).

    What's the outcome of all that?

    First, the form now appears and disappears from within your page content when you open and close it, rather than appearing over the top of your page content. Second, your visitors don't have to wait for a 55K library to load in addition to your page content just on the outside chance they might click on the Share This link.

    You can see it in action in the blog section of my mental health information site.

    I wonder whether Alex would consider adding a simple user-configurable boolean at the start of the code so that those who want the extra 55K overhead can choose to do so, while those who would rather avoid it can switch it off without manually editing the code?

    All the best,
    Greg

Topic Closed

This topic has been closed to new replies.

About this Topic