Forum Activity for @brian

brian
@brian
09/01/16 08:33:00AM
10,149 posts

dnsquery.org insecure connection



Thanks Steve - I can't replicate the issue here, and based on the code it shouldn't be happening, so I'm no sure what to suggest. Is this on your jamroom server?

Thanks!
brian
@brian
09/01/16 08:31:58AM
10,149 posts

2 jamroom sites, 1 database


Installation and Configuration

You don't want 2 sites - that's way, way overkill for what you need.

When a visitor hits your site in your app how do you know? Is there a specific header or agent string that is used so you can differentiate an app client from a regular browser?
brian
@brian
09/01/16 08:23:03AM
10,149 posts

dnsquery.org insecure connection



I'm not able to replicate this here - all the constant define() calls are wrapped in a !defined() check, so you should never see this. Are you running the latest version of the module? I've tested in Developer mode on one of my test sites and I don't see any issue.

Thanks!
brian
@brian
09/01/16 08:16:10AM
10,149 posts

dnsquery.org insecure connection



Yeah this all coming from the 3rd party geo code - I'll see if I can suppress this.
brian
@brian
09/01/16 08:08:15AM
10,149 posts

2 jamroom sites, 1 database


Installation and Configuration

Then you will have to do something custom or use the Template Injection module - this is not something that is supported by JR.
brian
@brian
09/01/16 07:42:48AM
10,149 posts

Prefix before download links


Installation and Configuration

Looks like there are 2 posts going on the same thing - I've locked this one, so let's follow up here:

https://www.jamroom.net/the-jamroom-network/forum/new_posts/42845/2-jamroom-sites-1-database

Thanks!
brian
@brian
09/01/16 07:38:11AM
10,149 posts

2 jamroom sites, 1 database


Installation and Configuration

andrusito:
I know that is the very best solution, but as I said the download links of my website don't work inside the app unless they have the prefix "external://"
So, i was looking for an alternative solution

It's not clear to me what you can't just do a string replace on the URL - i.e.

str_replace('http://', 'external://', $url);

The concept is the same regardless of the language you are using for your app.
brian
@brian
09/01/16 07:09:42AM
10,149 posts

Prefix before download links


Installation and Configuration

You can either use template injection, or simply change them in your app - it's just a simple text replace.
brian
@brian
09/01/16 07:08:23AM
10,149 posts

Different Skin for mobile site version


Design and Skin Customization

You need to update the data/config/config.php file and make sure it has the correct MySQL database name and settings.
brian
@brian
09/01/16 07:06:49AM
10,149 posts

2 jamroom sites, 1 database


Installation and Configuration

Why not just rewrite the URL in your app?

Jamroom is not setup to run 2 different sites off of one database - that's not going to work.
  228