Go to

Categories overview

Moderation and Email Verification

If you are using Authors 1.5 or newer you can enable moderation and/or email verification in the Authors Registration.

Moderation and verification are disabled by default; you can turn them on in the wp-admin / Classifieds / Options / Authors panel. In the image below you can see how the options in the moderation section look like

Here is a short description of how each option works:

Enabled” – you need to check this option if you want to have moderation or email verification turned on, otherwise none of the options below will have an effect.

Notifications” – when approving or rejecting the user (from the wp-admin / Authors or wp-admin / Users pages) there is always a checkbox that you can check or uncheck to notify the user about the account status change, if you check the “Notifications” checkbox then it will be checked by default.

Default Author Status” – in this field, you can select the default status the Author will receive after registering with [adverts_authors_register] shortcode. There are the following options:

  • Pending – the user will need to wait for the administrator to approve his account.
  • Verify Email – the user will need to verify his email address by clicking a verification link in the registration confirmation email (more on this in a section below).
  • Approved – the default value, after registration user will be automatically approved and logged in.
  • Rejected – the user will be automatically rejected on registration.

Status After Verification” – if in the “Default Authors Status” field you selected the “Verify Email” option, then in this field you can choose what status should the user account receive after the user clicks the verification link in the registration confirmation email.

Moderate Roles” – select roles for which the moderation should be turned on. The Authors usually are registered with the Subscriber role, so most of the time you will want to have this role selected only, but in some cases you

Approving or Rejecting User

To easily identify accounts that need moderation in the wp-admin / Authors list the users that need moderation or did not verify their email addresses will have a lockpad icon shown next to their title.

Administrators can approve or reject users from the wp-admin / Authors panel while editing a user or from the wp-admin / Users panel also while editing a user.

The moderation interface looks like in the image below.

To approve or reject user you only need to select a new user status, check the notification checkbox if you want to notify user about the status change and click the “Change Account Status” button.

By default the notifications are sent when you change status to Approved or Rejected, the content of the messages that are being sent you can edit from the wp-admin / Classifieds / Emails panel.

Note, that below the button there is a “Author verified his email address.” message, it will show only if the email verification is enabled and the user verifies the email address.

Email Verification

To properly configure the email verification you need to

  • Check the “Enabled” checkbox
  • In the “Default Authors Status” select the “Verify Email”
  • In the “Moderate Roles” select at least the role users receive on Registration via the Authors registration form.
  • Save settings

The last step is to include the email verification link in the registration confirmation email, to do that go to the wp-admin / Classifieds / Options / Emails panel, edit the authors::on_register_notify_user  email and in the message text put the following variable

{$verify_email_url}

This will render in the email a link that users can click to automatically verify their email addresses.

 

 

Was this article helpful?