PDA

View Full Version : logout problems with iframe


TheLegacy
09-24-2002, 08:30 PM
Well, the problem is this:
I made a table on a page with an iframe in the center, refering to forum.php (originally vB's index.php).
But now when I logout vB opens the index.php, the one with my table and borders & stuff, in the iframe. So i get somekind of a mirroreffect. Does somebody know how and where I should change the code that vB knows it has to go to forum.php and not to index.php?

Like this:

The normal screen, logged in... (http://members.lycos.nl/legacydesign/login.gif)

Logged out... (http://members.lycos.nl/legacydesign/logout.gif)

And another small question, why do I get the locked picture in front of the forum if i'm logged out?

Help me please?

Cypher720
09-24-2002, 08:54 PM
first - why are you using iFrames for a forum>!?!?!?!?!?!?!?!?!?!?!

TheLegacy
09-24-2002, 09:00 PM
Because if i want that border, i'd have to change all the templates :)

pixeldude
09-24-2002, 09:02 PM
yes you would but its easyer

pixeldude
09-24-2002, 09:02 PM
and if you want to use iframe just where it says width="some number" change it so its bigger

TheLegacy
09-24-2002, 09:04 PM
That's not the problem, when I logout it makes some sort of a duplicate in the iframe... Thats the prob, not the width

pixeldude
09-24-2002, 09:06 PM
post your code it would help

TheLegacy
09-24-2002, 09:08 PM
Of which template? Or php file? What part? If i knew that i would probably be able to solve it myself..

Something else:
What do you think of the design so far?
I just started...

pixeldude
09-24-2002, 09:15 PM
very nice design, hmm post your forumhome logout code

TheLegacy
09-24-2002, 09:21 PM
Here it is

Gonna sleep now.. 12.40 AM here, work tomorrow i'll read it in the morning

pixeldude
09-24-2002, 09:36 PM
uh, wanna make it in a txt and add it as a attachment, just so it dosnt set off the forum

pixeldude
09-24-2002, 09:37 PM
and also that's the logged code

Lazerus
09-26-2002, 03:26 PM
why dont u just make a seperate page for the iframe, and get the forum to load in it, not actually touching the index file?

TheLegacy
09-26-2002, 09:44 PM
That doesn't solve the problem, I can tell ya that :)

Austin Dea
09-27-2002, 09:21 PM
Renaming index.php to forum.php is just bad. All the redirects and crap are set to index.php...

TheLegacy
09-28-2002, 02:37 PM
I'm so stupid.. :)

I'll just rename forum.php back to index.php and place it in a subdir :\