Difference between revisions of "User Variables"
From TMM Wiki
Jump to navigationJump to searchm |
TMMStephenY (talk | contribs) |
||
Line 3: | Line 3: | ||
}} | }} | ||
− | CARMA user variables | + | [[CARMA]] allows the usage of custom user variables. This allows you to add variables to the current [[Ct#Member|member's]] profile, allowing you to store details for use in templates later on. |
− | |||
− | |||
− | + | To create a user variable, simply have a [[Ct#Member|member]] load a URL that contains the following code at the end: | |
− | + | <pre>uvar[variable]=value</pre> | |
− | + | Replace ''variable'' in the above example with your chosen variable's name, and ''value'' in the above example with your chosen variable's value. | |
− | variables to store the [[Member|member's]] thumbnail and picture size | + | |
− | preferences. | + | [[CARMA]] can use stored user variables in a variety of areas. For example, the default View Gallery (''show_gal'') and View Picture (''view_pic'') templates can use custom user variables to store the [[Ct#Member|member's]] thumbnail and picture size preferences. |
Latest revision as of 14:58, 1 October 2010
CARMA allows the usage of custom user variables. This allows you to add variables to the current member's profile, allowing you to store details for use in templates later on.
To create a user variable, simply have a member load a URL that contains the following code at the end:
uvar[variable]=value
Replace variable in the above example with your chosen variable's name, and value in the above example with your chosen variable's value.
CARMA can use stored user variables in a variety of areas. For example, the default View Gallery (show_gal) and View Picture (view_pic) templates can use custom user variables to store the member's thumbnail and picture size preferences.