Resource icon

XF 2 Tip Show adblock detected notice

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,118
Points
823

Reputation:

ENXF NET submitted a new resource:

Show adblock detected notice - Polite request to user for disabling adblock software

Today i used an old resource of xF1 on xF2 by copying required things.

This Tutorial will help you to shows adblock notice to user in place of google advertisement banner.
View attachment 7377
In order to get it working on your website, first create java script file namely advertisement.js and add it to your forum root directory.

add following code to it - its just a one line code.
PHP:
document.write('<div id="tester">an advertisement</div>');
Then go to extra.less...

Read more about this resource...
 
Top