MediaPost Social Network

Up:if-is-user

Only renders the content inside the tag if the viewer is one of the specified user(s)

Attributes

  • Required
    • int uid - The uid of the user that is allowed to see the content. To match multiple users, pass in a comma-delimited list of uids.

Sample code

<up:if-is-user uid="uid1,uid2">This is secret 4 u 2!</up:if-is-user>

Notes

  • Can be used in conjunction with up:else