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
  19