When thicking the sociable disabled tickbox on a page sociable is not being disabled, it remains on the page
When thicking the sociable disabled tickbox on a page sociable is not being disabled, it remains on the page
resolved, problem with php code
Logicdesign, I am having the exact same issue. Can you please enlighten me to which PHP code you edited to disable Sociable?
Thanks, Dan
In the sociable.php file search the code:
1115 function sociable_insert_post($pID) {
1116 if (isset($_POST['sociableoff'])) {
1117 if (!get_post_meta($post->ID,'_sociableoff',true))
1118 add_post_meta($pID, '_sociableoff', true, true);
1119 } else {
1120 if (get_post_meta($post->ID,'_sociableoff',true))
1121 delete_post_meta($pID, '_sociableoff');
1122 }
1123 }
Delete the line 1120.
That's all.
This topic has been closed to new replies.