Forums

anonymous comment not "sticking" (3 posts)

  1. jkendo
    Member
    Posted 1 year ago #

    I installed the "post per anonymous comment" plug-in and I love it. The only problem I'm having with it, is that I have to keep going back in to the the my posts and re-click the allow anonymous check box. It won't stay turned on. Any suggestions?

    Thanks,
    Jason

    http://wordpress.org/extend/plugins/per-post-anonymous-comments/

  2. zdufran
    Member
    Posted 11 months ago #

    Choan Galvez wrote the per-post-anonymous-comments plug-in. I sent him a personal email, but he said he has ceased maintaining it. I have the same problem. Jason, have you had any luck finding a solution?

  3. zdufran
    Member
    Posted 11 months ago #

    Jason-
    You might try doing this:

    function ppac_update_post($id) {
    	delete_post_meta($id, '_anonymous_comments');
    //	$setting = (isset($_POST["ppac"]) && $_POST["ppac"] == "1") ? 1 : 0;
    	$setting = 1;
    	add_post_meta($id, '_anonymous_comments', $setting);
    }

    I think that should work.
    Zach

Topic Closed

This topic has been closed to new replies.

About this Topic