I'm currently setting up my forum which is behind a UTM firewall. It seems the code used to record a users IP in Xenforo is using something similar to the following:
$ip = $_SERVER['REMOTE_ADDR']
However, that will return the Firewall IP address and not the user.
I've got some code which will return the correct IP address of the visiting user, but I’m unsure where the actual IP function in Xenforo is to update it?
There are just so many .php files
Any help would be greatly appreciated.