Jamroom Logo   Try the Demo! Jamroom Demo
Buy Now! Buy Now
free download! free
download!
key features key
features
key features view
screenshots
Newsletter
E-mail Address:

Member Spotlight
Free Online Music
204877 "Free Online Music started out as a basic site for our band. I was looking at various ways to be able to promote our music, then I found Jamroom. It was more than I could have imagined, the site was so easy to configure and use. It has since, with great support from Jamroom and the forums, grown into an exciting site offering much to unsigned bands and artists. It was exactly what we needed. As Jamroom developed, with fantastic support, so did the sites using it. Take a look at Free Online Music, it`s proof that Jamroom really does do what it says on the box."
Jamroom Ranking System Jamroom Ranking System Index Jamroom Ranking System - Common Artist Variables Jamroom Ranking System - Common Artist Variables
 

Jamroom Ranking System - Common Template Variables

The following Template Variables can be used in any template (header, row or footer) that is part of the Jamroom Ranking System:

VARIABLE DESCRIPTION
{$JAMROOM_DIR} The path on your server to your Jamroom Directory.
{$JAMROOM_URL} The full URL to your Jamroom (i.e. http://yoursite.com/jamroom). Note that there is no trailing slash.
{$RANK_MODE} The "mode" parameter given to the Jamroom Ranking System (i.e. "band", "song", etc.)
{$RANK_ORDER} The "order" parameter given to the Jamroom Ranking System (i.e. "5")
{$PAGEBREAK} If a "pagebreak" parameter is given, this will be the number of returned rows per per page.
{$PAGENUM} In a multi-page result set, this will be set to the current page number.
{$TOTAL_PAGES} The total number of pages in a result set.
{$_PAGES} A numerically keyed array of each page number in the result set - this can be used in a template {foreach} loop if you need to do processing on a per-page basis.
{$NEXT_PAGE_NUM} In a multi-page result set, this will be set to the page number for the next page in the result set.  This value will be empty if you are on the last page of a result set.
{$PREV_PAGE_NUM} In a multi-page result set, this will be set to the page number for the previous page in the result set.  This value will be empty if you are on the first page of a result set.
{$NEXT_PAGE_URL} This variable will contain the URL used in the "next page" link to generate the next page in a result set.  This value will be empty on the last page of a result.
{$PREV_PAGE_URL} This variable will contain the URL used in the "previous page" link to generate the previous page in a result set.  This value will be empty on the first page of a result set.
{$RANK_COUNT} The total number of results in the result set.
{$SKIN_DIR} The full path to the currently Active Jamroom Skin directory
{$SKIN_URL} The full URL to the currently Active Jamroom Skin directory - i.e. http://yoursite.com/jamroom/skins/Cobalt3
{$system_name} The name of your Jamroom System as entered in the Jamroom Config -> System Settings section.
{$page_next}  The "Next Page" text string as entered into the Jamroom Config -> Chart and Rank Settings.
{$page_prev}  The "Previous Page" text string as entered into the Jamroom Config -> Chart and Rank Settings.
{$ip_address}  The IP Address of the user viewing the Ranking System output
{$epoch_time}  The time the Ranking System generated the output, shown as the 11 digit "epoch" time (use with a jr_date_format variable modifier to display formatted date).
{$google_analytics_id}  The value of the Google Analytics ID as entered in the Jamroom Config -> System Settings section.
{$index_template}  The name of the Active Jamroom Skin - i.e. "Cobalt3".

 

Tip: ALL of the columns that are available in the jamroom_settings and jamroom_signup tables are also "exported" into the templates for your use.
Jamroom Ranking System Jamroom Ranking System page 56 of 183 Jamroom Ranking System - Common Artist Variables Jamroom Ranking System - Common Artist Variables
Home | Download | Support | Demo | Members | Purchase | Marketplace | Contact | Privacy
Jamroom.net 4.0 | ©2003 - 2008 Talldude Networks, LLC. | Powered by TDSDK