XF 2.2 Help with code that would show visitors an ad below every X number of posts

PumpinIron

Well-known member
I'm going to be trying out Monumetric since I got approved with them and they supposedly pay better than Google Adsense.

Anyways, one of the things I'd like to do is for visitors only show a small add between every X number of posts.

So let's say in this case a visitor lands on a thread with pages of posts. As they scroll they would see an ad, but it would only be every 3 posts for instance and it could only be seen by visitors.

Can someone help me with the code I could for this and which template I would want to place said code in?

Thanks in advance!
 

PumpinIron

Well-known member
Found the solution!

 
Top