Other [HELP] Jaxel Implementation of Adblock Detection

Status
Not open for further replies.

MKSwni

Member
Hi guys,

Thanks for running a wonderful community that helps out Xenforo users like myself. I run ads on my forum and to maximize the revenue I make I'd like to gently nudge users to turn off adblock so they can support the site.

I found this nice script that does exactly what I want but unfortunately I'm a bit confused as to where each code goes.

http://xenforo.com/community/thread...f-ad-block-detection.56603/page-2#post-644125

There is a HTML code, a CSS code, and a javascript code. I know the HTML goes in the template where my ad is placed but how about the others? Is it possible someone can take a quick look?

I tried putting the CSS code in EXTRA.css, in notice.css but nothing shows up. I also attempted to put the javascript in the template where my ad is, as well as in other areas but I have not been able to seen it work.

As a side note, Jaxel uses Adsense but I have Qadabra ads.

Just as background, I tried to PM Jaxel and posted this question in the script discussion as well but to no avail. This is my last resort.

Can anyone help me? Thank you!
 
This forum is not for support with add-ons.

The resource discussion thread is the correct place to post such questions.
 
Status
Not open for further replies.
Top Bottom