Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: An anonymous user can post comments for a registered user  (Read 4865 times)

0 Members and 1 Guest are viewing this topic.

raetsche

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
An anonymous user can post comments for a registered user
« on: January 28, 2004, 04:25:09 pm »

Hi there,

again a question concering the comment function of coppermine.

As an anonymous user i can post comments using a free selectable name. But that's a problem! So an anonymous user can post comments for a registered user. For example if I've got a user called "admin" an anonymous user can also post comments as "admin", when he fills the field name with "admin"
There's no function which checks if a user already exists as far as i know.

Is this implementable and maybe somebody already knows a solution?
My idea is the following. If a guest user adds a comment his name is automatically appended with "(guest)", so everybody knows that this is not the registered but a guest user. In the example mentioned above, the user name would be "admin (guest)"

Nice greetings and thanks!
Logged

Nibbler

  • Guest
An anonymous user can post comments for a registered user
« Reply #1 on: January 28, 2004, 07:06:14 pm »

Dead simple,

add the following in line 120 of db_input.php

Code: [Select]

$msg_author .= ' (guest)';
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
An anonymous user can post comments for a registered user
« Reply #2 on: January 28, 2004, 08:29:37 pm »

even more simple: don't allow guests to post comments at all. The internet is fool of fools who hide behind anonymity (or something they think that exists called anonymous surfing). Every web page that allows user interaction (like posting comments) needs some form of moderation...

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.