Show forum user his IP address

Show forum user his IP address

by g k -
Number of replies: 2

We all know the potential problems of allowing individuals the privilege to post their opinions on forums.  As a deterrent to harmful posts, does anyone know any scripts which could be embedded into the forum message that would show the user his IP address?

 I know that the IPs are logged already, but perhaps showing the potential offender his IP would confirm this reality and provide a small deterrent And yes, I realize that there are ways to hide one's IP. smile

Average of ratings: -
In reply to g k

Re: Show forum user his IP address

by W Page -
Hi K g,

Maybe an option to collect IP address should be available in the Forum GUI along with an option to show that the IP address is being collected..  This will probably involve creating another field in the forum table database and another page to show the collected IP addresses.  Also, how will it affect forum page load speed?

I know it is done on some forums. 

It will take additional programming but I am sure it is a optional  feature some admins/Teachers would want.

WP1
In reply to W Page

Re: Show forum user his IP address

by g k -
I tried to add this feature using javascript but Moodle seems to disable this.mixed