Shareaholic

JoshSexyBookmarks v2.6.1 Released and Ready
by at 7pm, December 10th, 2009

This blog post was originally posted on the SexyBookmarks’ blog. Shareaholic has since taken over the responsibility for the continued development and improvement of SexyBookmark publisher plugins!

261

You can all put your torches and pitchforks away now, as I’ve finally released v2.6.1 of SexyBookmarks! This version fixes all of the bugs that were brought about by the previous 2.6.0 release, while still keeping all of the features from that release.

API, oh sweet fleeting API…

I also made it a point to ensure that the hundreds of you who have emailed me with bug reports about SexyBookmarks giving you an error that reads:

An unknown http error occured during the API request

…now have no reason to pin that WordPress error on SexyBookmarks from here on out. I’ve removed any and all API requests from the plugin, so there CAN’T be anyway that it could possibly give you that error now. This is a twofold benefit for most of you, as this means there will no longer be any sort of update reminders, whether in the plugin options page or not.

Already found a bug…

As with any new release, I’m bound to miss something here and there… Thankfully, someone alerted me to this error quickly after I released this latest version. So now I can post up a temporary solution until I have enough bugs to warrant another release.

The problem lies in the function which fetches the short URL for Twitter. I goofed and didn’t think to check for the use of Twitter Friendly Links when I added a fix by Gautam Gupta, so if you choose the Twitter Friendly Links plugin as your URL shortener, they’re not going to work in this version. Instead, it will simply use the permalink.

There is, however, a solution to the problem that doesn’t require much in the way of coding skills. Just follow the directions below and you should be good to go.

  1. Login to your site via FTP

  2. Navigate to wp-content/plugins/sexybookmarks/includes

  3. Locate the file public.php and open it in your preferred text editor

  4. Scroll down to line 246

    This line should look like this:

    $fetch_url = sexy_get_fetch_url();
    
  5. Now simply replace that line with the following:

    // Fix for faulty insertion of TFLP function above
    if($sexy_plugopts['shorty'] == "tflp" && function_exists('permalink_to_twitter_link')) {
      $fetch_url = permalink_to_twitter_link($perms);
    }
    else {
      $fetch_url = sexy_get_fetch_url();
    }
    
  6. Save your changes

  7. Upload the file back to your server


Done reading? subscribe: To get an automatic feed of all future posts subscribe here, or to receive them via email enter your email address in the box in the right column.

Link to This Post:    

Posted under: Publishers, Updates

Comments have been disabled for this post.
Sort: Newest | Oldest

All new post will not share on Facebook since upgrading to the latest version of Sexy Bookmarks. older posts will share just fine. I have tried every suggestion for fixing it to no avail. Please help!

Hi Kyle... Sorry about that, Snipr was supposed to have been removed previously, but it looks like we forgot to do it...

To fix your issue, please choose another URL shortener, and then select the "Reset all short URLs" option and save your changes.

Every time I try to share a link via the Twitter icon, I get this message: "This version of the API has now been deprecated as indicated several months ago."

What does that mean? I upgraded to the latest version of the plugin, but didn't fix the problem. I've tried using a whole bunch of different shorteners but I can't get around it.

Help!

When I want to share to my Facebook, the text that appears on Facebook is only from my last post, if I want to hare my first post or a random one is the same text from my last post . Why ?? What I`m doing wrong ?

Hi there! Excellent plug-in, I've used it on other sites and it's worked wonderfully! I'm trying to install it on my new site, but instead of getting the sleek images, I'm getting a column of bulleted and linked text. Any ideas? Thanks!

Sorry... Sometimes comments sort of "slip through the cracks" and don't get noticed.

The plugin isn't available for static content sites at the moment, however, there is work being done to fix this.

Hi
I use 3 Language with the wpplugin xLanguages. When I aktivate sexybookmarks, then I see all languages in the post.
When I deaktivate sexybookmarks, then I see the selected one language. What happend and how can I fix this? Thanks for any help.

You can upgrade, but since the theme you're using doesn't call jQuery properly, you'll need to put a tick in the "jQuery compatibility fix" checkbox in the plugin options. That way it will prevent jQuery from being loaded by the plugin, and just use the version of jQuery that your theme loads instead.

Hi Guys,

Thanks for the great plugin, We have one major issue and that is that we cannot upgrade the plugin since v.2.5.5 as it freezes our home page slider. Is there a workaround for this? We are using WP 2.9.

Thanks and a Happy New Year!

Did you ever answer the question asked above (Dec. 21) about using sexy bookmarks on a website. I didn't post the question; however, I would love to use your bookmarks too. I'm new to website creation...using google sites. I think that means I need html code...yes? Anyway, I've been looking for days to figure out how to add bookmarks and buttons to my site and can't find an answer. Would very much appreciate your assistance. Thanks.

Select a different URL shortener from the drop down list, then select the "Reset all short URLs" option... Then save your changes.

You might also have to clear the cache of any caching plugin you're using as well...

Hi, i read about the error on 112 line in public.php, i tried to fix it but nothing to do... i have the error on line 26

thanks

Well, when I tried the share button in this website, it works fine. It include images from the post into my Facebook. How could that be? Is there any setting I missed out so far?

No problem, always glad to help!

Hey man, sorry I never got back to you about writing a couple of guest articles... It's been pretty crazy lately. I'll get with you soon and talk about possibly writing a couple of articles. (after things settle down)

I'm still using this plugin on some of my clients sites and they Love it. Thanks for the constant support and updates.

It's actually a problem with the URL shortener bitly returning an error when the plugin tries to pull a shortened link to put in the Twitter update that people would post by click the Twitter icon in the menu... If you select another URL shortener, then select the "Reset all short URLs" option, then save your changes... The problem should go away.

Hope that helps.

hello, i just updated to the latest version, but i keep getting this error:

Fatal error: Cannot use string offset as an array in /var/www/heartbreaknympho.com/public/wp-content/plugins/sexybookmarks/includes/public.php on line 112

it happens when i use my URL, not when i go to my website through a URL shortener like bit.ly

help? thanks :)

It looks as though whatever plugin you are using to track project progress is interfering with SB... It's pushing it's scripts/styles inside where the SB scripts and styles are supposed to be loading, therefore interrupting the loading process.

I'd recommend trying to disable it to see if the problem goes away... If it does, please let me know and I'll try to find a way to workaround it.

Hey love your plug in! Installed easily, just having a little trouble. The link bars wont auto expand although I've set it to do so in the settings. Because of this you can't see most of the share sites. They also don't open in a new page.
Thanks for your help.

Hi. I just want to use this wonderful plugin on my website, offensivefun.com, but I don't now if I can. It's a simple site, not a wordpress, or joomla, or any blog. Could someone help me please?

I change my content to french ... :(

Unfortunately, I'm afraid there isn't. At least, not to my knowledge anyway.

Is there a way to bypass this? my WP is in english, but the content is in french...

Hope this can be fixed otherwise I cannot use this plugin :(

I believe it works off of your preferred language chosen in WP...

You have to change WP_LANG in wp-config.php to view WP in another language.

Where on earth is the change language option???????

This usually means that bitly is returning an error rather than a short URL... Please try selecting a different URL shortener and putting a check in the box that says "Reset all short URLs", then save your changes.

Hi,
I like this plugin, great Work!

I'm a probleme in Windows Server Host:

Fatal error: Cannot use string offset as an array in C:\inetpub\vhosts\livebetas.net\httpdocs\wp-content\plugins\sexybookmarks\includes\public.php on line 112

You mean 2.6.1.1? I believe it does, yes.

Hey Josh,

Does SB 2.6.6.1 update have the Twitter Friendly Links fix included?

Thanks & Stay Sexy!

It's already on the "todo" list... Look for it in the next release.

Awesome plug in!

I hope you could add Plurk http://plurk.com on the list of websites. =)

Old and updated version :)
However, just for check I downloaded the plugin from http://downloads.wordpress.org/plugin/sexybookmarks.2.6.1.1.zip and I look into the file.. the MO exist. Ok ;)

ps. sorry for my English

You said "in different version", does this mean you're not using v2.6.1.1? If so, I know for a fact that the .MO file is included in v2.6.1.1 so you should update.

I take a look many times (in different version) and there are only the PO and the POT files :)
All times I put manually the MO file, but every automatic upgrades, I need put again the MO file :D

You have nothing to be sorry about I'm happy you allowed us into your plugin.

Hi Josh,

I only discovered you yesterday - wish I had long ago, the bookmarks are great.

I am having a bit of a problem in IE though - shocking isn't it!

I get "none!" on top of each of the bookmarks and they don't work. Have you seen this behaviour before, any clue would be great.

I am going to work through the code and try to work out if it's a conflict.

Thanks - loving the work.

Gareth

The plugin isn't set up to share images at the moment... Right now it's set up to simply share the text of the page.

Hmm, did you even read the post above? Those update notices are gone... They no longer exist in the most recent version of the plugin.

This means that you're using another plugin which is using the JSON fix for PHP4... Try deactivating your other plugins one by one till you find the culprit.

I'm working on adding a compatibility fix for just this sort of situation... but it won't be available until I release the next version.

I like the plugin a lot. However, sometimes I will use it on a client's site and I don't want to upgrade immediately when the new version comes out (fear of breaking something), so I find it really annoying that on EVERY ADMIN PAGE sexy bookmarks is reminding me to upgrade to the next version. I mean, come on, it really isn't *that* important.

For some reasun, when I want to share to my Facebook, the image won't come out. Just text. How to make sure it include the post image too?

http://farm3.static.flickr.com/2692/4192182014_98b1e19d47_o.jpg

I Get this Error when Active this Plugin
Help me pls !!!

yea, for some reason lately bitly has been returning a lot of errors... I'm putting serious thought into whether or not to keep it in the plugin actually.

Issue resolved by simply doing some reading above! Go figure! Duh!

Thanks!

Hello! Firstly, thank you so much for such a cool plugin! I absolutely love it!

Unfortunately I'm suddenly having some issues with the Sexy Bookmarks plugin, but oddly enough it is only on one page (that I have noticed) of MANY pages on my site.

Hopefully you can help me out with this! Not a Serious concern, but something that caught my eye nonetheless!

The Error (copy/paste)
Fatal error: Cannot use string offset as an array in /home/content/t/h/e/thebusybrain/html/soundfxnow/wp-content/plugins/sexybookmarks/includes/public.php on line 112

Link to the page with the error:
http://soundfxnow.com/sound-fx/sad-trumpet/

Mike J
"TheBusyBrain"
http://twitter.com/TheBusyBrain

Yes, if you fill out the "Feature Request Form" and let me know the network you'd like me to add... It may not be in the next release, but it will at least be on my "todo" list.