Additional fields for protection against spam bots
--------------------------------------------------------
in account-signup.php find
add after:
in html part find:
add before:
I think this is the simplest way to protect against spam bots.
--------------------------------------------------------
in account-signup.php find
if (isset($_GET["takesignup"]) && $_GET["takesignup"] == "1") {add after:
if (!empty($_POST['honeypot'])) {
// If the honeypot field is filled - we deny registration.
show_error_msg(T_("SIGNUP_FAILED"), "Spam detected.", 1);
die();
}in html part find:
<tr>
<td align="center" colspan="2">
<input type="submit" value="<?php echo T_("SIGNUP"); ?>" />
</td>
</tr>add before:
<tr style="display:none;">
<td>Leave this field blank:</td>
<td><input type="text" name="honeypot" value="" autocomplete="off" /></td>
</tr>I think this is the simplest way to protect against spam bots.
Last edited by coco on 2025-05-21 11:49:25
