PDA

View Full Version : iframe


BaBa2002
09-16-2004, 04:45 PM
hello everybody
i have a question
is there a simuler module for vBadvanced CMPS like the hack for phpnuke
i mean for phpnuke you have a module that works with a iframe so that you can load a page that you want
here is a example of the code
<?PHP
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* Iframe module */
/* ========================================== */
/* Copyright ©2002 by René Hart */
/* http://www.just4me.nl */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/

// standard for modules security system
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}

// standard for mainfile include
if (!isset($mainfile)) {
include("mainfile.php");
}
global $user,$admin,$bgcolor;
//standard for module name recognition
$ModName = basename( dirname( __FILE__ ) );
include("header.php");


if(!$site)
$site = "http://www.google.nl";

OpenTable();
echo "<iframe frameborder=\"0\" src=\"$site\" width=\"100%\" height=\"1000\"><ilayer src=\"$site\"</ilayer></iframe>";
CloseTable();
include("footer.php");
?>
or is there a other solution?

greetings
BaBa2002

Diver
09-16-2004, 04:56 PM
sure you can insert iframes into the cmps

the shoutbox integration is working with this solution. i think this is just a template issue

Our Sponsors
 

BaBa2002
09-17-2004, 12:54 PM
no what i mean
i want to creat a menu on the left side and when i use the menu i get a iframe in the middle