• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Banner Ad Spot Acting Strangely

#1
I remember an advertising banner spot that appeared only under the first message/post in a thread.

I believe it was Ad_message_below

But now when I put ad code there, it puts a banner under every single message on the page.

(side note, I don't know who thought this would be desirable to any users as its way overkill - and yet we lack some basic features like putting an ad between messages, just a couple times on a page, which would be outstanding!)

Was it a different ad spot I'm thinking of?
 

Tracy Perry

Well-known member
#2
I believe it was Ad_message_below

But now when I put ad code there, it puts a banner under every single message on the page.

(side note, I don't know who thought this would be desirable to any users as its way overkill - and yet we lack some basic features like putting an ad between messages, just a couple times on a page, which would be outstanding!)

Was it a different ad spot I'm thinking of?
Odds are there was some template syntax in there that controlled which message it went under. I think by default it will put it under each message.
https://xenforo.com/community/resources/conditional-statements.1604/
pay attention to #16 and #17.