I’m starting to see a lot of bogus registrations for one of our events. I’d like to determine where they are coming from. Does EE record the IP address information somewhere when a person registers?
No, currently we do not log the ip address of the registrant. What you can do is open up registration_page.php (you should copy both registration_page.php and registration_page_display.php from plugins/event-espresso/templates over to uploads/espresso/templates before making any changes) and change line 15 to do_action('action_hook_espresso_log', __FILE__, __FUNCTION__, $_SERVER['SERVER_ADDR']);
Then under Event Espresso -> General Settings -> Advanced Features -> Optional Event Settings look for “Use full logging?” and turn it to “Yes”.
Then you should be able to correlate the ip address that will appear in the logs with the registrant information that will appear right after the ip address entry.
I’ve added the code and now see the IP address in the log. Thank you for the help!
I’d like to request a potential future feature: to include the IP address as part of the registration details so it shows up on screen as part of the registration (instead of combing log files).
A quick follow-up on this; in order to log the correct ip address, you need to put REMOTE_ADDR instead of SERVER_ADDR. (SERVER_ADDR logs the hosting provider server IP address)
Viewing 3 reply threads
The support post ‘IP Address from registrant?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.