Open romulasry opened 1 year ago
post.php
find
// It's a guest, so we have to validate the username
check_username($username);
before add
if ($username == '' || $username == '.')
$username = '.';
else
find
<?php if (isset($_POST['req_username'])) echo pun_htmlspecialchars($username); ?>
replace to
<?php echo (isset($_POST['req_username']) ? pun_htmlspecialchars($username) : '.'); ?>
This fixes it in new posts. Is there a way to do this in reply?
for the quick reply form
viewtopic.php
find
name="req_username"
replace to
name="req_username" value="."
Thanks
It requires a name at least two characters to post now. How could you make it default to "." if you had no name in the name field?
Any idea?