coppermine-gallery.com/forum

No Support => Feature requests => Topic started by: M2H on April 29, 2004, 11:47:29 PM

Title: Registered users will "own" their username
Post by: M2H on April 29, 2004, 11:47:29 PM
I'de like to see this feature:
Registered users will "own" their username, so not logged in persons cannot act if like they are "mike"cuz they did not register mike.
They can use unregistered names though.
Title: Re: Registered users will "own" their username
Post by: Joachim Müller on April 30, 2004, 09:14:24 AM
don't let unregistered users post comments and the whole mess with guests posing as users should be over...

GauGau
Title: Re: Registered users will "own" their username
Post by: Djuri on May 04, 2004, 11:56:18 AM
Maybe it would be handy to give guests another color when they're posting, or a prefix/suffix.
Title: Re: Registered users will "own" their username
Post by: Nibbler on May 07, 2004, 07:26:51 PM
Just change the query in db_input.php from:


$insert = db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('$pid', '$msg_author', '$msg_body', NOW(), '{$USER['ID']}', '0', '$raw_ip', '$hdr_ip')");


to


$insert = db_query("INSERT INTO {$CONFIG['TABLE_COMMENTS']} (pid, msg_author, msg_body, msg_date, author_md5_id, author_id, msg_raw_ip, msg_hdr_ip) VALUES ('$pid', '$msg_author (guest)', '$msg_body', NOW(), '{$USER['ID']}', '0', '$raw_ip', '$hdr_ip')");