Forum Activity for @musamensa

alt=
@musamensa
08/17/20 08:45:04AM
253 posts

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


Design and Skin Customization

michael:
profile_index.tpl is the default for when the profile loads and no tab is selected.
profile_item_index.tpl is the default for when one of the tabs (eg: audio) is selected. It usually would show a list of audio items

Thanks, it makes a lot of sense now.
alt=
@musamensa
08/17/20 12:02:46AM
253 posts

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


Design and Skin Customization

it's for the AudioPro skin but I did some customizations. please what .tpl file is loaded when you view a profile? profile_index.tpl or profile_item_index.tpl ? I noticed that profiles that have 'Customize profile' enabled use profile_index.tpl and those that don't use profile_item_index.tpl.
alt=
@musamensa
08/16/20 06:55:21AM
253 posts

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


Design and Skin Customization

...so I am thinking that I have to toggle between the profile_sidebar.tpl and
 
{$profile_item_index_content}
in someway to achieve this ?
alt=
@musamensa
08/16/20 06:41:05AM
253 posts

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


Design and Skin Customization


{if $_conf.Mobile_profile_side == 'right'}
    {jrCore_include template="profile_sidebar.tpl"}
    {$last = 'last'}
{/if}



<section>
<div class="col4" style="background: #ffffff;
	bottom: 0;
	content: " ";
	margin-left: -10px;
	position: absolute;
	top: 0;
	width: 1px;"> {jrCore_include template="profile_sidebar.tpl"}






</div>
<div class="col6 last" style="margin-left=20px">
<div class="">
        {$profile_item_index_content}
    </div>

</div>


<div class="mobile"> 


    <div class="title">
       
        <h1>Producers</h1><br>
        
    </div>
    <br>
    
    
    
    
    
<!-------
<div class ="col2 last" >
    
    
    <div class="desk" style="text-align: center;" >
 <p class="desk" style="    color: rgba(103, 98, 98, 0.6);
    font-style: italic;">Sponsored</p> 
    
    <p><a href="https://itembo.com/itemboservices"><img src="https://itembo.com/image/img/module/jrCore/beat_shop.jpg?r=412173812" alt="itembo Services" title="itembo services" style="margin: 0px;" width="300" height="750" border="1"></a></p>
    
    
    
   </div>
   </div>
    ----->

</section>


Ok, so I added the code you sent to this profile_item_idex.tpl page but page did not load on the browser.
updated by @musamensa: 08/16/20 06:42:49AM
alt=
@musamensa
08/15/20 09:57:34AM
253 posts

How to add follow button to a template.


Design and Skin Customization


<div class="container">
    {if isset($_items)}
        {foreach from=$_items item="item"}

            {if $item@first || ($item@iteration % 6) == 1}
                <table>
            {/if}
            
            
   <tr class="{cycle values=""}">
                <td class="page_table_cell center" style="width:10%;padding-bottom: 20px; border-radius: 5px;">{jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_image" item_id=$item._profile_id size="large" crop="portrait" class="img_scale" style="margin:0" alt="@`$item.profile_url`" title="@`$item.profile_url`"}</td>
                
                <td class="page_table_cell" style="width:30%;padding-left:10px;vertical-align: text-top;font-size: 18px; font-weight: 600;"><a style="color: #151515d6" href="{$jamroom_url}/{$item.profile_url}");">{$item.profile_name}</a> 
                <br>
            <div style="font-size: 13px;font-weight: lighter;color: #0000005e;">Joined {$item._created|jrCore_date_format:"relative"}</div>
                <div> </div>
 
                
                </td>
                
                
           
                
               
            </tr>
            
          
            {if $item@last || ($item@iteration % 6) == 0}
                </table>
            {/if}

        {/foreach}
    {/if}
    
    
</div>

alt=
@musamensa
08/15/20 09:03:31AM
253 posts

How to add follow button to a template.


Design and Skin Customization

Hi,
I am trying to add a follow button using the code below

{jrCore_lang id=5 skin="Mobile" default="Follow" assign="Follow"}
{jrFollower_button profile_id=$_profile_id titl=$follow}

but I keep getting an error that reads
{jrFollower_button} required parameter "profile_id" is missing ()


Thanks again.

updated by @musamensa: 11/14/20 10:19:17AM
alt=
@musamensa
08/15/20 04:18:22AM
253 posts

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


Design and Skin Customization

I am working on a custom skin based on the Audio Pro skin and I would like to hide the profile sidebar section from selected profile pages like (timeline and blog) whenever the page is viewed from mobile.

I am currently looking at the profile_item_index.tpl page but I can't seem to make much sense of it.

https://itembo.com/toyenmusic1/uploaded_audio
https://itembo.com/toyenmusic1/timeline

Thanks


updated by @musamensa: 11/23/20 09:53:24PM
alt=
@musamensa
04/16/20 09:40:10AM
253 posts

JrBirthday causing SSL error on page


Jamroom Developers

I have checked and only pages that display birthday.png have the SSL error, I also noticed that there are no SSL errors on those pages when I am logged in as admin.
  3