Forum Activity for @douglas

douglas
@douglas
01/24/17 05:51:39AM
2,814 posts

Following List


Using Jamroom

You can use a jrCore_list function with the jrFollower module.

Something like this maybe?

{jrCore_list module="jrFollower" search1="follow_profile_id = #" search2="follow_active = 1" order_by="_created desc" pagebreak=9 page=$_post.p template=$ftpl pager=true}

of course change the # to the correct profile_id.

Hope this helps!
updated by @douglas: 01/24/17 06:22:37AM
douglas
@douglas
01/23/17 02:22:42PM
2,814 posts

Site Radio And TV


Using Jamroom

izhmel:
Can you send me the code to copy and paste ?

Thanks


So you want to create links to different genres that play in a single player on a page by itself? ie. yoursite.com/dubmusic_player/rock would open a page with a player that played all songs in the rock genre?

If so, create a template named dubmusic_player.tpl and add this code.

{assign var="selected" value="stand_alone_palyer"}
{assign var="no_inner_div" value="true"}
{jrCore_include template="header.tpl"}

<div class="container">

    {* FEATURED TABS *}
    <div class="row">

        <div class="col12 last">

            <div class="menu_tab">
                <div id="default" class="p_choice fartist" onclick="jrLoad('#sm','{$jamroom_url}/index_artists');jrSetActive('#default');">{jrCore_lang  skin=$_conf.jrCore_active_skin id="21" default="featured"} {jrCore_lang  skin=$_conf.jrCore_active_skin id="12" default="artists"}</div>
                <div id="s_song" class="p_choice fsong" onclick="jrLoad('#sm','{$jamroom_url}/index_songs');jrSetActive('#s_song');">{jrCore_lang  skin=$_conf.jrCore_active_skin id="21" default="featured"} {jrCore_lang  skin=$_conf.jrCore_active_skin id="13" default="songs"}</div>
                <div id="s_video" class="p_choice fvideo" onclick="jrLoad('#sm','{$jamroom_url}/index_videos');jrSetActive('#s_video');">{jrCore_lang  skin=$_conf.jrCore_active_skin id="21" default="featured"} {jrCore_lang  skin=$_conf.jrCore_active_skin id="14" default="videos"}</div>
                <div class="clear"></div>
            </div>
            <div class="finner mb8">
                <div id="sm"></div>
            </div>

        </div>

    </div>

    {* PLAYER *}
    <div class="row">

        <div class="col12 last">
            <div class="inner leader mb8 mr8">
                <span class="title">{$_conf.jrCore_system_name} Player</span>
            </div>
            <div class="inner mb8">
                {if isset($_post.option) && strlen($_post.option) > 0}
                    {jrCore_media_player type="jrAudio_black_overlay_player" module="jrAudio" field="audio_file" search1="profile_quota_id IN 1,2,3" search2="audio_genre = `$_post.option`" order_by="audio_title random" limit="50" autoplay=true}
                {else}
                    {jrCore_media_player type="jrAudio_black_overlay_player" module="jrAudio" field="audio_file" search1="profile_quota_id IN 1,2,3" order_by="audio_title random" limit="50" autoplay=true}
                {/if}
            </div>
        </div>

    </div>

    {jrTags_cloud height="350" assign="tag_cloud"}
    {if strlen($tag_cloud) > 0}
        <div class="row">
            <div class="col12 last">
                <div class="inner mb10">
                    <div class="inner leader">Tag Cloud</div>
                    <div class="item">{$tag_cloud}</div>
                </div>
            </div>
        </div>
    {/if}

    {* SITE STATS *}
    {if isset($_conf.jrNova_show_stats) && $_conf.jrNova_show_stats == 'on'}
        <div class="row">
            <div class="col12 last">
                <div class="inner">
                    <div class="inner leader">
                        <span class="capital">{jrCore_lang  skin=$_conf.jrCore_active_skin id="42" default="stats"}</span> -
                        {capture name="template" assign="stats_tpl"}
                        {literal}
                            {foreach $_stats as $title => $_stat}
                            <span class="media_title">• {$title}: {$_stat.count}</span>
                            {/foreach}
                        {/literal}
                        {/capture}
                        {jrCore_stats template=$stats_tpl}
                    </div>
                </div>
            </div>
        </div>
    {/if}

</div>

{jrCore_include template="footer.tpl"}

Then the links to that would be something like:

http://dubmusic.com/bubmusic_player/rock

You'll also want to change the quota id's in the jrCore_media_player functions.

search1="profile_quota_id IN 1,2,3"

Hope this helps!
updated by @douglas: 01/23/17 02:23:47PM
douglas
@douglas
01/23/17 02:10:29PM
2,814 posts

Css not saving the value


Using Jamroom

Just a guess, but it looks like you have this working for you now?

Thanks!
douglas
@douglas
01/21/17 12:20:55PM
2,814 posts

Recovering a small skin customization I lost when I moved to jr6


Using Jamroom

You can remove the numerical_ part, don't think it is needed.

Hope this helps!
douglas
@douglas
01/21/17 11:22:17AM
2,814 posts

Recovering a small skin customization I lost when I moved to jr6


Using Jamroom

Try replacing this:

{* BEGIN Activity Section *}
<div class="col8">

    <div class="title m10">
        <h2>{jrCore_lang skin=$_conf.jrCore_active_skin id="20" default="Latest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="27" default="Activity"}</h2>
    </div>

    {* BEGIN Activity Section *}
    <a id="activdiv" name="activdiv"></a>
    <div id="activitydiv" style="margin: 10px 10px 0 10px;padding-bottom: 10px;">
        <div class="item"{if !jrCore_is_mobile_device()} style="max-height:916px;overflow-y:auto;overflow-x:hidden"{/if}>
            {jrCore_list module="jrAction" search1="action_module != jrFollower" order_by="_item_id desc" pagebreak=50 page=$_post.p}
            <br>
            <div style="width:100%;text-align:center;padding:10px">
                <a href="{$jamroom_url}/timeline">View More</a>
            </div>
        </div>
    </div>

</div>
{* END Activity Section *}

with this:

{* BEGIN Activity Section *}
<div class="col8">

    <div class="title m10">
        <h2>{jrCore_lang skin=$_conf.jrCore_active_skin id="20" default="Latest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="27" default="Activity"}</h2>
    </div>

    {* BEGIN Activity Section *}
    <a id="activdiv" name="activdiv"></a>
    <div id="activitydiv" style="margin: 10px 10px 0 10px;padding-bottom: 10px;">
        <div class="item"{if !jrCore_is_mobile_device()} style="max-height:916px;overflow-y:auto;overflow-x:hidden"{/if}>
            {jrCore_list module="jrAction" search1="action_module != jrFollower" search2="action_data NOT_LIKE %\"comment_module\":\"jrProfile\"%" order_by="_item_id numerical_desc" template="index_activity.tpl" pagebreak=50 page=$_post.p}            <br>
            <div style="width:100%;text-align:center;padding:10px">
                <a href="{$jamroom_url}/timeline">View More</a>
            </div>
        </div>
    </div>

</div>
{* END Activity Section *}

and see if that gives you the results your after.

Hope this helps!
douglas
@douglas
01/21/17 04:42:21AM
2,814 posts

Audio Pro - New Chart Bug


Using Jamroom

I'm not seeing this on your site @dazed.

When I select 90 days from the selection drop down, it refreshes the page back to page 1 for me.
douglas
@douglas
01/20/17 02:26:30PM
2,814 posts

Site Radio And TV


Using Jamroom

izhmel:
How do I find the jrCore_media_player , what file do I edit ?

Take what I posted, adjust the search parameters to your liking, and paste it in the template you want the player to show in.

It works just like the jrCore_list function.

Hope this helps!
douglas
@douglas
01/20/17 02:24:30PM
2,814 posts

Block Audio Download for Guests


Using Jamroom

This is how should probably do it.

Go to any audio detail page and click the item action button, it looks like an eq icon, then click the modify button for the download button and set the "Group" selection field to logged in users and Save Changes.

You'll probably want to reset your cache as well.

You can do the same for the profiles audio list page.

Hope this helps!
douglas
@douglas
01/20/17 02:14:38PM
2,814 posts

Site Radio And TV


Using Jamroom

izhmel:
Under /playlist/change, how can I modify the playlist module to add songs by "artist, add by genera " ? so I can add the songs the same way how I added these songs by going to under /playlist/change, then change owner to add the songs .....

If we could modify the play list module , we could create an admin radio with all the songs
http://dubmusic.com/dubmaster/playlist/25/the-dubmaster

You can already do this with the jrCore_media_player function.

Something like this:
{jrCore_media_player type="jrAudio_black_overlay_player" module="jrAudio" field="audio_file" search1="profile_quota_id IN 1,2,3" search2="audio_genre = rock" order_by="audio_title random" limit="50" autoplay=true}

Hope this helps!
douglas
@douglas
01/20/17 11:27:00AM
2,814 posts

photo album missing functions


Using Jamroom

izhmel:
I don't see the small camera on an existing image

Make sure you've enabled it for your quotas.

ACP > Users > Photo Album > Quota Config

Hope this helps!
updated by @douglas: 01/20/17 11:27:13AM
  72