Charts not updating

music412
@music412
10 years ago
36 posts
Hi guys

I realised my charts are not updating. Is there some setting that I have missed out?

http://music412.com/song_chart
updated by @music412: 09/09/14 06:46:06PM
brian
@brian
10 years ago
10,148 posts
I'm not aware of any issues with the charts - how do you know they are not updating?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
music412
@music412
10 years ago
36 posts
Hi Brian

Good question! How do I know if the charts are updating?

I tried clicking on the Weekly,Monthly and Yearly but the result looks the same. Is there something that I should look out for?
michael
@michael
10 years ago
7,714 posts
SteveX had some good tips in the comments of the jrCharts docs page:

"jrCharts"
https://www.jamroom.net/the-jamroom-network/documentation/modules/274/jrcharts

Quote: If you want to get a sense of how charts are working over time, add this to your song_chart_row.tpl
chart_count: {$item.chart_count}
chart_position: {$item.chart_position}
chart_new_entry: {$item.chart_new_entry}
chart_change: {$item.chart_change}
chart_direction: {$item.chart_direction}
music412
@music412
10 years ago
36 posts
Hi Michael

Thanks for the reply.

Could you let me know where do I add this in the song_chart_row.tpl ?

Do I add these additional code to the top of the original code already there?
douglas
@douglas
10 years ago
2,790 posts
Those variables are already in the song_chart_row.tpl file.

I'm not 100% sure, but you may have to wait the amount of days set in the chart_days parameter in the jrCore_list function before entries start to move.

You could change change that parameter in your skins/jrNova/song_chart.tpl and skins/jrNova/song_chart_weekly.tpl files to 1 and see if that makes a difference. At least that would let you know that it is working.

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
music412
@music412
10 years ago
36 posts
When I go to http://music412.com/song_chart , there are no chart movement. But when I click onto the second page, all listings are accompanied with chart movements.
brian
@brian
10 years ago
10,148 posts
I'm going to guess those top ten are just in that order - there;s pretty good space between most of them as far as plays go, so they are not going to "move" unless one of them actually overtakes another.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
music412
@music412
10 years ago
36 posts
So how can I display a "TOP 10" weekly chart? This should show the 10 most played tracks.
douglas
@douglas
10 years ago
2,790 posts
You can use the jrCore_list function to get a top 10 list of the most played tracks.

Something like this should get you started:

{jrCore_list module="jrAudio" order_by="audio_file_stream_count numerical_desc" search1="profile_active = 1" pagebreak="6" page=$_post.p}

https://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

Hope this helps,
Douglas


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
music412
@music412
10 years ago
36 posts
Hi Douglas

Do you mean I should add this code to song_chart.tpl?

{if isset($_conf.jrNova_require_images) && $_conf.jrNova_require_images == 'on'}
{jrCore_list module="jrAudio" order_by="audio_file_stream_count numerical_desc" search1="profile_active = 1" chart_field="audio_file_stream_count" chart_days="7" template="song_chart_row.tpl" require_image="audio_image" pagebreak="10" page=$_post.p}
{else}
{jrCore_list module="jrAudio" order_by="audio_file_stream_count numerical_desc" search1="profile_active = 1" chart_field="audio_file_stream_count" chart_days="7" template="song_chart_row.tpl" pagebreak="10" page=$_post.p}
{/if}
douglas
@douglas
10 years ago
2,790 posts
No sorry, I thought you wanted to create a separate list of top 10 most played songs.

The Audio Chart page for Nova is already setup to show the top 10 most played songs for the week on the first page.

Is that not what your seeing?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
music412
@music412
10 years ago
36 posts
Hi Doglas

Apparently, this is not what's happening. The songs in the first page doesn't seem to change.
brian
@brian
10 years ago
10,148 posts
They are not going to change, as there is quite a number of plays difference between them, and unless you have a bunch of users playing each track, you're not going to see any movement if it is just you playing them (as you will only record 1 play per day).


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
music412
@music412
10 years ago
36 posts
douglas:The Audio Chart page for Nova is already setup to show the top 10 most played songs for the week on the first page.

Is that not what your seeing?


Clicking on the Weekly/Monthly/Yearly shows the same result. This is what confuses me.
douglas
@douglas
10 years ago
2,790 posts
Has it been more than 7 days since the charts have been live?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
music412
@music412
10 years ago
36 posts
The Charts have been running ever since started the site (more than 2 years).
michael
@michael
10 years ago
7,714 posts
Make sure all your settings in the 'Advanced Charts' modules are setup:
yoursite.com/charts/admin/quota

so that all the users are are allowed to be included in the charting system.

Also that the charting history is long enough. By default it is 60 days.

"Advanced Charts"
https://www.jamroom.net/the-jamroom-network/networkmarket/23/advanced-charts
brian
@brian
10 years ago
10,148 posts
music412:
The Charts have been running ever since started the site (more than 2 years).

Jamroom 5 has not been out that long - did you update from JR4?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
music412
@music412
10 years ago
36 posts
brian:did you update from JR4?

Yes! Paul Asher helped me to upgrade from JR4.

Tags