fm:GetUserMetaByKey


This component will return to you the value of a given user meta data key.

Example 1: Addition

xxx displays the answer: 7

<fm:GetUserMetaByKey key="eyecolor" uid="12356" > {$metavalue} </fm:GetUserMetaByKey>

NOTE:
The paramater key is required.
If uid is provided the data returned will be from that user, otherwise it will default to the currently logged in user.e

Supported attributes

NameRequiredDefaultDescription
keyRequiredN/AMeta data key, that you would like to get the value of
metavalueOptional0The value of the key provided
uidOptionalN/AID of the user you would like to retrieve the data for, logged in user is used if not provided

Template variables

This component defines no template variables.

This component does not output variables, just numbers.