DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Use wt_spamshield with ke_userregister

Add TypoScript Constants

plugin.wt_spamshield.ke_userregister = 1

TypoScript explanation

With the setting in the constants you can enable or disable the plugin on different pages.

Further settings

To show an error message (in case of detecting spam) above all form fields you have to create a custom field via TypoScript and add it to your ke_userregister HTML template. wt_spamshield ships with a default TypoScript setup for ke_userregister (you don't have to add this to your own TypoScript template):

plugin.tx_keuserregister {
  create.fields {
    # create field for error messages
    wt_spamshield {
      type = text
      doNotSaveInDB = 1
    }
  }
}

Create a copy of the ke_userregister HTML template and add a marker ###ERROR_WT_SPAMSHIELD### to the subpart <!-- ###REGISTRATION_FORM### start -->