Support » Plugin: User Submitted Posts » How to disable "user_submit_ip"?

  • Resolved usersubmittedpost-fan


    Hi Jeff,

    How are you? .. Want to start off by thanking you for making this plugin and for also actively updating and helping users of the plugin.

    Your plugin in the most important feature in my wordpress site. My wordpress site is like a petition site or complaint site where people can submit their complaints against organizations.

    I want to make sure that all users of my site are anonymous. I found that IP address of user who submitted a post is logged in the posts_meta table in the database as user_submit_ip.

    Is there a way to disable tracking of user_submit_ip in the database?

    I just don’t want to store IP addresses of the post submitters.

    Thank you in advance for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr


    Yes there is a way, but it requires a modification to the core file, just change this line:

    update_post_meta($newPost, $usp_post_meta_SubmitterIp, htmlentities($authorIp, ENT_QUOTES, 'UTF-8')); this:

    // update_post_meta($newPost, $usp_post_meta_SubmitterIp, htmlentities($authorIp, ENT_QUOTES, 'UTF-8'));

    Also, there is a Pro version of USP in the works that will include the option to disable IP tracking, just FYI.

Viewing 1 replies (of 1 total)
  • The topic ‘How to disable "user_submit_ip"?’ is closed to new replies.