Forum Activity for @douglas

douglas
@douglas
05/12/16 05:09:26AM
2,812 posts

Social Networks


Using Jamroom

If you are referring to the Social links in the skins footer section, they are controlled by the skin settings and can be found in the skins config.php file.

skins/jrElastic/config.php
    // Social Media
    $num = 20;
    foreach (array('twitter', 'facebook', 'google', 'linkedin', 'youtube', 'pinterest') as $network) {

        // App Store URL
        $_tmp = array(
            'name'     => "{$network}_name",
            'type'     => 'text',
            'default'  => '',
            'validate' => 'printable',
            'label'    => ucfirst($network) . " profile",
            'help'     => "If you have an account for your site on " . ucfirst(str_replace('_', ' ', $network)) . ", enter the profile name and the network icon will show in your footer.  Leave blank to disable.",
            'order'    => $num++,
            'section'  => 'social networks'
        );
        jrCore_register_setting('jrElastic', $_tmp);
    }

You'll want to modify that bit of code to add in your other links in, then look in the footer.tpl for your skins and you'll see how the links are being added...

skins/jrElastic/footer.tpl
                        {* Social Network Linkup *}
                        {if strlen($_conf.jrElastic_twitter_name) > 0}
                            <a href="https://twitter.com/{$_conf.jrElastic_twitter_name}">{jrCore_image image="sn-twitter.png" width="40" height="40" class="social-img" alt="twitter" title="Follow @{$_conf.jrElastic_twitter_name}"}</a>
                        {/if}

                        {if strlen($_conf.jrElastic_facebook_name) > 0}
                            <a href="https://facebook.com/{$_conf.jrElastic_facebook_name}">{jrCore_image image="sn-facebook.png" width="40" height="40" class="social-img" alt="facebook" title="Like {$_conf.jrElastic_facebook_name} on Facebook"}</a>
                        {/if}

                        {if strlen($_conf.jrElastic_linkedin_name) > 0}
                            <a href="https://linkedin.com/{$_conf.jrElastic_linkedin_name}">{jrCore_image image="sn-linkedin.png" width="40" height="40" class="social-img" alt="linkedin" title="Link up with {$_conf.jrElastic_linkedin_name} on LinkedIn"}</a>
                        {/if}

                        {if strlen($_conf.jrElastic_google_name) > 0}
                            <a href="https://plus.google.com/{$_conf.jrElastic_google_name}">{jrCore_image image="sn-google-plus.png" width="40" height="40" class="social-img" alt="google+" title="Follow {$_conf.jrElastic_google_name} on Google+"}</a>
                        {/if}

                        {if strlen($_conf.jrElastic_youtube_name) > 0}
                            <a href="https://www.youtube.com/channel/{$_conf.jrElastic_youtube_name}" target="_blank">{jrCore_image image="sn-youtube.png" width="40" height="40" class="social-img" alt="youtube" title="Subscribe to {$_conf.jrElastic_youtube_name} on YouTube"}</a>
                        {/if}

                        {if strlen($_conf.jrElastic_pinterest_name) > 0}
                            <a href="https://www.pinterest.com/{$_conf.jrElastic_pinterest_name}" target="_blank">{jrCore_image image="sn-pinterest.png" width="40" height="40" class="social-img" alt="pinterest" title="Follow {$_conf.jrElastic_pinterest_name} on Pinterest"}</a>
                        {/if}

You could then use Michael's code above to show the correct language social link according to the sites language setting.

Hope this helps!
douglas
@douglas
05/12/16 05:04:44AM
2,812 posts

Midnight Player Error


Using Jamroom

pch:
Hi Mischael,
Maybe you didn't understand what I was trying to explain. The fact is I am receiving this player error on the audio page (in the profile) after setting the the Midnight Player as the default Skin Player (Player Type). I am using the Elastic skin.
You should probably be able to reproduce this error on your dev site after selecting the Midnight Player as the Player Type of your Skin.

Which skin is this for?

Thanks!
douglas
@douglas
05/09/16 12:36:47PM
2,812 posts

Contact Form Not Displaying On Mobile Device


Using Jamroom

Unless you give the non logged in users a universal login, you would most likely have to create something custom.

Jamroom needs a user/profile account to associate an uploaded file to so it can be viewed/downloaded.
douglas
@douglas
05/09/16 09:25:15AM
2,812 posts

Contact Form Not Displaying On Mobile Device


Using Jamroom

You'll want to modify the fields you want to show to logged out users. Right now, all of your fields "Display Groups" are set to (group)Normal Users, which means logged in users only.

Note that the file field will have to be left to logged in users only since you can't upload a file without it being associated with a user.

Hope this helps!
updated by @douglas: 05/09/16 09:25:35AM
douglas
@douglas
05/09/16 08:51:09AM
2,812 posts

Radio


Installation and Configuration

nduguseliphaz:
Which Player is compatible with facebook

The player used for Facebook is a flash player which I believe works with the jrShareThis module. You can find the code for it in your modules/jrAudio/templates/jrShareThis_facebook_open_graph.tpl file.

nduguseliphaz:
And is there anyway i can customize the radio pop up width?

You can change the popup window width in your skins/jrProJamLight/index_radio.tpl file. 820 is the width and 725 is the height.

<a onclick="popwin('{$jamroom_url}/radio_player/playlist_id={$item._item_id}/title={$item.playlist_title}/autoplay=true','radio_player',820,725,true);">

Hope this helps.
douglas
@douglas
05/09/16 05:08:31AM
2,812 posts

Radio


Installation and Configuration

Go to your ACP drop down menu and click on the Skin Settings > Skin Language link. The word "House", "Radio" and "Channel" are numbers 42,43 and 44, change them to what you want and click the "Save Changes" button.

The player for the "House Radio" is in a popup window, therefore can not be played automatically once a user visits the site. Something custom would have to be done in order to make that happen. The player does start playing once the popup opens tough.

Hope this helps!
douglas
@douglas
05/09/16 04:59:45AM
2,812 posts

Menu


Installation and Configuration

I've added the menu entries from ProJam Light to your Site Builder menu for you.

You can add/remove/edit/modify them by clicking the "Menu Editor" button while logged in as the admin and on your home page.

Hope this helps!
douglas
@douglas
05/09/16 04:34:23AM
2,812 posts

How to upload and search audio and video by date and location?


Using Jamroom

The form designer will do what you want.

Just add a date field, not a datetime field unless you need the time too, via the form designer and you should be able to search by date. You can do the same for the Location.

You may also need to rebuild the search index after creating new fields... ACP > Listing > Search > Tools > Rebuild Index.

If you need to show those fields on the profiles detail page, you'll have to modify the item_detail.tpl, ACP > Profiles > Audio > Templates, and add the variables for the new form fields where you would like them to show.

The variables will be the name of the field, ie. if you name the new field audio_publish_date, the variable used in the item_detail.tpl file will be {$item.audio_publish_date}.

Hope this helps!
douglas
@douglas
05/08/16 09:27:01AM
2,812 posts

Audio Thumbnails


Installation and Configuration

nduguseliphaz:
Thank you very Much. Learning alot!!

Your welcome! :)
douglas
@douglas
05/07/16 06:53:21AM
2,812 posts

Audio Thumbnails


Installation and Configuration

nduguseliphaz:
How do i solve it?

I've fixed this for you. The issue was the the item_id parameter for your jrCore_module_function image display function was set to $item._profile_id when it needed to be $item._item_id, _profile_id is only used when showing profiles, media items should use _item_id.

Hope this helps!
  105