User Login/Registration and Guest Posts

User Login/Registration Settings

Guest users are redirected to the default WordPress login page when they try to submit listings from the frontend (unless guest posting is enabled, see Guest Post Settings). However, the design and layout of the default WordPress login page does not match your current theme which may be confusing to some visitors.

This is when you can enable the custom login/registration form feature. When enabled, login and registration forms are displayed on a standard WordPress page using the layout of your WordPress theme.

Below is an example of how the login/registration page looks like when the feature is enabled:

Follow the steps below to enable and configure custom user login/registration forms:

  1. Login to your website if not yet logged in and go to the WordPress administration dashboard.

  2. Click Directories in the admin sidebar.

  3. Click the Settings tab and then the Frontend Submit sub-tab and scroll down to the section labelled User Login/Registration Settings:

    • Show user login form - Whether or not to show a custom login form to guest users.

    • Show user registration form - Whether or not to show a custom registration form to guest users.

      Note: Make sure user registration is enabled in WordPress (Settings -> General -> Membership), otherwise the registration form will not display even when Yes is selected for this option.

    • Add reCAPTCHA field (requires reCAPTCHA add-on) - Whether or not to add a CAPTCHA field to the login and registration forms for spam prevention. For more details on reCAPTCHA, see Preventing Spam with reCAPTCHA.

      Here is how the forms look like when the reCAPTCHA field is enabled:

  4. Scroll down the page and press Save Changes.

In addition, make sure that a valid WordPress page is assigned as the page for displaying the login and registration forms.

  1. Click the Pages sub-tab and scroll down to Page Settings.

  2. Make sure a valid page is selected for Login/Registration.

  3. Scroll down the page and press Save Changes.

Guest Post Settings

In Directories Pro, you can let visitors submit listings to your directory without login or registration by granting the Create Listings permission to the Guest user role (see Permissions for details).

Guest users are by default required to enter their name and e-mail address when posting. There are additional options such as requiring them to enter a website URL and un-requiring the e-mail address field. In order to configure what data should or should not be collected from guest users, follow these steps:

  1. Login to your website if not yet logged in and go to the WordPress administration dashboard.

  2. Click Directories in the admin sidebar.

  3. Click the Settings tab and then the Frontend Submit sub-tab and scroll down to the section labelled Guest Post Settings:

    • Collect e-mail address - Whether or not to show an e-mail address field.

    • Require e-mail address - Whether or not to require an e-mail address to be entered.

    • Do not allow e-mail address used by registered users - Whether or not to prevent from entering an e-mail address that is associated with an existing user account.

    • Check MX record of e-mail address - Whether or not to make sure a valid MX record is found for the domain of the e-mail address entered, to prevent fake e-mail addresses.

    • Collect website URL - Whether or not to show a website URL field.

    • Require website URL - Whether or not to require a website URL to be entered.

  4. Scroll down the page and press Save Changes.

In the frontend, a form similar to below will be shown to guest users when they try to submit a listing:

The guest user can then fill out the fields and click the Continue button to proceed to the add listing page.

results matching ""

    No results matching ""