We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
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) : '.'); ?>
<?php if (isset($_POST['req_username'])) echo pun_htmlspecialchars($username); ?>
<?php echo (isset($_POST['req_username']) ? pun_htmlspecialchars($username) : '.'); ?>
Sorry, something went wrong.
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="."
name="req_username"
name="req_username" value="."
Thanks
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: