Jamroom Logo   Get Jamroom now for as low as !
The Powerful Social Media Platform
free download!
key features
key features
Newsletter
E-mail Address:

Spotlight
Digirockers
242348 "Jamroom was a no-brainer for us. It's by far the most cost-effective and matured program that is available for a music site. Setup was easy, and we had the site up and running in no time. Our artists love the useful features Jamroom offers, and it is so easy to administer that you can spend time promoting the site instead of wasting time keeping it up and running. If you are thinking about building a music community, there is simply no alternative to Jamroom."
{jr_ranking} {jr_ranking} Index {jr_rating_form} {jr_rating_form}
 

{jr_rating}


{jr_rating} is used for embedding a Jamroom Rating System call into a Jamroom template.

Parameters:

Name Type Required Default Description
mode string no "average" The "mode" parameter tells Jamroom what type of rating number you want to return - it can be either "average" or "rating".  "average" will give you the rating average, while "rating" will give you the number of times the item has been rated.
band_id number yes n/a The band_id parameter is required to get the proper ratnig or average for the artist/member.
type string no "band" The "type" parameter tells Jamroom what "type" of rating you want - the default is "band" for an artist rating.  Valid values are:  song, video, photo, event, item, radio, blog and band.
media_id integer no n/a If you want to return the rating for an individual item, you need to pass in the "id" of the item as the media_id.  This would include the song_id, video_id, event_id, etc.
assign string no n/a optional "assign" parameter - if given, the output of the function will be assigned to a template variable of the same name.

 

Example:

embedded {jr_rating} function call in a Profile Template:

{jr_rating mode="average" type="band" band_id=$BAND_ID}

 

{jr_ranking} {jr_ranking} page 168 of 184 {jr_rating_form} {jr_rating_form}
Home | Download | Support | Demo | Members | Purchase | Marketplace | Contact | Privacy
©2003 - 2008 Talldude Networks, LLC.