Jamroom Logo
Newsletter
Member Spotlight
429589
LocalBandz.Com
"After searching the internet for some time for a script that would let users on my site add content such as music, images and more through a management system using their own browser, I came across JamRoom. This program has everything I was looking for and more. From having total control over every users information, to integrating it with my existing site, it's a powerful program that is very easy to use with a lot of features. It has taken my site from being just a regular community CMS to a Music Community."
Follow Jamroom on Twitter!

{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 "number".  "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 rating 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 140 of 171 {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.