AntiSpam in Old Tikis
Measures to protect sites against spam
Tiki registrations: Passcode to register + JQ show it for humans
An easy trick (by luci: thanks!)
- Enable the option "Passcode to register" (Admin home > Login > ...)
- Code to add before the end < /body> tag. (Admin home > L & F > Customization > Custom end code):
- If you are using some user tracker to collect more information from users at registration time, use this code:
code to add in Admin L & F Customization Custom end code{if $mid eq "tiki-register.tpl"}{jq}$("form[name='editItemForm1']").prepend("<b>Passcode to Register / Codi de pas per registrar-se:</b> <i>foo</i>bar <br/>");{/jq}{/if} - If you just use the basic registration form by default (no user tracker to collect more information from users at registration time), then use this other code:
code to add in Admin L & F Customization Custom end code{if $mid eq "tiki-register.tpl"}{jq}$("form[name='RegForm']").prepend("<b>Passcode to Register / Codi de pas per registrar-se:</b> <i>foo</i>bar <br/>");{/jq}{/if}
- If you are using some user tracker to collect more information from users at registration time, use this code: