How to setup Core Design Access Text plugin? Print E-mail
(36 votes)

 

The default notation

Place the following tags on your page where you want to use the content access protection (you do not need to be in HTML code mode to do this).

{accesstext mode="your-mode"}
Message to nonauthorized users.||Message to authorized users.
{/accesstext}

Note: Don't forget to separate your message for non- and authorized users with "||" - double pipes.

 

  1. User access - to restrict visibility of text or images to one or more users

    {accesstext mode="user" user="Mark:Lena"}
    Message to other users.||Message user Mark and Lena.
    {/accesstext}

    Note: You can use the multiple users, separated with ":" (colon).

  1. Level access - to restrict visibility of text or images to one or more user privilege levels - usable levels include: registered, author, editor, publisher, manager, administrator, super administrator

    {accesstext mode="level" level="registered"}
    Message to non-registered users.||Message to Registered users.
    {/accesstext}

    Note: You can use the multiple user levels, separated with ":" (colon).

 

  1. FACL - to restrict visibility of text or images to one or more user groups based on Core Design File ACL plugin.

    {accesstext mode="facl" group="business"}
    Message to all users.||Message to users stored in business group.
    {/accesstext}

    Note: You can use the multiple groups separated with ":" (colon).