Forum Activity for @chorton581

chorton581
@chorton581
01/08/14 04:55:23AM
139 posts

2 music tpl pages


Jamroom Help

i will work on the screenshot but in the mean time
database give me a list of songs to display on the music.tpl from last songs upload to current song uploaded.
The uploaded today function does not matter for artist since i have a mod that says artist you can only upload 2 today
Database i also want mixed in there the songs from labels but only display the last one because this is an album from the label group.

I have both parts working but just not on the same tPL
chorton581
@chorton581
01/06/14 10:18:37AM
139 posts

2 music tpl pages


Jamroom Help

i have no issue paying for someones time to do this either.
chorton581
@chorton581
01/06/14 10:10:25AM
139 posts

2 music tpl pages


Jamroom Help

douglas:
2 artist then a label then 2 artists etc... They can be on the same page, just not in the same list.

does not need to be in that order.
same page yes
chorton581
@chorton581
01/06/14 10:06:24AM
139 posts

2 music tpl pages


Jamroom Help

i will try to be as clear as possible.
1. 1 music.tpl file
2. Brian created a module that i can set artist 2 uploads per day and labels 12 uploads per day.
3. The labels load up 12 files to music.tpl and everyone moans and groans.
4. Douglas provided me with code that groups by album. works great if i can apply that to a quota which i got to work by this statement.
{else}
                                        {jrCore_list module="jrAudio" search1="profile_quota_id = 4" order_by=$order_by group_by="audio_album" order_by=$order_by template="music_row.tpl" require_image="audio_image" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
                                    {/if}
The code above shows last song of the 12 from the label quota. Great.

So i got it to work to group by album for quota 4. It just posts last song of 12 to music.tpl see http://www.versionist.net/music1
This is douglas code group by album. those are full albums but just last song upload showing.

What i need is another statement in there that says quota 2 does not need to be grouped by album

The order on the music.tpl is still newest to oldest
It could be
artist song1
label 1 song even though they uploaded 12
different label 1 song even though they uploaded 12
artist song 1
artist song 2
different artist song 1

etc
Order is just whoever uploads in order.
I am trying to suppress the labels from filling up music.tpl

i tried adding this and it returns blank page
search2="profile_quota_id = 2" group_by=$group_by order_by=$order_by
updated by @chorton581: 01/06/14 10:08:01AM
chorton581
@chorton581
01/06/14 09:14:46AM
139 posts

2 music tpl pages


Jamroom Help

ok so custom it is.
Who would do that, can they send me a cost and a timeline of completion?
chorton581
@chorton581
01/05/14 08:01:00PM
139 posts

2 music tpl pages


Jamroom Help

something like this
{else}
                                        {jrCore_list module="jrAudio" search1="profile_quota_id = 4" 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}

and else if {this is the part i am unsure of)

{else}
                                        {jrCore_list module="jrAudio" search1="profile_quota_id = 2" order_by=$order_by  template="music_row.tpl" require_image="audio_image" pagebreak=$_conf.jrProJam_default_pagebreak page=$_post.p}
                                    {/if}

i do not want to group_by profile quota 2
And it really should all be on 1 music.tpl

I guess the heading to my post is a bit off
i can create music.tpl that just shows quota 2 and another music fps that just shows quota 4
i want to blend them into one
updated by @chorton581: 01/05/14 08:02:50PM
chorton581
@chorton581
01/05/14 07:57:44PM
139 posts

2 music tpl pages


Jamroom Help

while that is a good idea it is not what i am trying to accomplish.
i would like the wrist and the label to blend in one music.tpl
artists get 2 songs per day and it shows 2 songs per day.
labels can upload 12 songs a day but it only shows 1 on the same music.tpl
so on music.tpl
artist song 1
artist song 2
label song 1 even though they upload 12 for the day.
This is to work along with the module brain created that allows me to set # of uploads based on quota.


I really need to know how to do a second smarty call
chorton581
@chorton581
01/05/14 06:18:33PM
139 posts

2 music tpl pages


Jamroom Help

i pretty much need to get this one last part figured out and i should be good for awhile

thanks for any help
chorton581
@chorton581
01/05/14 06:15:58PM
139 posts

2 music tpl pages


Jamroom Help

i was able to get 1 quota on www.versionist.net/music1 using the code below
i tried to get a second quota on there too but could not get it to work.
I need to add quota 2 but not grouped by album.
It will not let me just stick another else if statement in there.

{else}
                                        {jrCore_list module="jrAudio" search1="profile_quota_id = 4" 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}

updated by @chorton581: 01/05/14 06:17:04PM
  8