Login / Sign up
> > > CDN - tooltips not popping up


Messages in topic: CDN - tooltips not popping up
forbiddenlake
Registered User

Nbr post: 34
Register: 5/31/15
Posted: 4/30/17 10:46 PM

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
Registered User

Nbr post: 34
Register: 5/31/15
Posted: 5/1/17 10:10 PM

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
Registered User

Nbr post: 34
Register: 5/31/15
Posted: 5/8/17 4:46 PM

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
Registered User

Nbr post: 17
Register: 3/25/12
Posted: 5/10/17 6:08 AM

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

Jelan
Admin

Nbr post: 10644
Register: 5/4/01
Posted: 5/26/17 10:40 AM

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

Nbr post: 10644
Register: 5/4/01
Posted: 6/1/17 9:17 AM

Fixed !