• Resolved logicdesign

    (@logicdesign)


    When thicking the sociable disabled tickbox on a page sociable is not being disabled, it remains on the page

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter logicdesign

    (@logicdesign)

    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

    Thread Starter logicdesign

    (@logicdesign)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘sociable disabled tickbox on a page’ is closed to new replies.