PDA

View Full Version : Varying advertising


Jinovich
02-18-2014, 08:20 PM
So:

I want to increase advertising on my forum for guests only. That bit is the easy bit.

However:

I would like to do the following capture those who adblock in a 1/10 ratio of page loads and display them a message asking them kindly to not block our adverts then let them resume after 10 secs.

I imagine 99% of that will just be jQuery and divs.

I would also like to remove all adverts from the site after we have hit our monthly target.

I would ideally like to create this as a plugin as I would need to query whether the target has been met for the month or not before deciding what to serve.

Any advice on how to implement something like that? I don't think their are template hooks for the ad locations vB provide by default.

Videx
02-20-2014, 05:14 PM
There are a few modifications here related to Adblock. I don't use any so I can't recommend anything specific, but if none of them work they may at least give you ideas.

Search for "adblock" in the titles.