• 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?

#1
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?
 

Brogan

XenForo moderator
Staff member
#2
Use the built in ad_templates.

My signature has a link in the FAQ and there are also a resource for AdSense.
 
#8
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?
 
#12
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.
 
#14
Code:
<xen:hook name="ad_above_top_breadcrumb" />

<center>
<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>
</center>
 
#18
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.
 
#20
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: