I use Vanilla Forums for my Answers/Forum site. I use Dolphin member login system for that because I don't want the user to create another account on Vanilla, their Dolphin account should be used instead.
There is a plugin in Vanilla name jsConnect which interacts with other site and performs this operation.
The plugin has 2 files functions.jsconnect.php and index.php
No changes need in functions.jsconnect.php, only index.php has to be changed.
It requires 4 information
$user['uniqueid'] = '123'; $user['name'] = 'John PHP'; $user['email'] = 'john.php@anonymous.com'; $user['photourl'] = '';
Either we should give directly or dynamically. I am querying the dolphin database and providing the 4 required information.
Now the problem is to get the details of logged in user using $memID = $_COOKIE['memberID'];
I have to place both the files inside dolphin directory. When I am accessing vanilla site through Chrome or Opera I am getting this error
Refused to execute script from 'http://answers.mywebsite.com/js.php?client_id=554896542&Target=%2F&callback=jQuery1254689538390256348338_1455552277557&_=1455552277558' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
So somewhere in the dolphin it is mentioned for strict checking of MIME type.
Where are they? How to disable that? What wrong will happen if it will be disabled??