Topic: punbb into iFrame
I am using punbb into inside an iFrame and it sometimes disappear when I login/logout or when I post new topics or replies... To bring it back, I have to reload the page.
Why is that?
itsanogo
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → punbb into iFrame
I am using punbb into inside an iFrame and it sometimes disappear when I login/logout or when I post new topics or replies... To bring it back, I have to reload the page.
Why is that?
itsanogo
Here is the link:
http://reverendkill.com/forum.php
The forum.php page is the one holding the inline frame.
The forum work good by itself, but when displayed in iFrames, when "redirecting" after a post or administative task, that's while it's all going wrong.
I created a forum for testing purposes with guest postings.
Thanks,
itsanogo
Instead of using an iframe could you not try editing the file includes/template/main.tpl ? Just copy your html in for the header and footer.
If ya need help doing this punres.org will have information, or reply and I'll try sorting the code up for ya tomorrow
I'll see what I can do. It needs to be easily editable since I often change the header and use an HTML editor to do so...
itsanogo
I was talking with the guys that makes the program to generate HTML code and they pointed out something really interesting.
When accessing a punbb forum, after looking at the source code, the main page have this code as part of the header:
<link rel="top" href="http://punbb.informer.com/forums" title="Forum index" />
and the "top" should be replaced by "self" so the forum does not dissappear inside the iFrame...
Where should I insert that line of code?
itsanogo
PunBB Forums → PunBB 1.2 troubleshooting → punbb into iFrame
Powered by PunBB, supported by Informer Technologies, Inc.