Use get_user_ip(0,....) to get the server's ip. If it returns 192.168 or 127.0, then that is because you are behind a router and you can't prevent that
I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).