• Resolved koullis

    (@koullis)


    it seems that sender ip is only shown in email when a comment/feedback is received. But not all comments are real.spam are going directly to spam section so you dont receive an email about them. I want to know the ip so i can block them to avoid getting it again and its easier to have the info inside comment. Any way to show it apart from email?

    regards

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter koullis

    (@koullis)

    seems that an “issue” was opened last year in github and so far nothing happened

    https://github.com/Automattic/jetpack/issues/29124

    Plugin Support Bruce (a11n)

    (@bruceallen)

    Happiness Engineer

    Hi @koullis

    Could you please post your site URL here so that we can have a look? We might be able to track down those IPs for you.

    If you want it to remain private, you can also contact us via this contact form:

    https://jetpack.com/contact-support/?rel=support&hpi=1

    If you choose to reach out directly, please include a link to this thread.

    Thanks!

    Thread Starter koullis

    (@koullis)

    why you need to track them down? is there any way to shiw ips when comments are added into spam? im getting so many “ericjones” spam comments

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @koullis

    With your site’s URL, we would be able to investigate this more thoroughly.

    Otherwise, you should see the IP showing in the spam comments section:

    Annotation on 2024 01 24 at 09 40 02

    Unfortunately, the sender IP isn’t included in Feedback submissions.

    Also, if you are experiencing issues with spam comments on your site, I’d encourage you to check out our Akismet Anti-spam solution. It should help reduce spam comments and form submissions.

    Thread Starter koullis

    (@koullis)

    @lastsplash thank you for your reply.

    so in “feedback-form responses” cant be shown ips? I already using akismet but lots of the same spam comments pass through..can recaptcha be inserted with jetpack feedback -contact form?

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi @koullis

    Correct, IPs are not shown in the feedback responses. I have added a reference to this thread on the GitHub issue. However, there is no timeline for when our development team will address this.

    Additionally, there is not a way to add a captcha to Jetpack’s Contact Form.

    Please share the URL of your site here so that we can take a look to make sure Akismet is enabled on your site.

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @koullis,

    Do you have updates about that? We usually close inactive threads after one week of no activity, but we want to make sure we’re all set before marking it as solved. Thanks!

    Thread Starter koullis

    (@koullis)

    update on what? ip problem is not fixed and as stated from previous user its been reported again in github and its even downgraded from priority

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi there, @koullis,

    You’re right – we just wanted to understand if you need any more help on this thread about the issue. When there’s a GitHub issue in place, we recommend users subscribe to it to follow any developments and also to ask questions and comment in GitHub directly.

    Hope it makes sense!

    Thread Starter koullis

    (@koullis)

    ok thank for the clarification il check github for any updates also

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    No problem, @koullis!

    I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

    I worked up a custom plugin that dumps all the IP’s from Feedback Responses marked as SPAM into a separate file for reference on a cron schedule or on demand, for my own blocking/reporting purposes. I may publish it at some point, its very bare bones. I hated not seeing the IP in the Feedback Form Responses admin page without having to run my plugin to view/dump them. So I spent a few minutes and put together a quick one line patch to restore this functionality.

    Reference the GitHub issue here: https://github.com/Automattic/jetpack/issues/29124
    No time or inclination to submit a formal pull request or determine if it aligns with any WordPress coding standards (just quick and dirty to get going), but here it is for anyone who wants to quick copy and paste a single line of code to a single file to restore the missing IP display row – or use this as a reference point to investigate exactly where things are going wrong/broke and implement properly.

    Edit this file:
    /wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-admin.php (Reference: https://raw.githubusercontent.com/Automattic/jetpack/trunk/projects/packages/forms/src/contact-form/class-admin.php )

    Insert the following line of code at line 740:

    $content_fields["_feedback_ip"] = substr($chunks[0], strrpos($chunks[0], "IP:")+3);

    Save the file and then view your Feedback Form Responses admin page and you will note that the missing “IP” row with IP address of the form submission is now visible again, just below the horizontal rule in the “Response Data” column, and directly before the “Source” row – like it used to be.

    Basically it looks like the $content_fields array is not getting the _feeedback_ip set properly. Didn’t have time to go back and look at commit history to determine the cause/where it broke originally, and yes, its kludgy without error checking, but it works in a pinch, and might help someone to finish this off properly with a jumping off point. Will post a version of this on the GitHub issue as well in case that gets it addressed formally a little faster.

    Thread Starter koullis

    (@koullis)

    it works ….thank you for the quick fix..

    @koullis Happy to help. Looks like this helped get someone on it formally, and they have already made a very similar patch to the official repo for Jetpack plugin, and the pull request is one review away from being approved, so it should be in the next release. ?? Reference: https://github.com/Automattic/jetpack/pull/38352/commits

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.