Forum Activity for @brian

brian
@brian
10/18/15 11:12:43AM
10,149 posts

Google Issues


Using Jamroom

perrie:
Nope not verified. Neither google analytics has found me and when you do a site test, site:thenewstalkers.com.... nada. I am also going around in circles with the google experts. No one can figure this one out. I might have to start from scratch. Ugg.

If Google can't figure it out, then I'm not sure how we can help.. sorry!
brian
@brian
10/18/15 11:11:59AM
10,149 posts

How to allow free audio file downloads ONLY to logged in members


Installation and Configuration

Ahh - then change:

!jrUser_is_logged_in()

to

jrUser_is_logged_in()

The ! says "not", so just remove it :)
brian
@brian
10/18/15 11:11:17AM
10,149 posts

User Playlist Module Active, but no playlist add buttons showing up


Installation and Configuration

So in your screenshot there, check the "Apply to All Quotas" and then check the "Show Playlists" and save - that will show the playlist options on the user's profile.

Hope this helps!
brian
@brian
10/17/15 10:53:25AM
10,149 posts

Are there still lofi and hifi audio options in JR5?


Installation and Configuration

That's a good question - right now there's only the one download button, and I think the system "blocks" downloads of the lower bit rate stream file. Let me think about this for a bit and see if I can think of a way to make this work without too much modifications.
brian
@brian
10/17/15 10:52:18AM
10,149 posts

Result search problem


Proxima

Black-Eagle:
Yes, I use the Master Key for my search request.

It should be working then - since it is not I can only assume that what is actually STORED in MySQL for that key has some extra padding or spaces on it - can you look in the jr_jrproximadata_item_key table and double check the value has been stored correctly?

If you still cannot get it to work I'd have to have access to your site to test it on - send me an email to support [at] jamroom [dot] net with your server info - I will try to check it out when I get a chance.

Thanks!
brian
@brian
10/17/15 10:46:54AM
10,149 posts

How to allow free audio file downloads ONLY to logged in members


Installation and Configuration

mattbrady:
Wonderful! That worked!

Now if I could figure out how to hide the streaming button for only logged in users.

Glad that worked!

99% of our users WANT the streaming option to show - if you want to hide it for logged in users you'll need to go into the ACP -> Media -> Audio Support -> Templates and customize the "item_detail.tpl" file - change this:

{assign var="ap" value="`$_conf.jrCore_active_skin`_auto_play"}
<br>{jrCore_media_player module="jrAudio" field="audio_file" item=$item autoplay=$_conf.$ap}<br>

To this:
{if !jrUser_is_logged_in()}
    {assign var="ap" value="`$_conf.jrCore_active_skin`_auto_play"}
    <br>{jrCore_media_player module="jrAudio" field="audio_file" item=$item autoplay=$_conf.$ap}<br>
{/if}

Then the streaming player on the detail page will only show to users that are NOT logged in. You can then repeat this for the item_list.tpl file as well.

After you've made your changes make sure to put a checkmark in the "active" column for those templates, save, then reset caches.

Hope this helps!
brian
@brian
10/17/15 10:43:42AM
10,149 posts

Result search problem


Proxima

Black-Eagle:
I try again but don't work. I don't understand.

Are you doing your search with the Master Key? If not, then make sure you are using the SAME user session for both POST and GET. By default when an object is created in a data collection, it is only visible to the user that created it (or the master key).

Let me know if that helps.
brian
@brian
10/17/15 10:27:51AM
10,149 posts

Result search problem


Proxima

I just tested with your value here and it is working for me - here's my search:

api/data/unit_testing/search?search=plateforme%20eq%20Super%20Nintendo

Make sure there are no leading/trailing spaces in your POST that could be getting added to the value.

Hope this helps!
brian
@brian
10/17/15 08:38:20AM
10,149 posts

How to allow free audio file downloads ONLY to logged in members


Installation and Configuration

When viewing one of the audio file detail pages (as a master admin) click on the far right button in the audio header that says "configure these buttons and the order they appear in". This will take you to the Detail Buttons page.

Click on the "Modify" button to the right of the "download audio button" and under the "Group" select form element choose "logged in users" and save.

Now the download button will only show to logged in users.

Hope this helps!
brian
@brian
10/17/15 08:28:29AM
10,149 posts

Google Issues


Using Jamroom

Perrie's site is already setup with the proper google-site-validation Meta Tag, so it should work. Note that you can EITHER upload a file to your server OR set the Meta Tag - it works both ways.
  348