Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

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

{jr_theme_comment} Index {jr_theme_downloads}

{jr_theme_counts}


{jr_theme_counts} is used to retrieve "counts" of items from your Jamroom, and embed them into a Profile Theme.  This is a convenient way to show stats for a specific Artist/Member Profile directly on their Artist/Member Profile page.

Note: {jr_theme_counts} is a deprecated function, and should no longer be used in Jamroom 3.1 and newer.  The {jr_counts} template function can perform the same functions as the {jr_theme_counts} template function, but with better support.  This page has been left here for reference purposes only.

Parameters:

Name Type Required Default Description
type string yes n/a The "type" tells the function what type of count to show
band_id integer no n/a You can enter the band_id to return only the counts associated with a specific Artist/Member Profile
formatted boolean no 0 1 - format number in grouped thousands
0 - no formatting of number
assign string no n/a If the optional assign parameter is given, then the output will be assigned to the given template variable instead.

 

Example:

Using {jr_theme_counts} template function to retrieve the number of Downloads for a specific Artist Profile

{jr_theme_counts type="downloads" band_id=$BAND_ID formatted="1"}


Valid {jr_theme_counts} Types:


Type Description
plays_today The number of Audio Streams + Downloads for the current day. 1) 3)
streams_today The number of Audio Streams for the current day. 1) 3)
downloads_today The number of Audio Downloads for the current day. 1) 3)
spotlights_today The number of Audio Spotlights for the current day. 1) 3)
plays The TOTAL number of Audio Streams + Downloads for all days. 1) 3)
streams The TOTAL number of Audio Streams for all days. 1) 3)
downloads The TOTAL number of Audio Downloads for all days. 1) 3)
spotlights The TOTAL number of Audio Spotlights for all days. 1) 3)
total_accounts The total number of Artist + Member Profiles. 2)
artist_accounts The total number of Artist Profiles. 2)
member_accounts The total number of Member Profiles. 2)
fans the total number of Fans. 1)
viewers Number of users currently viewing Artist and Member Profiles
listeners Number of users currently listening to Audio Streams
disk_space Total amount of disk space used by your Artist and Member Profiles. 1)
ratings Total number of Ratings. 1)
rating_users Total number of different Users that have provided Ratings. 1)
radio_plays Total number of Radio Plays. 1) 4)
radio_songs Number of songs in a given Radio Station (requires radio_id parameter). 4)
video_plays The number of Video Streams + Downloads for the current day. 1) 5)
video_streams The number of Video Streams for the current day. 1) 5)
video_downloads The number of Video Downloads for the current day. 1) 5)
total_video_plays The number of Video Streams + Downloads for all days. 1) 5)
total_video_streams The number of Video Streams for all days. 1) 5)
total_video_downloads The number of Video Downloads for all days. 1) 5)
page_views The number of Page Views for all days. 1)
videos Number of Videos. 1)
songs Number of Songs. 1)
users Number of User Accounts
artists_online Number of Artist User Accounts currently online
members_online Number of Member User Accounts currently online
visitors_online Number of Visitors currently online
total_online Number of Artists + Members + Visitors currently online
radio Number of Radio Stations. 1)
photos Number of gallery photos. 1)
genres Number of Audio Genres
items Number of Store Items. 1)
events Number of Calendar Events. 1)
messages Number of Blog Entries. 1)
notes Number of Private Notes. 6)
comments Number of Comments. 1) 6)
guestbooks Number of Guestbook entries. 1)
quotas Number of Jamroom Quotas
favorites The number of User Favorites. 3) 6)
servers Number of Jamroom Cluster Servers
subscribers Number of Profiles subscribed to a Jamroom Subscription. 2)
vault_items The number of vault_items in Jamroom 1)
vault_sales The number of sold Vault Items 1)
vault_gross The Gross Sales for the Jamroom Vault
vault_fees The Total amount of transaction Fees paid for the Jamroom Vault
vault_profit The Total profit from the Jamroom Vault


1) Supports "band_id" parameter
2) Supports "quota" parameter
3) Supports "song_id" parameter
4) Supports "radio_id" parameter
5) Supports "video_id" parameter
6) Supports "user_id" parameter


{jr_theme_comment} page 101 of 185 {jr_theme_downloads}
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network