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

XF 1.2 Best way to add banner ads?

Can anyone suggest the best way for me to add a simple row of banner ads at the top of the forum pages for the likes of amazon UK, USA etc?


XenForo moderator
Staff member
Use the built in ad_templates.

My signature has a link in the FAQ and there are also a resource for AdSense.
I notice that I can see the banner when I'm not logged in - what permissions do I need to change to make it visible to everybody?
I can only see it when I log out which makes positioning it difficult.

I haven't added a conditional.

I want it to display to visitors, registered users, admin, etc - everybody.
<xen:hook name="ad_above_top_breadcrumb" />

<iframe src="http://rcm-eu.amazon-adsystem.com/e/cm?t=mondoerotico05&o=2&p=12&l=ur1&category=video&banner=176RYV8RJGTW0BD292G2&f=ifr" width="300" height="250" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe>
I just copied and pasted the code direct from amazon. It works for me.

Must be a browser bug - Safari I don't see the banner, in Opera it works fine.
We've played around a bit and have discovered that it shows on the home page, but not in the forums, so if you have a bookmark which goes straight to 'New Posts', then the banner is not visible.

I've tried other locations but I suspect it's amazon's iFrame code that could be the problem.

Any suggestions?
Last edited: