Jake B.
Well-known member
I'm needing to log ip addresses for certain actions performed in an Add-On I am making, but I cannot seem to figure out how they are logged in XenForo. I know that they are contained in xf_ip, and there is a XenForo_Model_Ip class that seems to interface with that table, but I cannot find anything in XenForo referencing that class other than the XenForo_Model_Import class. I've gone through the model/datawriter/controller for posts/threads but can not find where the IP address logging actually takes place to figure out how to work with it, so I was wondering if someone could potentially enlighten me on the process, as I am at a complete roadblock at this point.