Loading...
 

Anti-spam


Measures to protect sites against spam

1.1. Tiki registrations: Passcode to register + show it for humans

1.1.1. Using pretty tracker template

Using "Use tracker to collect more user information" (admin -> login) you can design your own registration page by setting "Use pretty trackers for registration form". Activate the passcode option and enter a number (8 for example). In your registration pretty tracker template enter some text like "How much is 5+3" and add the field {$register_passcode}. As long the user is not human an not entering the number 8 in the field, registration will fail.

1.1.2. Newer versions: using an admin setting

In the most recent versions of 6.x, 9.x, 10.x and 11.0 this is now a feature. Just visit tiki-admin.php?page=login and activate "Require passcode to register", save your settings. And then activate the new option that you will see saying: "Show passcode on registration form".

1.1.3. Older versions: setting it by hand

If you can't see the option "Show passcode on registration form" in the security admin panel, then you can still use passcode and show it in the registration screen by configuring this behavior by hand.

An easy trick (by luci: thanks!)

  1. Enable the option "Passcode to register" (Admin > Login > ...)
    1. Enter the passcode the users will need to use and save by clicking "Change preferences". For this example, assume the passcode is foobar.
  2. Code to add before the end < /body> tag. (Admin > Look & Feel > Customization > Custom end code):
    1. If you are using some user tracker to collect more information from users at registration time, use this code:
      code to add in Admin Look & Feel Customization Custom end code
      Copy to clipboard
      {if $mid eq "tiki-register.tpl"}{jq}$("form[name='editItemForm1']").prepend("<b>Passcode to Register:</b> <i>foobar</i> <br/>");{/jq}{/if}
    2. 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 Look & Feel Customization Custom end code
      Copy to clipboard
      {if $mid eq "tiki-register.tpl"}{jq}$("form[name='RegForm']").prepend("<b>Passcode to Register:</b> <i>foobar</i> <br/>");{/jq}{/if}
  3. (optional) If you're comfortable editing files and have access, line 12 or so of the templates/register-passcode.tpl, which has the description of the passcode field, could be changed to refer to the passcode as follows:
    Copy to clipboard
    <em>{tr}Not your password. Enter passcode to register shown above. The code is case sensitive.{/tr}</em>

 Note

To make the passcode a bit trickier to fetch properly by robots we can also write it with some html tags inside (or affecting half the passcode). E.g.:

Copy to clipboard
foo<i>bar</i>

instead of just

Copy to clipboard
foobar

or

Copy to clipboard
<i>foobar</i>

This way, the user will read the same word that they have to type in: foobar, but robots will potentially read the html code, with the italic html tags in between, etc.

1.2. Banning Users or IPs

See How to Ban many IP from fake registrations

You can also mass ban ips from comments pending moderation. See Comment Moderation

Or you can ban many ip's at once directly through the Action Log interface.

1.3. Remove Spam

If you got spam before you applied the measures to avoid it, see How to Remove SPAM


Alias names for this page

Spam | Anti Spam | Antispam

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki