Forum Activity for @douglas

douglas
@douglas
12/23/14 06:58:55AM
2,812 posts

song order carousel jrmediapro


Design and Skin Customization

Open your skins/jrMediaPro/index_slider.tpl template and find this:

{jrCore_list module="jrAudio" order_by="_created desc" limit="2" search1="_profile_id = `$item._profile_id`" template="index_slider_song.tpl"}

and change it to this:

{jrCore_list module="jrAudio" order_by="audio_file_track numerical_asc" limit="2" search1="_profile_id = `$item._profile_id`" template="index_slider_song.tpl"}

I just changed the order_by to audio_file_track numerical_asc which should list the songs as the artist/user has ordered them on their profile page.

Hope this helps! :)
douglas
@douglas
12/22/14 09:56:31AM
2,812 posts

seo and gallery


Using Jamroom

Yeah, I've not tested this with the site builder, this is just for a non-site-builder site.
updated by @douglas: 12/22/16 11:55:59AM
douglas
@douglas
12/22/14 07:23:10AM
2,812 posts

Links broken using iOS Devices


Ning To Jamroom

The latest updates to Ningja did not include any updates to how the menu funtions, mobile or desktop, did you update your iPad3 or Safari browser on your iPad3 recently?
updated by @douglas: 12/29/14 09:23:54AM
douglas
@douglas
12/22/14 06:59:17AM
2,812 posts

seo and gallery


Using Jamroom

So your wanting two different lists, on the same page, that paginate into their own sections... correct?

If so, here is what I would do.

Where you want your two lists to show add these:

Gallery List #1:

<a name="newgal" id="newgal"></a>
<div class="item blog-archive-header" style="margin: 13px 10px 10px 10px;">
	{jrSearch_module_form fields="gallery_title,gallery_image_title,gallery_caption,gallery_image_name"}
    <h2>Newest Galleries</h2>
</div>
<div class="item center" style="margin: 10px;padding-bottom: 10px;">
    <div id="newgalleries">
        {jrCore_include template="newest_galleries.tpl"}
    </div>
</div>

Gallery List #2:

<a name="ratgal" id="ratgal"></a>
<div class="item blog-archive-header" style="margin: 13px 10px 10px 10px;">
    <h2>Highest Rated Galleries</h2>
</div>
<div class="item center" style="margin: 10px;padding-bottom: 10px;">
    <div id="ratedgalleries">
        {jrCore_include template="highest_rated_galleries.tpl"}
    </div>
</div>

Then create two new templates, newest_galleries.tpl and highest_rated_galleries.tpl and add the following code to them.

newest_galleries.tpl contents:

{capture name="new_gallery_row" assign="new_gallery"}
{literal}
{jrCore_module_url module="jrGallery" assign="murl"}
{if isset($_items)}
    <div class="container">
        {foreach from=$_items item="item"}
        {if $item@iteration == 1 || $item@iteration == 5}
        <div class="row">
        {/if}
            <div class="col3{if $item@iteration is div by 4} last{/if}">
                <div class="img-profile"{if jrCore_is_mobile_device()} style="margin-bottom:50px;"{/if}>
                    <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.gallery_image_name|urlencode}" title="{$item.gallery_caption|default:$item.gallery_image_name|jrCore_entity_string}">{jrCore_module_function function="jrImage_display" module="jrGallery" type="gallery_image" item_id=$item._item_id size="xlarge" crop="auto" class="iloutline img_scale" alt=$item.gallery_image_name title=$item.gallery_image_name style="max-width:292px;max-height:292px;"}</a><br>
                    <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.gallery_title_url}" title="{$item.gallery_title}">{$item.gallery_title|truncate:25:"...":false}</a><br>
                    <a href="{$jamroom_url}/{$item.profile_url}" style="margin-bottom: 10px;">@{$item.profile_url}</a><br>
                </div>
            </div>
        {if $item@iteration == 4 || $item@iteration == 8}
        </div>
        {/if}
        {/foreach}
        {if $info.total_pages > 1}
        <div class="row">
            <div class="col12 last">
                <div class="block">
                    <table style="width:100%;">
                        <tr>

                            <td style="width:25%;">
                            {if isset($info.prev_page) && $info.prev_page > 0}
                                <input type="button" value="{jrCore_lang module="jrCore" id=26 default="&lt;"}" class="form_button" onclick="jrLoad('#newgalleries','{$jamroom_url}/newest_galleries/p={$info.prev_page}');$('html, body').animate({ scrollTop: $('#newgal').offset().top -100 }, 'slow');return false;">
                            {/if}
                            </td>

                            <td style="width:50%;text-align:center;">
                            {if $info.total_pages <= 5}
                                {$info.page} &nbsp;/ {$info.total_pages}
                            {else}
                                <form name="form" method="post" action="_self">
                                    <select name="pagenum" class="form_select" style="width:60px;" onchange="var sel=this.form.pagenum.options[this.form.pagenum.selectedIndex].value;jrLoad('#newgalleries','{$jamroom_url}/test_row_1/p=' +sel);$('html, body').animate({ scrollTop: $('#newgal').offset().top -100 }, 'slow');">
                                    {for $pages=1 to $info.total_pages}
                                    {if $info.page == $pages}
                                        <option value="{$info.this_page}" selected="selected"> {$info.this_page}</option>
                                    {else}
                                        <option value="{$pages}"> {$pages}</option>
                                    {/if}
                                    {/for}
                                    </select>&nbsp;/&nbsp;{$info.total_pages}
                                </form>
                            {/if}
                            </td>

                            <td style="width:25%;text-align:right;">
                            {if isset($info.next_page) && $info.next_page > 1}
                                <input type="button" value="{jrCore_lang module="jrCore" id=27 default="&gt;"}" class="form_button" onclick="jrLoad('#newgalleries','{$jamroom_url}/newest_galleries/p={$info.next_page}');$('html, body').animate({ scrollTop: $('#newgal').offset().top -100 }, 'slow');return false;">
                            {/if}
                            </td>

                        </tr>
                    </table>
                </div>
            </div>
        </div>
        {/if}

    </div>
{/if}
{/literal}
{/capture}

{jrCore_list module="jrGallery" order_by="_created numerical_desc" template=$new_gallery pagebreak="8" page=$_post.p}

highest_rated_galleries.tpl contents:

{capture name="highest_rated_gallery_row" assign="highest_rated_gallery"}
{literal}
{jrCore_module_url module="jrGallery" assign="murl"}
{if isset($_items)}
    <div class="container">
        {foreach from=$_items item="item"}
        {if $item@iteration == 1 || $item@iteration == 5}
        <div class="row">
        {/if}
            <div class="col3{if $item@iteration is div by 4} last{/if}">
                <div class="img-profile"{if jrCore_is_mobile_device()} style="margin-bottom:50px;"{/if}>
                    <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.gallery_image_name|urlencode}" title="{$item.gallery_caption|default:$item.gallery_image_name|jrCore_entity_string}">{jrCore_module_function function="jrImage_display" module="jrGallery" type="gallery_image" item_id=$item._item_id size="xlarge" crop="auto" class="iloutline img_scale" alt=$item.gallery_image_name title=$item.gallery_image_name style="max-width:292px;max-height:292px;"}</a><br>
                    <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.gallery_title_url}" title="{$item.gallery_title}">{$item.gallery_title|truncate:25:"...":false}</a><br>
                    <a href="{$jamroom_url}/{$item.profile_url}" style="margin-bottom: 10px;">@{$item.profile_url}</a><br>
                    <div class="gallery_rating">
                        {jrCore_module_function function="jrRating_form" type="star" module="jrGallery" index="1" item_id=$item._item_id current=$item.gallery_rating_1_average_count|default:0 votes=$item.gallery_rating_1_count|default:0}
                    </div>
                </div>
            </div>
        {if $item@iteration == 4 || $item@iteration == 8}
        </div>
        {/if}
        {/foreach}
        {if $info.total_pages > 1}
        <div class="row">
            <div class="col12 last">
                <div class="block">
                    <table style="width:100%;">
                        <tr>

                            <td style="width:25%;">
                            {if isset($info.prev_page) && $info.prev_page > 0}
                                <input type="button" value="{jrCore_lang module="jrCore" id=26 default="&lt;"}" class="form_button" onclick="jrLoad('#ratedgalleries','{$jamroom_url}/highest_rated_galleries/p={$info.prev_page}');$('html, body').animate({ scrollTop: $('#ratgal').offset().top -100 }, 'slow');return false;">
                            {/if}
                            </td>

                            <td style="width:50%;text-align:center;">
                            {if $info.total_pages <= 5}
                                {$info.page} &nbsp;/ {$info.total_pages}
                            {else}
                                <form name="form" method="post" action="_self">
                                    <select name="pagenum" class="form_select" style="width:60px;" onchange="var sel=this.form.pagenum.options[this.form.pagenum.selectedIndex].value;jrLoad('#ratedgalleries','{$jamroom_url}/highest_rated_galleries/p=' +sel);$('html, body').animate({ scrollTop: $('#ratgal').offset().top -100 }, 'slow');">
                                    {for $pages=1 to $info.total_pages}
                                    {if $info.page == $pages}
                                        <option value="{$info.this_page}" selected="selected"> {$info.this_page}</option>
                                    {else}
                                        <option value="{$pages}"> {$pages}</option>
                                    {/if}
                                    {/for}
                                    </select>&nbsp;/&nbsp;{$info.total_pages}
                                </form>
                            {/if}
                            </td>

                            <td style="width:25%;text-align:right;">
                            {if isset($info.next_page) && $info.next_page > 1}
                                <input type="button" value="{jrCore_lang module="jrCore" id=27 default="&gt;"}" class="form_button" onclick="jrLoad('#ratedgalleries','{$jamroom_url}/highest_rated_galleries/p={$info.next_page}');$('html, body').animate({ scrollTop: $('#ratgal').offset().top -100 }, 'slow');return false;">
                            {/if}
                            </td>

                        </tr>
                    </table>
                </div>
            </div>
        </div>
        {/if}

    </div>
{/if}
{/literal}
{/capture}

{jrCore_list module="jrGallery" order_by="gallery_rating_overall_average_count numerical_desc" template=$highest_rated_gallery pagebreak="8" page=$_post.p}

Hope this helps! :)
updated by @douglas: 12/22/16 11:55:59AM
douglas
@douglas
12/22/14 03:44:43AM
2,812 posts

Links broken using iOS Devices


Ning To Jamroom

I'm not seeing an issue on my Android phone, you might try clearing your phones browser cache and see if that helps.
updated by @douglas: 12/29/14 09:23:54AM
douglas
@douglas
12/22/14 03:22:32AM
2,812 posts

vimeo question


Installation and Configuration

Yes, client id and client secret are the same as consumer id and secret.
douglas
@douglas
12/22/14 03:20:25AM
2,812 posts

updated and lost new entry to timeline


Installation and Configuration

I see that on your site, but I can't replicate it on my dev site. Are you getting any activity, debug or php error logs after visiting the mentions?

ACP > System Tools
douglas
@douglas
12/22/14 02:51:21AM
2,812 posts

Tags


Off Topic

Make sure in the "Quota Config" section that you have the "Show on Detail Pages" check-box checked and you will see the tab form on profile media detail pages.

The Tag Cloud will show on profile pages if you've enabled it via the skin settings, it is under the "profile" tab.

Hope this helps! :)
douglas
@douglas
12/22/14 02:42:50AM
2,812 posts

vimeo question


Installation and Configuration

You'll find the consumer key from the OAuth tab when creating your Vimeo app.

https://developer.vimeo.com

Hope this helps! :)
douglas
@douglas
12/22/14 02:31:44AM
2,812 posts

updated and lost new entry to timeline


Installation and Configuration

I'm not seeing the issues your reporting on your site. I see SoundCloud and YouTube activity on your timeline and no overlapping on your SoundCloud profile page.

You might try clearing your browser cache.

Hope this helps! :)
  184