solved Charts Help

Dazed
Dazed
@dazed
7 years ago
1,022 posts
I did a hybrid of ProJam and Audio Pro and I think I messed up on the ProJam Chart somewhere. I am thinking that it is not updating so it has displayed the same charts for a few weeks.

There are no errors on the page and I checked the skinName.js and did not see any reference to charts that I may be missing.

Any suggestions to look at?

updated by @dazed: 04/14/17 10:24:28PM
paul
@paul
7 years ago
4,326 posts
Obvious first questions - Is the jrChart module enabled and configured, and is it enabled for the required quotas? Then clear your caches.
Are you certain that the tracks charted are being played sufficiently so as to change the charts? Remember that they need to be played by different users for their counts to increment.
Maybe then post your template code.
hth


--
Paul Asher - JR Developer and System Import Specialist
Dazed
Dazed
@dazed
7 years ago
1,022 posts
Paul all of these are still set from my original core settings. I just changed skins which should not change the module settings. My default audio pro charts are working also.

I looked at it last night and I would think it would be missing js. It really should pause and throw a spinner when it loads and it does not. https://www.mixposure.com/music_charts
gary.moncrieff
gary.moncrieff
@garymoncrieff
7 years ago
865 posts
I get an error occurred while load media on that page and others on your site. I have seen strange issues when switching between skins before on my site and could never see why it was occurring when all changes made are contained to my skin, and with cache off, switching skins should disable all the changes I had made. Just put it down to one of those things!
brian
@brian
7 years ago
10,148 posts
All the play numbers are in the correct order, which makes it look like it is working correctly from here...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
Hey Brian. There are the default audio pro charts and the pro jam charts on there. They do not align. Then I also noticed that the genre search is not correct on the side panel. Should show 200 a-z and it is all over the place.
brian
@brian
7 years ago
10,148 posts
Am I looking at the right page? https://www.mixposure.com/music_charts

Not seeing an A-Z selector, and not sure what you mean by "they do not align". Let men know.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
Brian - You can select the genre in the left side menu Genres. That is a drop down menu to select charts by genre.

As for alignment there are the default charts from Audio Pro - https://www.mixposure.com/mixcharts
then the ProJam charts I added for more depth - https://www.mixposure.com/music_charts

If you compare 30 day chart on both, the songs are not the same.
brian
@brian
7 years ago
10,148 posts
I can see the play counts are not ordered correctly in the Audio Pro chart - I'm not sure why that is. Have you confirmed the jrCore_list calls are identical?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
This is all default as far as the calls are concerned for both.
brian
@brian
7 years ago
10,148 posts
Dazed:
This is all default as far as the calls are concerned for both.

Then that means they are likely different, so are not going to line up. I'll check it out and let you know.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
7 years ago
10,148 posts
Looking in the mixcharts.tpl file, I can see that there is a jrSeamless call - Seamless does not work with charts. There is no "mixcharts.tpl" file in Audio Pro, so I am guessing you added that in?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
Yeah I copied them from the index and added it to a separate page as well as the index. That is a copy and paste from the index page chart.

looking at the code there is a slight diffence
{jrCore_list module="jrAudio" chart_field="audio_file_stream_count" search=$s2 chart_days=$_conf.MixAP_chart_days limit="17" template="index_chart_item.tpl"}

and ProJam
 {jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_days="7" quota_id=$_conf.MixAP_artist_quota template="music_chart_row.tpl" require_image="audio_image" pagebreak=$_conf.MixAP_default_pagebreak page=$_post.p}

updated by @dazed: 01/13/17 01:06:33PM
brian
@brian
7 years ago
10,148 posts
Let's do it this way - which one do you WANT to use - I'll make sure it is right :)


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
LOL it does not matter. Pick which ever is easiest.
brian
@brian
7 years ago
10,148 posts
Dazed:
LOL it does not matter. Pick which ever is easiest.

It's your site - which one has the URL you want?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
The music_charts will be used most. The other charts are part of audio pro and people like them on the index page so I was hoping to keep them in sync.
brian
@brian
7 years ago
10,148 posts
Sure they can be kept in sync - they just have to use the same parameters to jrCore_list, then you get the exact same listing.

I will check out the music_charts.tpl and make sure it is setup - you can then use that wherever needed.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
Appreciate it Brian.
brian
@brian
7 years ago
10,148 posts
This chart should be correct:

https://www.mixposure.com/music_charts

The reason the Audio Pro chart does not line up is that it is using Seamless when it should be using jrCore_list - Nate's already working on a fix :)

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
Thanks Brian. Looking at 30 day vs 30 day comparing the two they do not match. I can't recall where the reset was on counts but maybe that is it?
brian
@brian
7 years ago
10,148 posts
What is the URL to the charts you're comparing them to, and you verified the jrCore_list calls are identical?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
ahh I thought you fixed it lol. ok will check it out.
brian
@brian
7 years ago
10,148 posts
Dazed:
ahh I thought you fixed it lol. ok will check it out.

Ah sorry - I didn't know the other URL - only the music_charts.tpl.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
7 years ago
1,022 posts
ok I think I have it now and I figured out the genre issues also I think.

Appreciate the help.