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

This document applies to Jamroom 2 only!
For current Jamroom 4 Documentation, visit the main Jamroom Documentation section.

The following variables are available for your use in the photo mode row templates:

Photo Mode Artist Variables

{$MODE} this is the mode it is currently running in (i.e. band, song, etc.)
{$BAND_ID} the numeric Jamroom ID of the band (i.e. “5”)
{$BAND_NAME} Name of the artist

Photo Mode Information Variables

Variable Description
{$PHOTO_COUNT The total number of photos displayed on the output.
{$PHOTO_RANK} The “rank” in the output the photo appears in the list.
{$PHOTO_ID} The photo_id of the photo
{$PHOTO_CREATED} The epoch time the photo was created.
{$PHOTO_DATE1} The time the photo was created formatted to $config[’date1’]
{$PHOTO_DATE2} The time the photo was created formatted to $config[’date2’]
{$PHOTO_DATE3} The time the photo was created formatted to $config[’date3’]
{$PHOTO_NAME} The name of the photo.
{$PHOTO_TYPE} The type of the photo (i.e. image/jpeg)
{$PHOTO_SIZE} The size (in bytes) of the photo.
{$PHOTO_EXTENSION} The file name extension of the photo (i.e. jpg)
{$PHOTO_TITLE} The title of the photo.
{$PHOTO_CREDITS} The credits for the photo.
{$PHOTO_CATEGORY} The category for the photo.
{$PHOTO_CAPTION} The caption for the photo.
{$PHOTO_IMAGE_URL} The URL to the image.php to render the photo.

Photo Mode Quota Variables

Variable Replacement Description
{$QUOTA_ID} The numerical Jamroom Quota ID of the quota the Artist Account belongs to.
{$QUOTA_NAME} The name of the Jamroom Quota the Artist Account belongs to.
{$QUOTA_DISK} The amount of disk space the Artist Account is allowed (number).
{$QUOTA_MAX} The number of song slots the Artist Account quota allows (set to 0 if Quota is limited by disk space).
{$QUOTA_MESSAGE} yes/no if the Artist Account is allowed to create messages.
{$QUOTA_SEARCH} yes/no if the Artist Account is allowed to be found in searches.
{$QUOTA_RADIO} yes/no if the Artist Account is allowed to have Radio Stations.
{$QUOTA_STORE} yes/no if the Artist Account is allowed to have a Jamroom Store.
{$QUOTA_RATE} yes/no if the Artist Account is allowed to have Songs and Artist ratings.
{$QUOTA_REMRATE} yes/no if the Artist Account is allowed to be rated by remote site.
{$QUOTA_CALENDAR} yes/no if the Artist Account is allowed to have an Artist Calendar.
{$QUOTA_COMMENTS} yes/no if the Artist Account has Artist/Song comments allowed in their Jamroom Quota.

Photo Mode Cluster Server Variables

Variable Replacement Description
{$SERVER_URL} URL to Jamroom Cluster Server the Artist Page is located on (This will be the same as {$JAMROOM_URL} unless you are running the Jamroom Cluster Server).
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