Help - Search - Members - Calendar
Full Version: iframe in php
Invision Power Services > Community Forums > Community Web Design and Coding
PZiggy
I have an Iframe I would like my logged in members to see. How would I go about coding this and were would I have to put it. I would like it to showup on the main forums page at the top were a banner would be. I can't run php in the header because it all html coding. I am looking for any help i can find. I figured it would be easier to get the info here than bother Invision tech about it.

Thanks for your time.
Luke
In your skin its in the global html -> global_header. You would use html logic:

HTML
<if="ipb.member['id']>0">
<iframe></iframe>
</if>


When your member ID is greater than 0, that means the member is logged in. You should first try putting it at the very end of global_header. If that's still not in the right spot, try putting it somewhere in member_bar.
PZiggy
Thanks for your help. Works perfectly..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.