Ingenious
Well-known member
One of the critical mods to my vB forum I'd need to find a solution to is my advert banners. Because I sell direct I use my own PHP script to randomly select a banner from x number of banners, with each page load.
It took me about four weeks and 481 cups of coffee to get my head around the vB plugin system. XenForo seems to be light years ahead and terms like handles and listeners really frighten me
So, I will probably take the short cut and use an iframe, as suggested in this post: http://xenforo.com/community/threads/php-in-sidebar.12591/#post-166152
Looking at that members site I think they did use iframes in the end and it looks like they work.
As I will never be using external pages within the iframe, am I right in assuming there is no risk involved?
If I put the iframe in the sidebar, I'd create a new place for it by ripping off the Staff Online or Members Online, changing the title to "Advertisement" and then putting the iframe in that. My last question is, would that automatically pad out to the height of the iframe, or do I need to do any CSS trickery to make sure the "Advertisement" box matched the iframe?
As you can gather I have never used iframes before
It took me about four weeks and 481 cups of coffee to get my head around the vB plugin system. XenForo seems to be light years ahead and terms like handles and listeners really frighten me
So, I will probably take the short cut and use an iframe, as suggested in this post: http://xenforo.com/community/threads/php-in-sidebar.12591/#post-166152
Looking at that members site I think they did use iframes in the end and it looks like they work.
As I will never be using external pages within the iframe, am I right in assuming there is no risk involved?
If I put the iframe in the sidebar, I'd create a new place for it by ripping off the Staff Online or Members Online, changing the title to "Advertisement" and then putting the iframe in that. My last question is, would that automatically pad out to the height of the iframe, or do I need to do any CSS trickery to make sure the "Advertisement" box matched the iframe?
As you can gather I have never used iframes before