Forum Activity for @brian

brian
@brian
12/20/16 04:00:57PM
10,149 posts

Time Map error


Genosis

So that error comes out if there are no visible profiles with birth dates set - the Timemap completely runs on birth dates.

Do you have a URL you can post so I can try loading it from here?

416 on the performance test is a bit on the slow side, but should be OK - just make sure you have caching enabled (Core -> Global Config -> Cache Seconds). Jamroom is a bit more involved than a Wiki or WP, and does really well on systems with SSD's. Your database score of 16.67 is the slow part.
brian
@brian
12/20/16 02:13:04PM
10,149 posts

Tracking minutes played


Jamroom Developers

DannyA:
Is there any way to log and track playback time for a user? I imagine an event listener for a player plugin that sends back data from the session, but I'm not sure of the infrastructure to handle that data stream.

There's nothing in JR to do this at this time - something would have to be developed in javascript that would send events back to the system so they could be recorded.
brian
@brian
12/20/16 02:12:01PM
10,149 posts

Time Map error


Genosis

Based on your screenshot, something in your browser is blocking the loading of assets from gstatic.com, which is a Google domain. If you have NoScript, or uBlock running in your browser make sure it is disabled on your Genosis site.

Also - if the site is taking a minute or two to load, I would suspect very slow hosting - try going into ACP -> Core -> System Core -> Tools tab -> and click on "performance check" and run a performance test and let us know what you get.

Hope this helps!
brian
@brian
12/16/16 09:40:07AM
10,149 posts

Stream Pay


Using Jamroom

dim:
OK. Then why the admin site is able to set the price for the streams?

Because that is how it works - it wouldn't make sense for the profiles to be able to set their own price. Otherwise a profile could say "each stream of my songs will cost the site $10".

Based on your questions I still think you may not understand what this module does:

1) Think of a site that wants to attract musicians to post music on the site and get their fans to listen to it.
2) The site in turn says "for every stream of a song on the site by a fan of yours we will PAY YOU 1 cent"
3) this encourages the artist to get their fans to come to the site and stream music, since the profile EARNS MONEY by having their songs streamed

So based on that you can see how it only makes sense if the SITE OWNER gets to set the payout price, and also why it would be important to have a log of plays that result in crediting a profile.
brian
@brian
12/16/16 08:20:47AM
10,149 posts

Error updating dev site


Jamroom Developers

SteveX:
Thanks Brian, I will try that on the JR5 sites.

But I am getting the same results with freshly installed JR6 sites as well.

On a non-ssl site if I change the marketplace url to http I can communicate wioth the marketplace enough to list modules and up[dates, but if I then try to install or update I get the error at that point. If I use https the site won't list modules or updates at all.

Hmm... that is weird. I would suspect something in the ampps install? Are there any settings you can see that relate to SSL?

I develop on Mac OS and have a ton of local dev sites and am not seeing this issue - however I don't use ampps - I just use the built in Apache and add PHP versions as needed.

I think the reason why you can list the marketplace via NON-SSL is that that works - however, when jamroom.net responds with the URL for you to download the update it, it is going to be an https (SSL) URL since we're running SSL here.
brian
@brian
12/16/16 08:17:17AM
10,149 posts

Mailchimp Integration


Installation and Configuration

I snipped your reply since it includes a password hash. I don't need the info from the log - I already know what the issue is.

The issue is that the Mailchimp module is only designed to work with USER data - NOT profile data. If you see "quota_id" in your Available merge fields, it's an error - that field should not be available as a custom user form field, but on older installs (that have been kept up to date) you may see it, but it's not going to work.

I can definitely look into adding PROFILE support to this module - i.e. you would have access to the profile_ and quota_ keys for MERGE fields. It's not going to be a high priority right now though since we still have a lot of post JR6 work we are working on, and this module is used by very few sites.

If you're interested in sponsoring the development of the new features let me know at support [at] jamroom [dot] net.

Thanks!
brian
@brian
12/16/16 07:54:30AM
10,149 posts

Error updating dev site


Jamroom Developers

SteveX:
It is, but it is within an ampps installation.

Since Mac OS X El Capitan, they've changed how SSL certificates are accepted/required in the cURL that comes with the OS. JR6 and newer can handle it, but if you are updating a JR5 system you will need to update the jrCore_load_url() function in jrCore/lib/util.php.

Change this:
    if (version_compare(PHP_VERSION, '5.5.0') >= 0) {
        $_opts[CURLOPT_SAFE_UPLOAD] = true;
    }
    // Check for HTTP Basic Authentication
    if (!is_null($username) && !is_null($password)) {
        $_opts[CURLOPT_USERPWD] = $username . ':' . $password;
    }

To this:
    if (!stristr(' ' . PHP_OS, 'darwin')) {
        $_opts[CURLOPT_SSL_VERIFYHOST] = false;
        $_opts[CURLOPT_SSL_VERIFYPEER] = false;
    }
    if (version_compare(PHP_VERSION, '5.5.0') >= 0) {
        $_opts[CURLOPT_SAFE_UPLOAD] = true;
    }
    // Check for HTTP Basic Authentication
    if (!is_null($username) && !is_null($password)) {
        $_opts[CURLOPT_USERPWD] = $username . ':' . $password;
    }

And let me know if that works.

Also - you can try setting the Marketplace URL to NON SSL (if it is set to SSL) in Marketplace -> Tools -> Marketplace Systems.

Let me know if that helps.
brian
@brian
12/16/16 07:13:31AM
10,149 posts

Error updating dev site


Jamroom Developers

Hi Steve - is your dev site on macOS?
brian
@brian
12/16/16 07:13:12AM
10,149 posts

Mailchimp Integration


Installation and Configuration

I'm checking it out - since the quota_id is part of the PROFILE info, and not the USER info, it's not going to work as is. I'm checking it out to see how and if we can get that added in.

Thanks!
  178