Forum Activity for @douglas

douglas
@douglas
08/17/20 05:00:52AM
2,804 posts

How do I make the profile_sidebar.tpl section to hide when a profile page is viewed.


Design and Skin Customization

At the bottom of your profile_index.tpl you should see this code unless you've modified it already:

{jrCore_include template="profile_sidebar.tpl"}

Change that code to this:

{if !jrCore_is_mobile()}
    {jrCore_include template="profile_sidebar.tpl"}
{else}
    {if $_post.option != 'blog' || $_post.module != 'jrAction'}
        {jrCore_include template="profile_sidebar.tpl"}
    {/if}
{/if}

Hope this helps!
updated by @douglas: 08/17/20 05:38:58AM
douglas
@douglas
08/17/20 04:32:10AM
2,804 posts

Thank you to the Jamroom Team


Using Jamroom

Thanks Lisa! Really appreciate it. ;)
douglas
@douglas
08/16/20 03:19:29PM
2,804 posts

How do I make the profile_sidebar.tpl section to hide when a profile page is viewed.


Design and Skin Customization

Sorry, I don't see that code in AduioPro's profile_index.tpl, which skin is this for?

Thanks!
douglas
@douglas
08/16/20 06:29:08AM
2,804 posts

How do I make the profile_sidebar.tpl section to hide when a profile page is viewed.


Design and Skin Customization

Sorry, try this instead.

{if !jrCore_is_mobile()}
    {jrCore_include template="profile_sidebar.tpl"}
{else}
    {if $_post.module != 'jrBlog' || $_post.module != 'jrAction'}
        {jrCore_include template="profile_sidebar.tpl"}
    {/if}
{/if}
douglas
@douglas
08/16/20 05:53:48AM
2,804 posts

How do I make the profile_sidebar.tpl section to hide when a profile page is viewed.


Design and Skin Customization

You'll want to use an if statement around the function that includes the profile_sidebar.tpl, it might look something like this:

{if !jrCore_is_mobile()}
    {jrCore_include template="profile_sidebar.tpl"}
{else}
    {if $_post.module != 'blog' || $_post.module != 'timeline'}
        {jrCore_include template="profile_sidebar.tpl"}
    {/if}
{/if}

You can add this code:

{debug}

to any template and a Smarty popup window will show you what variables are available in said template.

Hope this helps!
updated by @douglas: 08/16/20 06:38:57AM
douglas
@douglas
08/16/20 05:41:18AM
2,804 posts

How to add follow button to a template.


Design and Skin Customization

See if this works for you:

{jrCore_lang id=5 skin="Mobile" default="Follow" assign="Follow"}
{jrFollower_button profile_id=$item._profile_id title=$Follow}

Hope this helps
updated by @douglas: 08/16/20 05:43:56AM
douglas
@douglas
08/15/20 09:25:29PM
2,804 posts

Add YouTube videos to the playlist


Using Jamroom

YouTube does not allow adding YouTube vidoes to a jPlayer playlist, which is the player that Jamroom uses.

Hope this helps!
douglas
@douglas
08/15/20 09:08:57AM
2,804 posts

How to add follow button to a template.


Design and Skin Customization

What template are you putting this code in?

Most likely the variable $_profile_id is not set, and the $follow variable is also probably not set.
updated by @douglas: 08/15/20 09:09:49AM
douglas
@douglas
08/11/20 05:59:25AM
2,804 posts

Item Feature Not Responding


Installation and Configuration

I think part of the issue here is that Elastic2 and FollowMe are not compatible skins, meaning they may not work well together.

Try using just one of the skins and see if your issues are still there.

Hope this helps!
  17