Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

{jr_url} Index {jr_user_data}

{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}

 


{jr_url} page 148 of 171 {jr_user_data}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network