coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: leosolinap on October 15, 2006, 07:50:25 AM

Title: IP Address on Comments
Post by: leosolinap on October 15, 2006, 07:50:25 AM
How can my gallery show an IP address or stamp his IP address on the comments being posted on the gallery. So that if anything being posted, I can block the IP even if they are just guests.
Title: Re: IP Address on Comments
Post by: Nibbler on October 15, 2006, 12:34:02 PM
It already does.
Title: Re: IP Address on Comments
Post by: leosolinap on October 16, 2006, 06:54:24 AM
If it already does, why I cant see those IP who posted their comments in my gallery. It should be seen in the gallery. Please help, thanks.
Title: Re: IP Address on Comments
Post by: Sami on October 16, 2006, 07:12:30 AM
As an admin you can see the IP of poster next to her/his name, for each comment
Title: Re: IP Address on Comments
Post by: leosolinap on October 16, 2006, 08:48:48 AM
sami, sorry but i cant see the IP address despite i logged as an admin, I used review comments and view comment but no such logged of IP, where can I see the IP address? thanks.
Title: Re: IP Address on Comments
Post by: leosolinap on October 16, 2006, 08:51:31 AM
Quote from: leosolinap on October 16, 2006, 08:48:48 AM
sami, sorry but i cant see the IP address despite i logged as an admin, I used review comments and view comment but no such logged of IP, where can I see the IP address? thanks.

In my logs, I can only see the IP but not everywhere..

Denied privileged access to viewlog.php from user Guest at  on October 15, 2006, 6:01 am
Denied privileged access to viewlog.php from user Guest at  on October 15, 2006, 6:01 am
Denied privileged access to viewlog.php from user Guest at  on October 15, 2006, 8:56 am
Failed login attempt with Username:  from IP 203.215.95.xxx on Oct 16, 2006 at 09:38 AM

Title: Re: IP Address on Comments
Post by: Sami on October 16, 2006, 08:57:48 AM
It's not on the log files it's on actual comment block (under intermediate display )
Title: Re: IP Address on Comments
Post by: leosolinap on October 16, 2006, 09:04:17 AM
Got it, thanks, one more question, do admin can only see this IP, how about even guests can see this IP? so that they may be aware that their IP is being recorded. I mean what if I still can see this IP even if im not logged in a s admin?
Title: Re: IP Address on Comments
Post by: Joachim Müller on October 16, 2006, 09:17:12 AM
IP address is not displayed for visitors. You're free to add text that explains to users that their IP address is being recorded, or even display the IP address of users. It's just a server var that you can add easily. However, this won't keep comment spammers from spamming, as they are spoofing their IP address or block sending their IP address completely.
Attached is a screenshot how the admin view of the comments section looks like, with the IP address being displayed.
Bottom line: don't trust IP address recording - it won't help very much, as malevolent users will hide it and most users get dynamic IP addresses assigned by their ISP each time they connect to the internet (dynamically).