https://www.icyphoenix.com/viewtopic.php?f=35&t=7861&p=52801#p52801 ----------------------------------- My_PeSePe Mon 30 May, 2011 10:06 Iframe For External Links ----------------------------------- Well, I found this code and let me know if you can adapt for us to use in Icy. The code included 3 images that are the image will come out of our control. [code linenumbers=false]session_begin(); $auth->acl($user->data); $user->setup(); $config_link = array( 'style' => 'prosilver', 'height' => 80, // 'style' => 'subsilver', // 'height' => 100, 'page_title' => 'Enlace Externo - ' . $config['sitename'], 'noframes' => 'Su navegador no permite frames. No se puede navegar por la demo
Haga clic aqui para cargar phpBB3', 'text_to_display' => 'Estas en una pagina externa a Nombre de tu website
Puedes volver al foro o cerrar el marco dejando solo la web externa.', 'back_to_board' => 'Volver al Foro', 'close_frame' => 'Cerrar marco', ); // Send a proper content-language to the output $user_lang = $user->lang['USER_LANG']; if (strpos($user_lang, '-x-') !== false) { $user_lang = substr($user_lang, 0, strpos($user_lang, '-x-')); } // Determine board url - we may need it later $board_url = generate_board_url() . '/'; $web_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? $board_url : $phpbb_root_path; $site_logo_img = $user->img('site_logo'); $t_stylesheet_link = (!$user->theme['theme_storedb']) ? "{$web_path}styles/" . $user->theme['theme_path'] . '/theme/stylesheet.css' : append_sid("{$phpbb_root_path}style.$phpEx", 'id=' . $user->theme['style_id'] . '&lang=' . $user->data['user_lang'], true, $user->session_id); $s_content_direction = $user->lang['DIRECTION']; $u_index = append_sid("{$phpbb_root_path}index.$phpEx"); $this_file = $phpbb_root_path . $user->page['page_name']; $this_top = $this_file . '?panel=top'; $this_bottom = $this_file . '?panel=bottom'; $url = str_replace(array('ira=', 'panel=top&', 'panel=bottom&'), '', $_SERVER['QUERY_STRING']); $html = ''; $panel = request_var('panel', ''); switch ($panel) { default : $html = ' ' . $config_link['page_title'] . ' <body>' . $config_link['noframes'] . '</body> '; display($html); break; case 'top': switch ($config_link['style']) { default : case 'prosilver': $html = ' ' . $config_link['page_title'] . '
Volver al Index de Foros;
' . $config_link['text_to_display'] . '
' . $config_link['back_to_board'] . '  ' . $config_link['close_frame'] . '
' . $config_link['Copyright'] . '
'; break; case 'subsilver': $html = ' ' . $config_link['page_title'] . '
' . $site_logo_img . '
' . $config_link['text_to_display'] . '


' . $config_link['back_to_board'] . '  ' . $config_link['close_frame'] . ' 		 
'; break; } display($html); break; case 'bottom': header("Location: " . $url); break; } function display($html = '') { // application/xhtml+xml not used because of IE header('Content-type: text/html; charset=UTF-8'); header('Cache-Control: private, no-cache="set-cookie"'); header('Expires: 0'); header('Pragma: no-cache'); echo $html; garbage_collection(); exit_handler(); } ?>[/code] Try calling it from the constants.php with the following line: [code linenumbers=false]define('EXTERNAL_LINK_PREFIX', 'http://www.tuwebsite.com/enlace.php?ira='); // Example: 'http://anonym.to?'[/code]