Jamroom Logo
Newsletter
Member Spotlight
416214
The Talent Farm
"TheTalentFarm is South Florida's newest and coolest recording studio/venue! We encourage artists of all genres to showcase their skills at any of our live shows, most of which are broadcast over the Internet. The selection process is sometimes painstaking. But thanks to Jamroom, all candidates can submit their bios, songs, EPK's even videos without effort, making it really easy for the staff to evaluate an artist and place them on the correct type of show. As the site grows and takes on its own personality, I remain confident that Jamroom will be able to keep up. The program is excellent, and the support is even better. Jamroom does everything I need, and does it well!"
Follow Jamroom on Twitter!

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

{jr_ranking} Index {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} page 169 of 185 {jr_rating_form}
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.