{jr_user_data}
The {jr_user_data} template function is used to display information about the viewing user.
Function Parameters
Name |
Type |
Required |
Default |
Description |
key |
string |
yes |
n/a |
The "key" tells Jamroom which piece of information you want to display - this value is the name of the database table column (i.e. user_nickname). |
value |
mixed |
no |
n/a |
If a "value" parameter is given, then Jamroom re-assigns the key with the new value. Warning! improperly setting of user keys using this function could result in user accounts not working properly in Jamroom! |
Example using {jr_user_data} function
{jr_user_data key="user_nickname"} |
|