How can i exclude songs from jr_charts

Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
11 years ago
224 posts
Hi folks.

i have JR 4

What i want:
When there is a song not ready or a demoversion or a preview,
the artist should choose not to have his song in the charts.

How can i exclude songs from Charts, when they are checked on upload with a custom formfield checkbox:
"song_no_charts"?
exclude_area does not work.

Paul told me there is a way, but not which way ^^

Thanks for your help
Greetings, Marco
updated by @bandwerkstatt: 12/29/14 09:14:37AM
brian
@brian
11 years ago
10,148 posts
Paul do you remember the way you figured out to do this?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
paul
@paul
11 years ago
4,326 posts
I was thinking of just including search parameters but on checking the docs, they don't seem to be available in the {jr_chart . . .} smarty call.
Can you not utilise the 'Hide Song' checkbox?


--
Paul Asher - JR Developer and System Import Specialist
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
11 years ago
224 posts
but if i check Hide Song, i hide it from all !?!
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
11 years ago
224 posts
Paul???
paul
@paul
11 years ago
4,326 posts
Yes???

I think there needs to be something custom to do this. Maybe an alternative chart module/scripts.


--
Paul Asher - JR Developer and System Import Specialist
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
11 years ago
224 posts
paul:
Yes???

I think there needs to be something custom to do this. Maybe an alternative chart module/scripts.

Many thanx for your hard time and help!
Yes, i think so. My question to you, is it possible for you?
paul
@paul
11 years ago
4,326 posts
With so much JR5 work, I've almost forgot how JR4 works!! But from memory, this might just be a case of copying the charts scripts to something else, and then editing the queries in it to take account of the custom 'hide_song' checkbox, then altering all your templates to call the new chart script instead of the original.
Sounds straightforward when you say it quick, but there may be other issues and implications.
Problem is that I'm away from next week until end of January. I'll still be online be not available for any serious custom work, so could take a look when I'm back, assuming I've not completely forgot all about JR4 by then ;-)


--
Paul Asher - JR Developer and System Import Specialist

Tags