Forum Activity for @chorton581

chorton581
@chorton581
01/05/14 02:15:00PM
139 posts

2 music tpl pages


Jamroom Help

this is a continuation to this post.
http://www.jamroom.net/the-jamroom-network/forum/design-and-skin-customization/3925/album-questions

If you look at www.versionist.net/music this is the normal .tpl file
if you look at www.versionist.net/music1 this is the .tpl with the code installed.
It does group by album. The issue is that the grouping only needs to apply to quota 4 which are labels.
on music1 it is taking away the second song an artist uploads as well.

So the below code is good but i think i need an extra if statement in there and that is where i am lost.
If quota id = 4 then only group and show the last song uploaded
if it is quota id 2 then show both songs.

This would then allow me to use brains module he created. I could limit artist uploads to 2 and label uploads to 12
And on the charts it would show 2 artist songs and 1 label song off the album they uploaded.


{if isset($_conf.jrProJam_require_images) && $_conf.jrProJam_require_images == 'on'}
                                    {if isset($_post.search_area) && $_post.search_area == 'audio_genre'}
                                        {jrCore_list module="jrAudio" order_by=$order_by search1="audio_genre like `$_post.search_string`" template="music_row.tpl" require_image="audio_image" pagebreak=$_conf.jrProJam_default_pagebreak page=$_post.p}
                                    {elseif !empty($_post._1)}
                                        {jrCore_list module="jrAudio" order_by=$order_by template="music_row.tpl" require_image="audio_image" search="audio_title like `$_post._1`%" pagebreak=$_conf.jrProJam_default_pagebreak page=$_post.p}
                                    {else}
                                        {jrCore_list module="jrAudio" order_by=$order_by group_by="audio_album" template="music_row.tpl" require_image="audio_image" pagebreak=$_conf.jrProJam_default_pagebreak page=$_post.p}
                                    {/if}
                                {else}
                                    {if isset($_post.search_area) && $_post.search_area == 'audio_genre'}
                                        {jrCore_list module="jrAudio" order_by=$order_by search1="audio_genre like `$_post.search_string`" template="music_row.tpl" pagebreak=$_conf.jrProJam_default_pagebreak page=$_post.p}
                                    {elseif !empty($_post._1)}
                                        {jrCore_list module="jrAudio" order_by=$order_by template="music_row.tpl" search="audio_title like `$_post._1`%" pagebreak=$_conf.jrProJam_default_pagebreak page=$_post.p}
                                    {else}
                                        {jrCore_list module="jrAudio" order_by=$order_by group_by="audio_album" template="music_row.tpl" pagebreak=$_conf.jrProJam_default_pagebreak page=$_post.p}
                                    {/if}
                                {/if}

chorton581
@chorton581
01/04/14 03:24:56PM
139 posts

2 music tpl pages


Jamroom Help

I would like to have 2 music.tpl pages in proJam
1. Will be for artists the other will be for labels.
2, I am working with artists=quota 2 and labels - quota 4

So each .tpl would be tied to a quota. Nothing seems to work. Here is the code i tried and it just don't seem to want to take.
{if isset($_conf.versionist_require_images) && $_conf.versionist_require_images == 'on'}
                                    {if isset($_post.search_area) && $_post.search_area == 'audio_genre'}
                                        {jrCore_list module="jrAudio" order_by=$order_by search1="audio_genre like `$_post.search_string`" search2="_profile_quota_id=4" template="music_row.tpl" require_image="audio_image" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
                                    {elseif !empty($_post._1)}
                                        {jrCore_list module="jrAudio" order_by=$order_by template="music_row.tpl" require_image="audio_image" search="audio_title like `$_post._1`%" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
                                    {else}
                                        {jrCore_list module="jrAudio" order_by=$order_by template="music_row.tpl" require_image="audio_image" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
                                    {/if}
                                {else}
                                    {if isset($_post.search_area) && $_post.search_area == 'audio_genre'}
                                        {jrCore_list module="jrAudio" order_by=$order_by search1="audio_genre like `$_post.search_string`" search2="_profile_quota_id=4" template="music_row.tpl" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
                                    {elseif !empty($_post._1)}
                                        {jrCore_list module="jrAudio" order_by=$order_by template="music_row.tpl" search="audio_title like `$_post._1`%" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
                                    {else}
                                        {jrCore_list module="jrAudio" order_by=$order_by template="music_row.tpl" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
                                    {/if}
                                {/if}

most recently i tried this search2=_profile_quota_id=4"

Any help would be great.
I will say hats off to brian for building the "profile upload limits" module, It works great.
updated by @chorton581: 01/08/14 07:09:57AM
chorton581
@chorton581
01/03/14 06:05:26AM
139 posts

Album Questions


Design and Skin Customization

Douglas,
Can the music.tpl just show quota id = 3 ?
I can always create music1.tpl and that shows quota id = 4 and apply the rule you sent me to that tpl file and make some new nav links..
Can the quota_id="4" string be added to jrAudio?
or do i need to add something else
chorton581
@chorton581
01/02/14 06:38:53AM
139 posts

Album Questions


Design and Skin Customization

after further review of this it is only putting one song on the music.tpl page
you can compare www.versionist.net/music
to www.versionist.net/music1

In reality i would want this to be 2. This should match a module brian is creating that would say quota x can upload 2 per day. So 2 show up on charts.
Quota x (labels) can upload 15 a day for their album but only 2 show up on charts.

The other issue is if they do not put in an album nothing shows up under current code your provided.
So i assume i would need to make album name required?
updated by @chorton581: 01/02/14 06:44:25AM
chorton581
@chorton581
01/01/14 08:03:55AM
139 posts

no help needed


Jamroom Help

I promise not to touch a thing today on my site.. LOL
Do not want to involve any jamroom staff on another holiday

Peace to you guys and i hope you have a very successful 2014.

Carl
updated by @chorton581: 01/07/14 09:15:01AM
chorton581
@chorton581
12/31/13 12:43:12PM
139 posts

Songs are not showing on audio page


Jamroom Help

brian:
Root cause of this is that you had 2 files:



-rw-rw-r-- 1 versionist versionist     0 Dec 27 22:36 header1.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 28 23:33 vpanel1.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 04:44 vpanel2.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 featured_artist.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 genre.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 house_radio.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 left_ad_block.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 right_ad_block.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 right_ad_top.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 side_left.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:55 side_right.tpl
-rw-rw-r-- 1 versionist versionist     0 Dec 29 13:56 stats1.tpl



These were all just created empty then uploaded and code added once they were on site. They all work as planned though. I guess in a backup though they would be empty. I guess it would be better to add the code on my pc then upload them and over ride as needed. I can fix that.
updated by @chorton581: 12/31/13 12:44:48PM
chorton581
@chorton581
12/31/13 12:05:31PM
139 posts

Songs are not showing on audio page


Jamroom Help

But thanks for the fix and help.
sorry to be a bother.
chorton581
@chorton581
12/31/13 12:01:57PM
139 posts

Songs are not showing on audio page


Jamroom Help

They were going to be used to override the download button.
This is still an ongoing issue that i have not been able to resolve.

artist puts price in great..foxy cart takes over
artist just wants to allow downloads by keeping the check in the check box fine.
artist uncheck download box and it still allows them to download.

So i was going to use those overrides to create new details per douglas email string.

updated by @chorton581: 12/31/13 12:04:42PM
chorton581
@chorton581
12/31/13 10:32:02AM
139 posts

Songs are not showing on audio page


Jamroom Help

yes they been showing all along. No i did not do anything to the site.
chorton581
@chorton581
12/31/13 10:05:54AM
139 posts

Songs are not showing on audio page


Jamroom Help

for some reason they just stopped show up
http://versionist.net/ras-daniel/audio

should have 4 songs. I have not made modifications to anything in past few days. Looks like a new issue as of this am.
updated by @chorton581: 01/03/14 06:58:45AM
  9