Registered users will "own" their username Registered users will "own" their username
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Registered users will "own" their username

Started by M2H, April 29, 2004, 11:47:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

M2H

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.

Joachim Müller

don't let unregistered users post comments and the whole mess with guests posing as users should be over...

GauGau

Djuri

Maybe it would be handy to give guests another color when they're posting, or a prefix/suffix.

Nibbler

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')");