vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   logout problems with iframe (https://vborg.vbsupport.ru/showthread.php?t=84726)

TheLegacy 09-24-2002 08:30 PM

logout problems with iframe
 
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...

Logged out...

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

1 Attachment(s)
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 :\


All times are GMT. The time now is 10:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00968 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete