Identifiez-vous
> > > CDN - tooltips not popping up


Messages dans le sujet: CDN - tooltips not popping up
forbiddenlake
Membre

Nbr msg: 34
Enregistré: 31/05/2015
Ecrit le: 01/05/2017 04:46

So I admit this is probably something I don't understand fully
I'm transferring a site - http://yaret.us.to/riftfirsts/ to https://rift.events/firsts/
On the first, search for someone, for example "Flashwit". Hover over a What and the Magelo tooltip appears.
On the second, it doesn't. Though clicking the link goes to a valid Magelo database page.
Am I missing something or is there a bug in the Magelo Javascript?
forbiddenlake
Membre

Nbr msg: 34
Enregistré: 31/05/2015
Ecrit le: 02/05/2017 04:10

The Javascript tries to load https://www.undefined/pack/magelo-bar-css2.css , which fails of course

Magelo.origin comes out as undefined on the console. It's (tried to) set here:
var _origin=" https://www."+Magelo.domain

Magelo.domain is also undefined

Firefox 45.9; Chrome 58
forbiddenlake
Membre

Nbr msg: 34
Enregistré: 31/05/2015
Ecrit le: 08/05/2017 22:46

I am wondering if this line:
var re = /http:\/\/www\.([a-z]{0,5}magelo[cdn]{0,3}\.com)\/pack\/([a-z]{2,5})\/(([a-z]{2})\/)?magelo-bar\.js(?[^#]*)?(#.*)?/;

and this line:
this.href=this.href.replace(/^.*redirect.\/(http:\/\/[a-z]{2,8}.magelo.com.*)/,"$1");

both need an "s?"
Shehi
Membre

Nbr msg: 17
Enregistré: 25/03/2012
Ecrit le: 10/05/2017 12:08

Same here: http://lodgeofsorceresses.com/topic/256-loot-table/

Jelan
Admin

Nbr msg: 11455
Enregistré: 05/05/2001
Ecrit le: 26/05/2017 16:40

Good catch, they both need to use https indeed. I will fix that asap !
Jelan
Admin

Nbr msg: 11455
Enregistré: 05/05/2001
Ecrit le: 01/06/2017 15:17

Fixed !