Forums

Can't get Sociable to work for new posts ! (9 posts)

  1. Paul33
    Member
    Posted 4 months ago #

    Installed Sociable yesterday and it worked fine for all posts except the latest one. I added a new post today and still no Sociable links for the new one added today, the new one added yesterday but its still there for all the posts prior to that !!!

    Can't work it out - what's going wrong ?

  2. Chris_Oakley
    Member
    Posted 4 months ago #

    I'm having the same problem - tried uninstalling and installing build 3.4.4 and still nothing showing up.

    Suggestions?

  3. jusfonzin
    Member
    Posted 3 months ago #

    i'm having the same problem.

  4. jusfonzin
    Member
    Posted 3 months ago #

    hello? you can see my blog here: http://jerksinyourarea.com. You'll see that the first 12 or so posts have the sociable plugin wokring perfectly. then, for some reason, it stopped.

    what should i do?

  5. beckmann-stylez
    Member
    Posted 2 months ago #

    Hi, i'm still have the same problem.
    The Bookmarks display at random on my page.

    What should i do?

  6. sociable
    Member
    Posted 2 months ago #

    Are you sure it's global for all users? Have you tried the settings for the position on the wordpress admin?

  7. yespbs
    Member
    Posted 2 months ago #

    Hi,

    I recently tested the plugin, it works for me but with post/pages once updated, social can not activated/disabled per post from post admin.
    I fixed this by fetching the parent post always.

    ------------------------------------------------------------
    function sociable_insert_post($pID) {
    // get main post
    $post_parent=get_post_field("post_parent",$pID);
    if((int)$post_parent>0){
    $pID=$post_parent;
    }
    // as usual
    if (isset($_POST['sociableoff'])) {
    if (get_post_meta($pID,'_sociableoff',true)!='Y'){
    add_post_meta($pID, '_sociableoff', 'Y', true);
    }
    } else {
    if (get_post_meta($pID,'_sociableoff',true)=='Y'){
    delete_post_meta($pID, '_sociableoff');
    }
    }
    }
    -----------------------------------------------------

  8. jgmash
    Member
    Posted 1 month ago #

    yespbs,
    Where do you put that code for fetching the parent post always?

  9. danwsim
    Member
    Posted 1 month ago #

    I had the same problem as all of you, and I solved it in the following manner. This does break a certain tool, mostly the disable tool, although that never worked for me anyway.

    Open up the Sociable.php, and remove the following lines of code:

    if (get_post_meta($post->ID,'_sociableoff',true)) {
    return "";
    }

    This makes Sociable stop checking if it should be on or off.

    I am implementing Sociable manually, by inserting the code myself, I dont know how this will play if you are using the automated insertion.

    I am using Wordpress 2.7 or so, Sociable seems almost completely broken for me, but with the manual insertion, and removing this line of code. I have everything I need.

Reply

You must log in to post.

About this Topic

Tags