Forum Activity for @developer-networks

Developer Networks
@developer-networks
03/31/15 04:52:18AM
566 posts

How to add a contact link to the profile?


Installation and Configuration

In your skin directory you will find .tpl files that contail profile templates. You most likely want to edit profile_header.tpl or profile_index.tpl in order to add links on profiles.

Hope that helps!
updated by @developer-networks: 03/31/15 04:53:08AM
Developer Networks
@developer-networks
03/31/15 04:43:48AM
566 posts

A fixed audio player


Jamroom Developers

brian:
It's going to require a change out to using SoundManager2 for all audio (instead of jPlayer)


Ive been looking at this player for quite some time now! Thats exciting your looking at it also!
Developer Networks
@developer-networks
03/24/15 11:15:01PM
566 posts

jrVimeo Category


Jamroom Developers

I looked at the API and I see what your saying. I was working and have an audio / video wall module developed. I have jrVideo, jrYoutube, jrSoundcloud, & jrAudio showing the categories/genre however all of the vimeo catagories have a * or NULL which im now having to work around because its not consistent with the data I am working with.

I see that Vimeo does have categories available however there is not an example of pulling that content from the API. Just a suggestion and possible viable solution here is that the module could use a field in the data store for categories that way users can edit the video after import and set their video category. I noticed the vimeo module is the only one that lacks this field.

Thanks
Developer Networks
@developer-networks
03/17/15 06:44:41AM
566 posts

jrVimeo Category


Jamroom Developers

I noticed the module jrVimeo did not pull a video category from the API.

I was wondering if this was something that could be added to the module in the future.

Thanks
updated by @developer-networks: 04/29/15 09:22:50PM
Developer Networks
@developer-networks
03/15/15 03:03:23PM
566 posts

Question Regarding Seamless Module Function


Using Jamroom

SteveX:
You are linking to jrSeamless, those links need to point to each relevant module, and probably to the item detail rather than the index list.

Thanks @ultrajam You were right. I changed the links to direct traffic to the modules and all is resolved.

Many Thanks.

Ill post the fixed up code so others can benefit from this.

{jrCore_include template="header.tpl"}

<br></br>
<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title"><span style="color: #ffffff;">Latest Oilfield Videos</span></h3>
    </div>
    <div class="block">
        {capture name="template" assign="tpl"}
            {literal}
                <p><a class="btn btn-primary" href="{$jamroom_url}/video/create" role="button" style="margin-left:25px;">Upload A Video</a>
                    </button>
                    <a class="btn btn-primary" href="{$jamroom_url}/video" role="button">View All Videos</a>
                    </button>



                </p>




                {if isset($_items)}
                <div class="container">
                    {foreach from=$_items item="item"}
                    {if $item@first || ($item@iteration % 4) == 1}
                    <div class="row" style="margin-left: -5px !important; margin-right: -19px !important;">
                        {/if}
                        <div class="col-lg-3{if $item@last || ($item@iteration % 4) == 0} last{/if}" style="width:24% !important;">
                            <div class="img-profile">
                                {if $item.seamless_module_name == "jrYouTube"}
                                <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.video_title_url}"> <img src="{$item.youtube_artwork_url}" height="180" width="240" class="rank_image" /></a>
                                {elseif $item.seamless_module_name == "jrVimeo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/vimeo/{$item._item_id}/{$item.video_title_url}"> <img src="{$item.vimeo_artwork_url}" height="180" width="240" class="rank_image" /></a>
                                {elseif $item.seamless_module_name == "jrVideo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}">{jrCore_module_function function="jrImage_display" module="jrVideo" type="video_image" item_id=$item._item_id size="large" crop="auto" alt=$item.video_title title=$item.video_title class="top_rank" width=240 height=180}</a>
                                {/if}
                            </div>
                            <div class="center mb10">
                                {if $item.seamless_module_name == "jrYouTube"}
                                <a href="{$jamroom_url}/{$item.profile_url}/youtube/{$item._item_id}/{$item.youtube_title}">{$item.youtube_title|truncate:24}</a><a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.vimeo_title}">{$item.vimeo_title|truncate:24}</a>
                                {elseif $item.seamless_module_name == "jrVimeo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/vimeo/{$item._item_id}/{$item.vimeo_title}">{$item.vimeo_title|truncate:24}
                                {elseif $item.seamless_module_name == "jrVideo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/video/{$item._item_id}/{$item.video_title_url}">{$item.video_title|truncate:24}</a>
                                {/if}

<br>

                                    {if $item.seamless_module_name == "jrYouTube"}
                                    <span class="info">{jrCore_lang module="jrYouTube" id="14" default="Category"}:</span> <span class="info_c">{$item.youtube_category}</span><br>
                                    {elseif $item.seamless_module_name == "jrVimeo"}
                                    <span class="info">{jrCore_lang module="jrYoutube" id="14" default="Category"}:</span> <span class="info_c">{$item.vimeo_category}</span>
                                        {elseif $item.seamless_module_name == "jrVideo"}
                                    {if isset({$item.video_category}) && strlen({$item.video_category}) > 0}
                                    <span class="info">{jrCore_lang module="jrVideo" id="12" default="category"}:</span> <span class="info_c">{$item.video_category}</span><br>
                                    {/if}
                                        {/if}

                                    {if $item.seamless_module_name == "jrYouTube"}
                                    {jrCore_module_function function="jrRating_form" type="star" module="jrYouTube" index="1" item_id=$item._item_id current=$item.youtube_rating_1_average_count|default:0 votes=$item.youtube_rating_1_count|default:0}
                                    {elseif $item.seamless_module_name == "jrVimeo"}
                                    {jrCore_module_function function="jrRating_form" type="star" module="jrVimeo" index="1" item_id=$item._item_id current=$item.vimeo_rating_1_average_count|default:0 votes=$item.vimeo_rating_1_count|default:0}
                                        {elseif $item.seamless_module_name == "jrVideo"}
                                     {jrCore_module_function function="jrRating_form" type="star" module="jrVideo" index="1" item_id=$item._item_id current=$item.video_rating_1_average_count|default:0 votes=$item.video_rating_1_count|default:0}
                                        {/if}


                            </div>
                        </div>
                        {if $item@last || ($item@iteration % 4) == 0}
                        <div class="col-lg-5 last">
                            <div class="block_config">
                                {jrCore_item_list_buttons module="jrVideo" field="video_file" item=$item}
                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                    {/if}

                    {/foreach}
                </div>
                {/if}
            {/literal}
        {/capture}
        <div class="block">
            <div class="title">
                <div style="margin-right:0px; width:100%;">
                    {*{jrSearch_module_form module="jrVideo" fields="video_title,video_description"}*}

                    {*{jrSearch_module_form class="form_text" value="Video" module="jrVideo" fields="video_title,video_description" }*}
                    <div style="float:right; margin-right: 19px; margin-top: 40px;">{jrSearch_form class="form_text" value="Search Videos" module="jrVideo" fields="video_title,video_description" }</div>

                    <h4 style="margin-left:24px;">{jrCore_lang module="jrVideo" id=39 default="Videos"}</h4>
                </div></div>
            <div class="block_content">
                <div class="item">
                    <div class="container">
                        <div class="row">



                            {jrSeamless_list modules="jrVideo,jrVimeo,jrYouTube"  order_by="_created numerical_desc" require_image="video_image" pagebreak=28 page=$_post.p pager=true template=$tpl}
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

{jrCore_include template="footer.tpl"}

updated by @developer-networks: 03/15/15 03:18:12PM
Developer Networks
@developer-networks
03/15/15 03:10:31AM
566 posts

Question Regarding Seamless Module Function


Using Jamroom

I gave @derrickhand300 help on this tonight and ran in to an unusual issue for me. This is the code I worked out for his page using the jrSeamless module. Now It works great and functions as he would like however when clicking on the videos I recieve an error.

{jrCore_include template="header.tpl"}

<br></br>
<div class="panel panel-primary">
    <div class="panel-heading">
        <h3 class="panel-title"><span style="color: #ffffff;">Latest Oilfield Videos</span></h3>
    </div>
    <div class="block">
        {capture name="template" assign="tpl"}
            {literal}
                <p><a class="btn btn-primary" href="{$jamroom_url}/video/create" role="button" style="margin-left:25px;">Upload A Video</a>
                    </button>
                    <a class="btn btn-primary" href="{$jamroom_url}/video" role="button">View All Videos</a>
                    </button>



                </p>




                {if isset($_items)}
                <div class="container">
                    {foreach from=$_items item="item"}
                    {if $item@first || ($item@iteration % 4) == 1}
                    <div class="row" style="margin-left: -5px !important; margin-right: -19px !important;">
                        {/if}
                        <div class="col-lg-3{if $item@last || ($item@iteration % 4) == 0} last{/if}" style="width:24% !important;">
                            <div class="img-profile">
                                {if $item.seamless_module_name == "jrYouTube"}
                                <a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.video_title_url}"> <img src="{$item.youtube_artwork_url}" height="180" width="240" class="rank_image" /></a>
                                {elseif $item.seamless_module_name == "jrVimeo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.video_title_url}"> <img src="{$item.vimeo_artwork_url}" height="180" width="240" class="rank_image" /></a>
                                {elseif $item.seamless_module_name == "jrVideo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.video_title_url}">{jrCore_module_function function="jrImage_display" module="jrVideo" type="video_image" item_id=$item._item_id size="large" crop="auto" alt=$item.video_title title=$item.video_title class="top_rank" width=240 height=180}</a>
                                {/if}
                            </div>
                            <div class="center mb10">
                                {if $item.seamless_module_name == "jrYouTube"}
                                <a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.youtube_title}">{$item.youtube_title|truncate:24}</a><a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.vimeo_title}">{$item.vimeo_title|truncate:24}</a>
                                {elseif $item.seamless_module_name == "jrVimeo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.vimeo_title}">{$item.vimeo_title|truncate:24}
                                {elseif $item.seamless_module_name == "jrVideo"}
                                <a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/{$item._item_id}/{$item.video_title_url}">{$item.video_title|truncate:24}</a>
                                {/if}

<br>

                                    {if $item.seamless_module_name == "jrYouTube"}
                                    <span class="info">{jrCore_lang module="jrYouTube" id="14" default="Category"}:</span> <span class="info_c">{$item.youtube_category}</span><br>
                                    {elseif $item.seamless_module_name == "jrVimeo"}
                                    <span class="info">{jrCore_lang module="jrYoutube" id="14" default="Category"}:</span> <span class="info_c">{$item.vimeo_category}</span>
                                        {elseif $item.seamless_module_name == "jrVideo"}
                                    {if isset({$item.video_category}) && strlen({$item.video_category}) > 0}
                                    <span class="info">{jrCore_lang module="jrVideo" id="12" default="category"}:</span> <span class="info_c">{$item.video_category}</span><br>
                                    {/if}
                                        {/if}

                                    {if $item.seamless_module_name == "jrYouTube"}
                                    {jrCore_module_function function="jrRating_form" type="star" module="jrYouTube" index="1" item_id=$item._item_id current=$item.youtube_rating_1_average_count|default:0 votes=$item.youtube_rating_1_count|default:0}
                                    {elseif $item.seamless_module_name == "jrVimeo"}
                                    {jrCore_module_function function="jrRating_form" type="star" module="jrVimeo" index="1" item_id=$item._item_id current=$item.vimeo_rating_1_average_count|default:0 votes=$item.vimeo_rating_1_count|default:0}
                                        {elseif $item.seamless_module_name == "jrVideo"}
                                     {jrCore_module_function function="jrRating_form" type="star" module="jrVideo" index="1" item_id=$item._item_id current=$item.video_rating_1_average_count|default:0 votes=$item.video_rating_1_count|default:0}
                                        {/if}


                            </div>
                        </div>
                        {if $item@last || ($item@iteration % 4) == 0}
                        <div class="col-lg-5 last">
                            <div class="block_config">
                                {jrCore_item_list_buttons module="jrVideo" field="video_file" item=$item}
                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>
                    {/if}

                    {/foreach}
                </div>
                {/if}
            {/literal}
        {/capture}
        <div class="block">
            <div class="title">
                <div style="margin-right:0px; width:100%;">
                    {*{jrSearch_module_form module="jrVideo" fields="video_title,video_description"}*}

                    {*{jrSearch_module_form class="form_text" value="Video" module="jrVideo" fields="video_title,video_description" }*}
                    <div style="float:right; margin-right: 19px; margin-top: 40px;">{jrSearch_form class="form_text" value="Search Videos" module="jrVideo" fields="video_title,video_description" }</div>

                    <h4 style="margin-left:24px;">{jrCore_lang module="jrVideo" id=39 default="Videos"}</h4>
                </div></div>
            <div class="block_content">
                <div class="item">
                    <div class="container">
                        <div class="row">



                            {jrSeamless_list modules="jrVideo,jrVimeo,jrYouTube"  order_by="_created numerical_desc" require_image="video_image" pagebreak=28 page=$_post.p pager=true template=$tpl}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

{jrCore_include template="footer.tpl"}


This is the error from the seamless module when clicking on any video on the seamless list.

 CRI: Unable to copy modules/jrSeamless/templates/item_index.tpl to template cache directory: data/cache/jrCore 



I tried this from my dev server and on his. It is consistent on both. Thanks.
updated by @developer-networks: 03/15/15 03:34:21AM
Developer Networks
@developer-networks
02/17/15 07:41:13AM
566 posts

How to get the badges to show for non members ?


Profile Badges

Try something like this.

    <div class="row">
        <div class="col4">
            <div class="section2 pad">
                {if jrProfile_is_profile_owner($_profile_id)}
                {jrCore_module_url module="jrProfile" assign="purl"}

                <div class="profile_image">
                    {jrCore_lang skin="nwmg2" id="41" default="Change Image"
                    assign="hover"} <a href=
                    "{$_conf.jrCore_base_url}/{$purl}/settings/id={$_profile_id}">
                    {jrCore_module_function function="jrImage_display"
                    module="jrProfile" type="profile_image"
                    item_id=$_profile_id size="xxlarge" class="img_scale"
                    alt=$profile_name title=$hover width=false
                    height=false}</a>

                    <div class="profile_hoverimage">
                        <a href=
                        "{$_conf.jrCore_base_url}/{$purl}/settings/id={$_profile_id}">
                        <span class="normal" style=
                        "font-weight:bold;color:#FFF;">{$hover}</span>&nbsp;<img alt="{$hover}"
                        height="18" src=
                        "{$jamroom_url}/skins/nwmg2/img/update.png" title=
                        "{$hover}" width="18"></a>
                    </div>
                </div>{else} {jrCore_module_function function="jrImage_display"
                module="jrProfile" type="profile_image" item_id=$_profile_id
                size="xxlarge" class="img_scale img_shadow" alt=$profile_name
                width=false height=false} {/if}

                <div class="stat_wrap">
                    <div class="stats">
                        <a href="#"><strong>{jrCore_get_count
                        module="jrProfile" item_id=$_profile_id
                        name="profile_view"}</strong> Views</a>
                    </div>

                    <div class="stats">
                        <a href=
                        "#"><strong>{$profile_jrFollower_item_count|default:"0"}</strong>
                        Following</a>
                    </div>

                    <div class="stats stats3">
                        <a href=
                        "#"><strong>{$user_jrFollower_item_count|default:"0"}</strong>
                        Followers</a>
                    </div><br clear="all">
                </div>
            </div>{jrProfile_menu template="profile_menu.tpl"
            profile_quota_id=$profile_quota_id profile_url=$profile_url
            always_show="jrGuestBook" require_login="jrGuestBook"}

            <div class="section">
                <div class="header">
                    Followers:
                </div>

                <div class="pad">
                    {jrCore_list module="jrFollower" search1="follow_profile_id
                    = `$_profile_id`" search2="follow_active = 1"
                    order_by="_created desc"}<br clear="all">
                </div>
            </div>{* start badges *} {* artist badge *} {if {$profile_quota_id}
            eq '2'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="artistbadge.png" width="250"
                                height="104" class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* Producer badge *} {if {$profile_quota_id} eq '3'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="producerbadge.png" width="250"
                                height="104" class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* DJ badge *} {if {$profile_quota_id} eq '4'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="djbadge.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* Model badge *} {if {$profile_quota_id} eq '5'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="artistbadge.png" width="250"
                                height="104" class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* Business badge *} {if {$profile_quota_id} eq '10'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="businessbadge.png" width="250"
                                height="104" class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* End Badge *} {* Begin vip *} {* VIP Artist badge *}
            {if {$profile_quota_id} eq '6'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="artistbadge.png" width="250"
                                height="104" class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>

                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="vip5.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* VIP Badge *} {* VIP Producer badge *} {if
            {$profile_quota_id} eq '7'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="producerbadge.png" width="250"
                                height="104" class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>

                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="vip5.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* VIP DJ badge *} {if {$profile_quota_id} eq '8'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="djbadge.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>

                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="vip5.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* VIP Model badge *} {if {$profile_quota_id} eq '9'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="modelbadge.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>

                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="vip5.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* VIP Business badge *} {if {$profile_quota_id} eq
            '11'}

            <div class="row">
                <div class="col12">
                    <div class="section2 pad">
                        <div class="box1">
                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="businessbadge.png" width="250"
                                height="104" class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>

                            <div id="badge">
                                <a href="{$jamroom_url}">{jrCore_image
                                image="vip5.png" width="250" height="104"
                                class="jlogo"
                                alt=$_conf.jrCore_system_name}</a>
                            </div><br>
                            <br>
                        </div>
                    </div>
                </div>
            </div>{/if} {* End Badge *}
        </div>
    </div>
Developer Networks
@developer-networks
02/17/15 07:26:04AM
566 posts

Flagship Skin


Flagship Skin

Yes Ive been working on it a lot lately. It will lower in price and It will work with the site builder tools once I update it.
Developer Networks
@developer-networks
02/16/15 08:51:43AM
566 posts

Use Smarty function to make installation simpler


Profile Badges

Strumelia:
Yes having this option is very important-

"It might also be best if the setting were a profile setting rather than quota, so that profiles within the same quota could have different badges."

Please look at the VIP Artist vs. Artist. It allows for paid and not paid accounts if you choose. The VIP badge displays two badges however with this example you could display as many as you want.
Developer Networks
@developer-networks
02/16/15 08:44:38AM
566 posts

Where is the Installation Documentation?


Profile Badges

Ken_Rich:
For example, if he chose subscribed artist, the silver artist badge (attached) would show up in that same space.

The steps to accomplish all this are here - https://www.jamroom.net/the-jamroom-network/forum/ning-to-jamroom/17428/sorting-migrants-into-quotas/search_string=badges

However, it's an "ugly" hack of B360's original set-up. If he redesigned with this functionality in mind, it could have an easy ACP interface.

Hope that helps...

Nice one Ken. Ill look at this today and possibly include this in an update. Thanks!
  19