Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
I'm wondering what IP information is stored in the database.

Is everything logged or just the most recent IP or ...?


2 Answers

0 votes
Per post, it is the most recent IPv4 address that checks the post. For the user, it is also the most recent too. No history is kept.
0 votes
For registered users, the IP they registered with is stored as well as the last IP the logged in with and the last IP they posted something with. (These are the fields createip, loginip, writeip in qa_users.)

For all visitors (anonymous/logged-out visitors as well as logged-in users), IPs are stored for various actions including login attempts, registrations, questions and answers posted. This is for the spam options to limit registrations/posts by IP.

Blocked IPs are also stored in the qa_options table. Moderators and Administrators are able to view users' IPs from the front end of the website.