Forum Activity for @douglas

douglas
@douglas
12/30/16 02:24:17PM
2,807 posts

JR Chat Icon


Using Jamroom

Dazed:
There was a whole add in for chat:


* @title Chat Room Message */
/* @help This is the chat room new message section */
#jrchat-new-message {
    background-color:#000000;
    position: absolute;    right: 0;
    bottom: 0;
    width: 100%;
    height: 70px;
    padding: 10px 8px;
    box-sizing: border-box;
    border:1px solid #222222;
}



AudioPro has two areas for chat CSS, there is a chat.css file for the light theme and the dark theme has the chat CSS in the skin_dark.css file.

Hope this helps!
douglas
@douglas
12/30/16 09:30:35AM
2,807 posts

How would you do it?


Design and Skin Customization

At the top of the header.tpl, add the same if statment...

{if jrCore_is_mobile_device() || jrCore_is_tablet_device()}
    {if !isset($from_profile) || $from_profile != 'yes'}
        {jrCore_include template="header_menu_mobile.tpl"}
    {/if}
{/if}

Hope this helps!
douglas
@douglas
12/29/16 07:58:08AM
2,807 posts

How would you do it?


Design and Skin Customization

Replied to your support ticket but will update here too, the issue was you didn't check the checkbox for the modified profile_header.tpl in your ACP > Skin Settings > Skin Templates section.

Hope this helps!
douglas
@douglas
12/29/16 06:37:59AM
2,807 posts

How would you do it?


Design and Skin Customization

Can you email us your admin login so we can check it out?

Thanks!
douglas
@douglas
12/29/16 05:57:05AM
2,807 posts

How would you do it?


Design and Skin Customization

AndyF:
Actually, now looking at it closer, that only HALF worked. The top menu navigation links are gone when I am logged in but as soon as I log out of the site, they are back on top of all of the profile pages.

I'm not seeing that on my dev site, see attachment, are you sure your looking at a profile page?

Do you have a link I can check out?

Thanks!
Screen Shot 2016-12-29 at 7.56.29 AM.png Screen Shot 2016-12-29 at 7.56.29 AM.png - 70KB
douglas
@douglas
12/28/16 02:55:01PM
2,807 posts

Members List Not Invoking on Page Refresh


Design and Skin Customization

Dazed:
nvm. I added that to the members page and all is well. Thanks again!

Yep, it is at the top of the members.tpl for ProJam.

Glad you got it figured out.

:)
douglas
@douglas
12/28/16 01:49:18PM
2,807 posts

How would you do it?


Design and Skin Customization

AndyF:
This is giving me a syntax error when I try to save it:

{* MAIN MENU *}
{if !jrCore_is_mobile_device() && !jrCore_is_tablet_device()}
{if !isset($from_profile} || $from_profile != 'yes'}
{jrCore_include template="header_menu_desktop.tpl"}
{/if}
{/if}

Ah I see the issue here, use this instead...

{* MAIN MENU *}
{if !jrCore_is_mobile_device() && !jrCore_is_tablet_device()}
    {if !isset($from_profile) || $from_profile != 'yes'}
        {jrCore_include template="header_menu_desktop.tpl"}
    {/if}
{/if}

douglas
@douglas
12/28/16 01:45:34PM
2,807 posts

Members List Not Invoking on Page Refresh


Design and Skin Customization

Those three areas are loaded by this:

<script type="text/javascript">
    $(document).ready(function(){
        jrSetActive('#default');
        jrLoad('#alpha_members',core_system_url + '/members_list/alpha');
        jrLoad('#new_members',core_system_url + '/members_list/newest');
        jrLoad('#most_viewed_members',core_system_url + '/members_list/most_viewed');
     });
</script>

and the jrLoad function is in the PJ .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');
                        }
                    });
                }
            })
        });
    }
}

Hope this helps!
douglas
@douglas
12/28/16 01:23:11PM
2,807 posts

How would you do it?


Design and Skin Customization

AndyF:
This is giving me a syntax error when I try to save it:

{* MAIN MENU *}
{if !jrCore_is_mobile_device() && !jrCore_is_tablet_device()}
{if !isset($from_profile} || $from_profile != 'yes'}
{jrCore_include template="header_menu_desktop.tpl"}
{/if}
{/if}


Give this a shot:

{* MAIN MENU *}
{if !jrCore_is_mobile_device() && !jrCore_is_tablet_device()}
{if !isset($from_profile}}
{jrCore_include template="header_menu_desktop.tpl"}
{/if}
{/if}
  76