Anmelden
> > > CDN - tooltips not popping up


Nachrichten zum Thema: CDN - tooltips not popping up
forbiddenlake
Mitglied

Beiträge: 34
Registrieren: 31.05.15
Gesendet: 01.05.17, 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
Mitglied

Beiträge: 34
Registrieren: 31.05.15
Gesendet: 02.05.17, 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
Mitglied

Beiträge: 34
Registrieren: 31.05.15
Gesendet: 08.05.17, 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
Mitglied

Beiträge: 17
Registrieren: 25.03.12
Gesendet: 10.05.17, 12:08

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

Jelan
Admin

Beiträge: 11375
Registrieren: 05.05.01
Gesendet: 26.05.17, 16:40

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

Beiträge: 11375
Registrieren: 05.05.01
Gesendet: 01.06.17, 15:17

Fixed !