I tried to add this feature using javascript but Moodle seems to disable this.
Forum
Show forum user his IP address
This discussion has been locked so you can no longer reply to it.