In sociable_insert_post() function, replace $post->ID by $pID (2 times)
Edit: "quick edit" destroy this setting, better way :
new sociable_insert_post() function :
function sociable_insert_post($pID) {
if (isset($_POST['sociableoff'])) {
if($_POST['sociableoff']) {
if (!get_post_meta($pID,'_sociableoff',true))
add_post_meta($pID, '_sociableoff', true, true);
} else {
if (get_post_meta($pID,'_sociableoff',true))
delete_post_meta($pID, '_sociableoff');
}
}
}
new sociable_meta() function :
function sociable_meta() {
global $post;
$sociableoff = false;
if (get_post_meta($post->ID,'_sociableoff',true)) {
$sociableoff = true;
}
?>
<input value="0" type="hidden" name="sociableoff" />
<input value="1" type="checkbox" id="sociableoff" name="sociableoff" <?php checked($sociableoff); ?>/>
<label for="sociableoff"><?php _e('Sociable disabled?','sociable') ?></label>
<?php
}