Forum Activity for @douglas

douglas
@douglas
12/11/16 03:35:31AM
2,812 posts

Media Pro - Putting the latest uploaded songs on the front page


Design and Skin Customization

brianrudie:
In Media Pro
How do I Put the latest releases / newley uploaded songs on the front page instead of top singles?
so that returning visitors can see the latest tunes / new releases

If you want to change the "Top Singles" into "Newest Singles" modify your index_top_singles.tpl file and change the entire code to this:

{if isset($_conf.jrMediaPro_require_images) && $_conf.jrMediaPro_require_images == 'on'}
    {jrCore_list module="jrAudio" order_by="_item_id numerical_desc" quota_id=$_conf.jrMediaPro_artist_quota search1="profile_active = 1" template="index_top_singles_rating_row.tpl" require_image="audio_image" pagebreak="6" page=$_post.p}
{else}
    {jrCore_list module="jrAudio" order_by="_item_id numerical_desc" search1="profile_active = 1" quota_id=$_conf.jrMediaPro_artist_quota template="index_top_singles_rating_row.tpl" pagebreak="6" page=$_post.p}
{/if}

If you are using a cloned skin, which you really should be if your going to make modifications to the skin like you are, then be sure to change all instances of jrMediaPro to your skin directory name.

Hope this helps!
douglas
@douglas
12/11/16 03:26:47AM
2,812 posts

User Birthday Display


Using Jamroom

Glad it worked out, thanks! :)
douglas
@douglas
12/10/16 05:17:28AM
2,812 posts

Jquery or ?


Design and Skin Customization

You'll need the jrLoad function from the jrProJam.js file

function jrLoad(id,url,round_id,round_num) {
    if (typeof url == "undefined") {
        return false;
    }
    if (url == 'blank') {
        $(id).hide();
    }
    else if (id == '#hidden') {
        $(id).hide();
        $(id).load(url);
    }
    else {
        if (id == '#rank') {
            var t = $('#rank').height();
            if (t == null) {
                $('#main').html('<div class="inner"><div id="rank"></div></div>');
            }
        }
        var h = $(id).height();
        if (h > 150) {
            $(id).height(h);
        }
        $(id).fadeTo(100,0.5,function() {
            $(id).html('<div style="text-align:center;padding:20px;margin:0 auto;"><img src="'+ core_system_url +'/skins/jrProJam/img/loading.gif" style="margin:15px;"><br>Loading...</div>');
            $(id).load(url,function() {
                var l = $(id).text();
                if (l.length < 1 && id != '#player') {
                    $(id).html('');
                }
                if (h > 150) {
                    $(id).height('100%');
                }
                if (round_id && round_num > 0) {
                    $(id).fadeTo(100,1.00,function() {
                        if (jQuery.browser.msie) {
                            this.style.removeAttribute('filter');
                        }
                        $(round_id).corner(round_num +'px');
                    });
                }
                else {
                    $(id).fadeTo(100,1,function() {
                        if (jQuery.browser.msie) {
                            this.style.removeAttribute('filter');
                        }
                    });
                }
            })
        });
    }
}

for the favorite artist and song buttons.

And you'll need the responsiveslides.min.js from the ProJam js folder as well. The jQuery for the image slider itself is in the ProJam header.tpl file.

Hope this helps!
douglas
@douglas
12/09/16 08:27:09AM
2,812 posts

User Birthday Display


Using Jamroom

I just tested this code out and it does work. Let me know if your seeing any issues.

Thanks!
douglas
@douglas
12/09/16 07:43:09AM
2,812 posts

User Birthday Display


Using Jamroom

I'm not really sure why I put Gallery in that post, you got what I meant though. That is the correct template to modify (Birthday > Templates > widget_birthdays.tpl).

Are you saying you modified the template and there is no change?

If so, send us your admin login (support[at]jamroom[dot]net) and I'll take a look at it for you.

Thanks!
douglas
@douglas
12/07/16 03:10:10PM
2,812 posts

User Birthday Display


Using Jamroom

If this is what you were referring to in your support email, try changing the code in the Gallery modules widget_birthdays.tpl file to this:

{if isset($_items)}
    {foreach $_items as $item}
        {if $item@first || ($item@iteration % 4) == 1}
        <div class="row">
        {/if}
            <div class="col3{if $item@last || ($item@iteration % 4) == 0} last{/if}">
                <div class="p10">
                    {jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="large" crop="portrait" class="img_scale" style="margin:0" alt="@`$item.user_name`" title="@`$item.user_name`"}<br>
                    <a href="{$jamroom_url}/{$item.profile_url}">@{$item.profile_url}</a>
                    <br>
                    {if $item.user_birthdate_today == 1}
                        &nbsp;<strong>{jrCore_lang module="jrBirthday" id=7 default="Today"}</strong>
                    {else}
                        &nbsp;{$item.user_birthdate_epoch|jrCore_date_format:"%B %e"}
                    {/if}
                </div>
            </div>
        {if $item@last || ($item@iteration % 4) == 0}
        </div>
        {/if}
    {/foreach}
{else}
    <div class="item">
        {jrCore_lang module="jrBirthday" id=8 default="No birthdays found"}
    </div>
{/if}

Hope this helps!
douglas
@douglas
12/03/16 10:45:44AM
2,812 posts

Expanding the width of the mobile side menu on any skin


Design and Skin Customization

Change it to this:

.sb-slidebar {
    width: 70% !important;
}

Hope this helps!
updated by @douglas: 12/03/16 10:45:58AM
douglas
@douglas
12/03/16 03:52:56AM
2,812 posts

JR6 Upgrade and Featured Artist on ProJam


Using Jamroom

I also had to make a change to the jrCore_list function in your favorite_artist.tpl
douglas
@douglas
12/03/16 03:44:24AM
2,812 posts

JR6 Upgrade and Featured Artist on ProJam


Using Jamroom

Hey Dazed, I got this fixed on your site.

Check out the modified header.tpl in your ACP > Skins > Mixposer > Templates section.

Hope this helps!
douglas
@douglas
12/02/16 08:11:35AM
2,812 posts

Create An Event


Using Jamroom

This was an issue with the custom logo pushing everything down and covering up the create event button so it wasn't clickable.

It has been fixed for the next release of the iSkin.

Hope this helps!
  81