Forum Activity for @dazed

Dazed
@dazed
27 Mar 2021 07:37:29PM
1,005 posts

Randomize this call a bit...


Using Jamroom

Thanks Michael. I played with it some more and now it is changing. Thanks for the help. I did not try your order by clause yet but I will keep an eye on it and see how it works. Right now I am just happy it is updating.
Dazed
@dazed
27 Mar 2021 03:40:00PM
1,005 posts

Randomize this call a bit...


Using Jamroom

Hey Michael. Thanks for the help. I removed the call on the else statement > refreshed cache and it still populated.
I also added order_by="random" and still no change. I also went to dev mode and no change.
Dazed
@dazed
27 Mar 2021 08:48:23AM
1,005 posts

Randomize this call a bit...


Using Jamroom

I have the below call which returns featured artists. What I would like to change is that when the page displays, it does not seem to ever change. I also want to randomize the songs. If I bring the page up on a different browser, I may see different artists but again, if I come back eight hours later and refresh the page, I get the same info. When I added order_by="random" on index_item_2.tpl, it caused an issue and asked me to check the config values. I also added the cached_seconds value to override system cache.

Any suggestions on how to achieve this?



                    {if strlen($_conf.MixAP_list_2_ids) > 0}
                        {jrCore_list module="jrProfile" cache_seconds="120" search1="profile_quota_id in 8,9,16,21,22,23,29"  limit="7" template="index_item_2.tpl"}
                    {else}
                        {jrCore_list module="jrProfile" cache_seconds="120" order_by="profile_jrAudio_item_count numerical_desc" limit="7" template="index_item_2.tpl"}
                    {/if}


index_item_2.tpl

{if isset($_items)}
    {jrCore_module_url module="jrAudio" assign="murl"}

    <div class="row">
    {foreach from=$_items item="item"}
        {if $item.list_rank == 1}
            <div class="col6">
                <div style="padding: 5px;">
                    <div class="featured_item">
                        <div class="cover_image">
                            {if $item.profile_header_image_size > 0}
                                <a href="{$jamroom_url}/{$item.profile_url}"  title="{jrCore_lang skin="MixAP" id="34" default="Click to view"}">
                                    {if jrCore_is_mobile_device()}
                                        {$crop = "2:1"}
                                    {else}
                                        {$crop = "4:1"}
                                    {/if}
                                    {jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_header_image" item_id=$item._profile_id size="1280" class="img_scale" crop=$crop alt=$item.profile_name _v=$item.profile_header_image_time}
                                </a>
                            {else}
                                <a href="{$jamroom_url}/{$item.profile_url}"  title="{jrCore_lang skin="MixAP" id="34" default="Click to view"}">
                                    {if jrCore_is_mobile_device()}
                                        {jrCore_image image="profile_header_image.jpg" width="1140" class="img_scale" height="auto"}
                                    {else}
                                        {jrCore_image image="profile_header_image_large.jpg" width="1140" class="img_scale" height="auto"}
                                    {/if}

                                </a>
                            {/if}


                            <div class="profile_info">
                                <div class="wrap">
                                    <div class="table">
                                        <div class="table-row">
                                            <div class="table-cell profile-image">
                                                <div class="profile_image">
                                                    {jrCore_module_function
                                                    function="jrImage_display"
                                                    module="jrProfile"
                                                    type="profile_image"
                                                    item_id=$item._profile_id
                                                    size="xxlarge"
                                                    crop="auto"
                                                    class="img_scale img_shadow"
                                                    alt=$item.profile_name
                                                    width=false
                                                    height=false}
                                                </div>
                                            </div>
                                            <div class="table-cell">
                                                <div class="profile_name">
                                                    {$item.profile_name|truncate:55}<br>
                                                    <span><a href="{$jamroom_url}/{$item.profile_url}">@{$item.profile_url}</a> </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="wrap">
                            {if $_conf.MixAP_require_price_2 == 'on'}
                                {$s1 = "audio_file_item_price > 0"}
                            {/if}
                            {if jrCore_module_is_active('jrCombinedAudio') && $_conf.MixAP_list_2_soundcloud == 'on'}
                                {jrCombinedAudio_get_active_modules assign="mods"}
                                {if strlen($mods) > 0}
                                    {jrSeamless_list modules=$mods  profile_id=$item._profile_id order_by="_created numerical_desc" limit="5" template="index_item_audio_large.tpl"}
                                {elseif jrUser_is_admin()}
                                    No active audio modules found!
                                {/if}
                            {else}
                                {jrCore_list module="jrAudio" profile_id=$item._profile_id search=$s1 order_by="audio_display_order desc" limit="5" template="index_item_audio_large.tpl"}
                            {/if}
                        </div>

                    </div>
                </div>
            </div>
        {else}
            <div class="col3">
                <div style="padding: 5px;">
                    <div class="featured_item">
                        <div class="cover_image">
                            {if $item.profile_header_image_size > 0}
                                <a href="{$jamroom_url}/{$item.profile_url}"  title="{jrCore_lang skin="MixAP" id="34" default="Click to view"}">
                                    {jrCore_module_function function="jrImage_display" module="jrProfile" type="profile_header_image" item_id=$item._profile_id size="1280" class="img_scale" crop="2:1" alt=$item.profile_name _v=$item.profile_header_image_time}
                                </a>
                            {else}
                                <a href="{$jamroom_url}/{$item.profile_url}"  title="{jrCore_lang skin="MixAP" id="34" default="Click to view"}">
                                    {jrCore_image image="profile_header_image.jpg" width="1140" class="img_scale" height="auto" crop="3:1"}
                                </a>
                            {/if}


                            <div class="profile_info">
                                <div class="wrap">
                                    <div class="table">
                                        <div class="table-row">
                                            <div class="table-cell profile-image">
                                                <div class="profile_image">
                                                    {jrCore_module_function
                                                    function="jrImage_display"
                                                    module="jrProfile"
                                                    type="profile_image"
                                                    item_id=$item._profile_id
                                                    size="xxlarge"
                                                    crop="auto"
                                                    class="img_scale img_shadow"
                                                    alt=$item.profile_name
                                                    width=false
                                                    height=false}
                                                </div>
                                            </div>
                                            <div class="table-cell">
                                                <div class="profile_name">
                                                    {$item.profile_name|truncate:55}<br>
                                                    <span><a href="{$jamroom_url}/{$item.profile_url}">@{$item.profile_url}</a> </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>


                        </div>


                        <div class="wrap">
                            {if $_conf.MixAP_require_price_2 == 'on'}
                                {$s2 = "audio_file_item_price > 0"}
                            {/if}
                            {if jrCore_module_is_active('jrCombinedAudio') && $_conf.MixAP_list_2_soundcloud == 'on'}
                                {jrCombinedAudio_get_active_modules assign="mods"}
                                {if strlen($mods) > 0}
                                    {jrSeamless_list modules=$mods  profile_id=$item._profile_id order_by="*_display_order desc" limit="5" template="index_item_audio.tpl"}
                                {elseif jrUser_is_admin()}
                                    No active audio modules found!
                                {/if}
                            {else}
                                {jrCore_list module="jrAudio" profile_id=$item._profile_id search=$s1 order_by="audio_display_order desc" limit="5" template="index_item_audio.tpl"}
                            {/if}
                        </div>

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


        {if $item.list_rank == 3}
            </div><div class="row">
        {/if}
    {/foreach}
    </div>
{else}
    <div class="no-items">
        <h1>{jrCore_lang skin="MixAP" id="62" default="No items found"}</h1>
        {jrCore_module_url module="jrCore" assign="core_url"}
        <button class="form_button" style="display: block; margin: 2em auto;" onclick="jrCore_window_location('{$jamroom_url}/{$core_url}/skin_admin/global/skin={$_conf.jrCore_active_skin}/section=List+2')">{jrCore_lang skin="MixAP" id="64" default="Edit Configuration"}</button>
    </div>
{/if}



updated by @dazed: 25 Jun 2021 08:30:31PM
Dazed
@dazed
06 Mar 2021 06:49:33PM
1,005 posts

JR4 still the best. Why you abondoned this?!


Using Jamroom

I wish you guys would rebrand the same framework (keeping JR of course) and compete against WordPress, Joomla, Shopify etc. The number of sites I could have built for different businesses using Jamroom is alarming.

I built a martial arts demo for a place in about 30 minutes that was mind blowing using JR. Think about that for a second. Every student had his own page they could upload photos and videos to and share their profile with friends who may also want to be students. They could set up subscriptions and get auto payments. Mass emails to students. Easy cms to make changes. They were so clueless on this stuff I walked away.

I have had many other people to ask me to build them sites that have selling capabilities like hair salons, dog breeders, jewelers but I do not have the time. JR is superbly written and has so many rich features that people want.
Dazed
@dazed
28 Nov 2020 01:04:05PM
1,005 posts

Continuous Player When Navigating Away From Page


Suggestions

When a user is playing a video on youtube and navigates away, there is a mini-player that pops and the video keeps playing. To me this is an annoyance but others apparently like it. I have had a few peopla ask for something similar so they can continue playing songs from an artist while navigating the site.

Requirements would probably be something like:

As a user, I would like to be able to have a song I am playing, continue playing if I navigate away from the page I am currently on.

If I navigate away, continue playing the song in a popup player (or maybe add it to the header/footer somewhere)

If the song completes, continue playing songs by that artist as a playlist

If the user plays a new song on a page, close the popup player and continue to play the song from the player on the page

updated by @dazed: 26 Feb 2021 10:32:57PM
Dazed
@dazed
27 Apr 2020 10:59:22AM
1,005 posts

Any Changes To Site Comments?


Using Jamroom

opening ticket - debug error is back hehe
Dazed
@dazed
27 Apr 2020 10:52:55AM
1,005 posts

Any Changes To Site Comments?


Using Jamroom

No on logs.

Running an integrity check again after updating to the newer core.
Dazed
@dazed
27 Apr 2020 10:49:08AM
1,005 posts

Any Changes To Site Comments?


Using Jamroom

Hey Brian - No I ran updates and the site comments are no longer displayed after the last update. I had an error in the debug log for:

[error] => Query Error: Unknown column 'a._profile_id' in 'order clause'

I deleted the log and nothing is displaying in logs just yet so this may not have been the cause.
Dazed
@dazed
27 Apr 2020 10:39:05AM
1,005 posts

Any Changes To Site Comments?


Using Jamroom

I had some code for site comments (jrComment) that appears to have been crushed due to a recent update. It is no longer diplaying on my site. Was there any changes in this module? Actually looking at url/site_comments I see comments so it appears to be something else that changed.

I just saw this in the logs....

[error] => Query Error: Unknown column 'a._profile_id' in 'order clause'

{jrCore_list module="jrComment" order_by="_item_id NUMERICAL_DESC" limit="10" template="side_comments.tpl" assign="SIDE_COMMENTS"}

side_comments.tpl
{if isset($_items)}
    <div class="title">{jrCore_lang skin=$_conf.jrCore_active_skin id="78" default="Latest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="77" default="Comments"}</div>
    <div class="body_3 mb20">
        <div style="height:450px;overflow:auto;">
            {foreach from=$_items item="item"}
                <div class="block">
                    <div style="display:table">
                        <div style="display:table-row;">
                            <div style="display:table-cell;width:1%;text-align:center;vertical-align:top;">
                                <a href="{$jamroom_url}/{$item.profile_url}">{jrCore_module_function function="jrImage_display" module="jrUser" type="user_image" item_id=$item._user_id size="xxsmall" crop="auto" alt=$item.user_name class="action_item_user_img iloutline"}</a>
                            </div>
                            <div style="display:table-cell;text-align:left;vertical-align:top;padding-left:5px;">
                                <div class="normal">
                                    <a href="{$item.comment_url}">Re: {$item.comment_item_title|truncate:20:"...":false}</a><br>
                                    {$item._created|jrCore_date_format}<br>
                                    <span class="highlight-txt"><i>{jrCore_lang skin=$_conf.jrCore_active_skin id="112" default="By"}:</i></span> <a href="{$jamroom_url}/{$item.profile_url}"><span class="capital">{$item.profile_name|truncate:20:"...":false}</span></a><br>
                                    <br>
                                    {$item.comment_text|truncate:200:"...":false|jrCore_format_string:$item.profile_quota_id}
                                </div>
                            </div>
                        </div>
                    </div>
                    <hr>
                </div>
            {/foreach}
        </div>
    </div>
{/if}

updated by @dazed: 29 Jul 2020 07:36:10AM
Dazed
@dazed
04 Mar 2020 03:03:55PM
1,005 posts

Quota Upload Song Issue - Maxed Quota Error After Deleting All Songs


Using Jamroom

ok so my user tested this out and still is receiving the error message. I ran integrity check also after rebuilding profile counts.
1