User Variables

From TMM Wiki
Jump to navigationJump to search
Templates Admin
Members Area Templates
Tour Templates
Member Favorites
Smarty Loops
Smarty Caching
Smarty print array
Base Templates
User Variables
Rating System

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:


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.