Jamroom Logo
Newsletter
Member Spotlight
301915
Wav-Etrain.com
"Jamroom has made easy work of setting up a music-oriented website. After working on some internet music collaborations, I wanted to find an easier way of managing files/correspondence messages. I searched for websites offering such services and found none. So I decided to create one. Jamroom was the first all-in-one package I found. It's extremely flexible, easily editable (I particularly like the built in template editor), and a breeze to manage. Thank you for a wonderful product!"
Follow Jamroom on Twitter!

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

Profile Variables - Photo Templates Index Profile Variables - Song Templates

Radio Information Variables

Variable Replacement Description
{$RADIO_COUNT} The number of Radio Stations this artist has
{$RADIO_ID} The Jamroom Radio ID number (i.e. 35)
{$RADIO_COUNT} The total number of Radio Stations for this artist
{$RADIO_DATE1} the date the station was created formatted to $config[date1]
{$RADIO_DATE2} the date the station was created formatted to $config[date2]
{$RADIO_DATE3} the date the station was created formatted to $config[date3]
{$RADIO_NAME} the name of the Radio Station
{$RADIO_DESCRIPTION} The description of the Radio Station
{$RADIO_TYPE} The type of song files this Radio Station uses (i.e. mp3, wma)
{$RADIO_MODE} The mode (hifi or lofi) of this radio station
{$RADIO_LIMIT} The maximum number of songs this station has
{$RADIO_RANDOM} yes/no if this Station is randomized by Jamroom.
{$RADIO_REPEAT} yes/no if this Station is set to repeat by Jamroom.
{$RADIO_PLAY_LINK} URL to play this station.
{$RADIO_PLAYCOUNT} URL to counter.php script to display number of plays for this station.
{$RADIO_IMAGE} link to show this Radio Station’s image via image.php, i.e:

http://server/jamroom/image.php?band_id=1&radio_id=1&mode=radio_image

{$RADIO_IMAGE_GD} link for getting Radio Station image, and having it resized via Jamroom’s built-in GD functions 1), i.e:

image.php?band_id=1&radio_id=1&mode=radio_image&width=xxx&height=xxx

{$RADIO_IMAGE_NAME} the name of the image file (i.e. image_name1.jpg)
{$RADIO_IMAGE_TYPE} the image mime type (i.e. image/jpeg)
{$RADIO_IMAGE_SIZE} size in bytes of the image
{$RADIO_IMAGE_EXTENSION} the image extension (i.e. jpg)

Radio Output File Name Variables

Variable Replacement Description
{$RADIO_ID} The Jamroom Radio ID number (i.e. 35)
{$RADIO_TYPE} The type of song files this Radio Station uses (i.e. mp3, wma)
{$RADIO_MODE} The mode (hifi or lofi) of this radio station

1) Note that this will allow the image to be “cached” so subsequent requests for the image will be much faster

Profile Variables - Photo Templates page 92 of 185 Profile Variables - Song Templates
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.