{jr_user_check}
The {jr_user_check} template function is used to "check" a User Field, and only show the blocked data if the field matches.
Function Parameters
Name |
Type |
Required |
Default |
Description |
key |
string |
yes |
n/a |
The "key" tells Jamroom which piece of information you want to check - this value is the name of the database table column (i.e. user_nickname). |
value |
mixed |
yes |
n/a |
The "value" parameter tells Jamroom what the value of the key must be. |
Example using {jr_user_check} function
{jr_user_check key="user_id" value="5"}
.... Only user_id 5 would be able to see this ....
{/jr_user_check}
|
|