Phpost
COMPLEMENTOS Honeypot Anti-Spam v1.0 - Versión para impresión

+- Phpost (https://phpost.es)
+-- Foro: Risus Nova 2.0 (https://phpost.es/forum-150.html)
+--- Foro: Complementos (https://phpost.es/forum-164.html)
+---- Foro: Terminados (https://phpost.es/forum-165.html)
+---- Tema: COMPLEMENTOS Honeypot Anti-Spam v1.0 (/thread-1015.html)



Honeypot Anti-Spam v1.0 - Tronlar - 05-30-2026

Honeypot Anti-Spam v1.0
Para Risus Nova 2.0 — PHPost


Campo trampa invisible para bloquear bots de spam en el registro. Los usuarios normales nunca lo ven. Los bots que rellenan todos los campos automáticamente quedan bloqueados.



🍯 Cómo funciona
   


🛠️ Instalación

Paso 1 — Subir el archivo
 
Código:
p.registro.form.tpl  →  themes/default/templates/php_files/


Paso 2 — En c.registro.php

Buscar:
 
Código:
// COMPROBAR NUEVAMENTE QUE EL USUARIO O EMAIL NO SE ENCUENTREN REGISTRADOS


Agregar arriba:
 
Código:
// ── Honeypot anti-bot ──
if (!empty($_POST['website'])) {
    return '1';
}
// ──────────────────────


Paso 3 — Borrar la caché

Borra el contenido de la carpeta /cache/ del sitio.


⚠️ Importante
   

 
Descarga

Mediafire
http://Registrate o inicia tu sesión para ver este contenido

Google Drive
http://Registrate o inicia tu sesión para ver este contenido




¿Tienes dudas o encuentras algún problema? Déjalo en los comentarios.