Community Forums › Forums › Archived Forums › General Discussion › Need help ASAP. Need to not collect author and ip from comments.
- This topic has 6 replies, 3 voices, and was last updated 11 years, 9 months ago by
garymgordon.
-
AuthorPosts
-
April 25, 2013 at 2:24 pm #37716
garymgordon
MemberNeed help ASAP. Need to not collect author and ip from comments.
When I setup to allow comments to be submitted on a page, it (by default) emails the admin with the info, which includes the Author's name and IP address (as it sees it).
My problem is, I need the comments that are being submitted to be anonymous (completely). So, even the admin shouldn't have access to this information. Not even in the database.
How and where in WordPress or within the Genesis or Education (v1) theme would I go (if possible) and prevent the author and ip address from being collected at all.
I'd love to be able to add something to the functions.php file to remove this so I don't have to touch genesis or wordpress core code.
Please help? Anyone??
Thanks,
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesApril 26, 2013 at 1:07 am #37793Brad Dalton
ParticipantYou can hide the name field for the comment author:
#commentform #author, #commentform #author +label { display:none; }
Then you can remove the website url field completely using PHP code:
Code not displaying? Grab it on Github
April 26, 2013 at 5:13 am #37809garymgordon
MemberThis reply has been marked as private.April 26, 2013 at 12:21 pm #37891Brad Dalton
ParticipantApril 26, 2013 at 12:24 pm #37893garymgordon
Memberbraddalton
Sorry I did reply earlier. Here it is again ...
I am not wanting to remove the author and IP fields from the form.
The author and IP information is being captured and pulled in automatically when someone fills out a comment on post.
I do not want WordPress to capture the Author info or the IP info. I want to stop WordPress from capturing this and sending it to me when a comment is filled out.
If possible, please email me offline at [email protected]. Some of what I want to discuss I don’t want included publicly in the forum. Is that possible?
I'm looking to stop WordPress from capturing and storing this data.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing ServicesApril 26, 2013 at 4:16 pm #37963essaysnark
ParticipantWe're using a free plugin called Comment Emailer http://wordpress.gordonfrench.com/comment-emailer/ to suppress the IP address from going into the comment alerts. Not sure if there's any way to (easily) stop WordPress from collecting the IP addresses in the first place.
April 26, 2013 at 4:26 pm #37966garymgordon
MemberEssaySnark,
Yes. I'm running that as well, so when it emails the form to other users, it won't send the details.
But my issue is, we truly want comments, when submitted anonymously .. to be anonymous (so that WordPress wouldn't even "try" to capture the author info or ip info of the author). Because as the admin .. I get an email when each comment is made and .. I see the info (even though using Comment Emailer helps for other moderators that may be involved).
Brad offered to write a custom script to help with this. I'm just trying to find out if the client wants to spend anything to truly get this done. I was trying to find a solution that wouldn't involve any cost. So, .. I'll wait and see.
But thanks!! To both you and Brad.
Gary
Gary M. Gordon
http://www.wpbns.com/ – Web, Podcasting, Broadcasting, New Media and Internet Marketing Services -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.