• Hi,

    I am trying to use wp-hive to manage a number of blogs and all is well except that I cannot get easy privacy policy to create a policy page for anything other than the initial domain in the hive. It states that there is already a page and that I should delete it.

    I believe it should work but it doesn’t appear to be saving the policy page in the correct table.

    Anybody experienced this before and is there a fix?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Check that there not a privacy page stuck in the Trash folder, if there is delete it 🙂

    Thread Starter Tebor123

    (@tebor123)

    Hi superduperkev,

    Thanks for your reply. I checked the Trash and there was nothing there. It seems to be trying to create the privacy page for site mysubdomain.mydomain.com in the same table as mydomain.com. I have unique identifiers set up for each site within wp-hive.

    Hope this helps.

    Hey Tebor,
    I had a quick look at wp-hive, unfortunately I don’t think this Easy Privacy plugin is going to work due to the way EPP stores the Post Id of the Privacy Page – that’s how it knows whether its added already and how to find it again, sorry I can’t be of more help 🙁

    Thread Starter Tebor123

    (@tebor123)

    Thanks Kev,

    I wonder if there’s a way of modifying the plugin code. I know coding but I’m not good with php.

    I might take a look. Thanks for your help.

    talking about easy-privacy-policy.php

    This problem lies in the wp_exist_post_by_title() and wp_exist_post() functions of the plugin. It checks for “wp_posts” in the SQL query, when those shouldn’t be static and should be a variable generated by that speicifc blog. EX: instead of “wp_posts” for MU blogs it should be “wp_X_posts” where X is the number of the blog.

    Hacked solution for me was just to replace the error checking “if($this->wp_exist_post_by_title(get_option(‘easy_privacy_pagetitle’)))” with “if(false)” and it worked fine, because I couldn’t find the legitimate php variable that find the DB prefix.

    Running WP Version 3.0.1 with multi-site enabled.

    Thread Starter Tebor123

    (@tebor123)

    Thanks for your reply ooooooscar. I will take a look. So I just replace the whole line with “if(false)”?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Easy Privacy Policy and Wp-Hive’ is closed to new replies.