Invitation Code Content Access - Settings - General (Configuring Access, Privacy)


General Settings

Back to User Guide

Most of the plugin's settings are located in the General Settings page. Head to Admin Dashboard → Invitation Code Content Access → Settings → General.


General

These are the options:

  • Code stays valid for - Choose between:
    • Duration of the session - The code will be used once every session. A session lasts for as many pages as the user visits and only ends after the user is inactive for 30 minutes.
    • Single view - The user will have to input the code every time the page refreshes.

  • Footer count block - Enable this option to display the footer with the counter. 

Note

The option was introduced in the version 1.3.12.

This footer can be displayed only when you create the code, and choose the way how the code will expire - Once activated, expires after some time.

How it looks like on the Front-end:

  • Always allow admin to access - Content will never be locked for users with the admin role.

  • Allow blocking homepage - This option allows you to block homepage of your site. This feature is available since version 1.3.8. Learn more about restricting URLs and homepage.

  • Email required while code entered - enable it to make users enter their emails while entering the access code. This feature is available since version 1.3.8.

Example

This is how it looks like in Front-End: And in Back-End while viewing and editing the code you can see the list of emails, who used that code:

  • Allow to use form builder - Enable this option to use form builder for expanding invitation code access form. Note: this option was introduced in version 1.4.0.

Profile Fields

When the option Allow to use form buider is enabled a new item appears in the menu:

You can learn more about Profile Fields in this guide: Invitation Code Content Access - Profile Fields

  • Access denied for logged in user - Enable this option to extend the restrictions to all users except the admin. Disable it to make the code work only for guest users.
    • Access code locked by logged in user - Enable this option to tie codes to the logged-in user. This way, after a logged-in user uses the code, that code cannot be used by any other user.

    • Remember used code for user - When enabled the code will be remembered, meaning users only need to enter the code once.

    • Require user to be logged in to use the code - In order to use the code, the user must be logged-in.

    • Access denied for specific user roles - Only logged-in users with selected roles and guests will be required to enter the code. Setting Always allow admin to access takes precedence for roles with manage_options capability during access control.

    • Enable four digits invitation code - Codes will have four digits only.

    • Show prefix before four digits codes - If enabled there will be an additional prefix field for the four digits codes generated with prefix.

    • Four digits invitation code pattern - Only works if "Enable four digits invitation code" is enabled. You can choose which characters will be included:
      • Numbers and letters (0-9 and A-Z)
      • Numbers only (0-9)
      • Letters only (A-Z)

        Four Digits code mode

        If Four Digits Code mode is enabled, this will happen:
        • Longer codes WILL NOT work
        • New codes will be generated with four characters only
        • The code box will ask for only four digits

        Learn more: Invitation Code Content Access - Four Digit Codes

    • Exclude special chars from code string - Enable this option if you want to exclude the following special characters from automatically generated codes: 1, L, l, 0, O. Note: this option was introduced in version 1.4.4.When you create a single code, these characters won't be added in the code, if it's generated automatically. But you can add them manually, if needed. 

      If you create a sequence of codes, the option  Exclude special chars from code string will work only in case if you enable the option Randomize codes? while confuguring the sequence. 
    • Enable Multi-Factor Authentication - When enabled, the access code box will require SMS authentication. The user will receive an SMS with a code and the code will only work after the user inputs the SMS code.
      (Requires the CM Secure Login installed with SMS as Two-Factor authentication method.)

    • Enable Payment - For this feature you need to install WooCommerce plugin.

    • Auto create/update WooCommerce products for invitation codes with price - If enabled, after saving the invitation code with defined price value, a WooCommerce product will be automatically created/updated to handle the purchase process. Otherwise, a manually created product can be associated with a particular code. For this feature you also need to install the WooCommerce plugin. This feature is available since 1.3.7 version of the plugin.

    • Require specific invitation code - If enabled users will be shown a defined hint/question (randomly chosen from all codes for a specific post) along with the access code. Only a correct answer to the specific question will give the user access to the post.

    • Hide code input characters - If enabled, access code characters typed by the user will be hidden. If disabled, typed characters will be visible all the times. Users can click the eye icon to toggle options. Note: This feature works only with standard invitation codes (single input).

    • Don't use redirect for restrict access to the pages - If enabled, plugin will use the_content filter to restrict access to the page. In means, when the user visits restricted page he won't be redirected to the page with a form for entering the invitation code. Instead of it, the form for entering the code will appear on the restricted page. You can use it if you have problems with the "Redirect" mode. The URL for redirecting is set in the Access denied page URL option. Note: this option was introduced in version 1.4.0.

    • Avoid full-page caching - If enabled, the plugin will add GET parameter to URLs of restricted by codes pages to avoid full-page caching. The GET parameter contains a ranodom string, this way the URL is always unique, so it can help to avoid possible problems with cache and full-page cache plugins. We recommend to enable this option in case, if you use any plugin for caching. Note: this option was introduced in version 1.4.4.

    How It Looks Like On the Front-End:

    Before entering the invitation code:

    After accessing the restricted page:


    Terms and Privacy

    • Show disclaimer for first time users - If enabled, users will be prompted to accept your terms before applying a code for the first time.
    • Disclaimer text - Add the Terms of Service text users will have to accept in order to utilize the service. You can add rich text and multimedia.
      When creating codes, you can apply unique ToS messages.
    • Collect IP Address - Choose if the plugin will register the IP Address of users when they apply codes. The IPs will be visible in the access log of each code. Depending on the geographical region of your user, disclosing this practice in terms of service can be obligatory.


    Get more information about the Invitation Code Content Access plugin for WordPress

    Other WordPress products can be found at CreativeMinds WordPress Store

    Let us know how we can Improve this Product Documentation Page

    To open a Support Ticket visit our support center
    Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

    Still need help? Contact Us Contact Us