User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

{DisplayToUser users="list" visibility="boolean"} content {/DisplayToUser}

Just shows the content in the tag to a user.


Params for DisplayToUser:

users (required): A comma separated list with the user ID's to whom the content should be displayed.

Default: none

visibility: If set to "false", it inverts the users attribute. Then the users attribute is specifying to whom the content should NOT be displayed.

Default: true

How to use it:

{DisplayToUser users="1, 2, 3"}
This can see only registered people with the given user Id's.
{/DisplayToUser}

{DisplayToUser visibility="false" users="1"}
This CAN'T see the user but all other.
{/DisplayToUser}


Example:

This CAN'T see the user with the Id 1 but all other.




Available for: