NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem
·Image display? - newbie
·php nuke help

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: Vanquistador
Today: 1
Yesterday: 1
Overall: 15103

Visitation:
Guests: 461
Members: 1
Total: 462


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Nuke Sites Link Directory
Nuke Sites Link Directory

NukeResources :: View topic - Trouble using iframe in block ver 7.6 patch 30
NukeResources Forum Index

NukeResources Forum Index -> Random Thoughts -> Trouble using iframe in block ver 7.6 patch 30
Post new topic  Reply to topic    View previous topic :: View next topic 
Trouble using iframe in block ver 7.6 patch 30
PostPosted: Fri May 13, 2005 10:46 am Reply with quote
cassie
Resource Newbie
Resource Newbie
 
Joined: Mar 19, 2005
Posts: 25
Location: Canada




I dont understand why I can't use this code in a block on my site.

<iframe src="http://www.sissysalon.com/FlashChat_v404/chat/info.php" width="120" frameborder="0" scrolling="no" allowtransparency="true"></iframe>

it just wont work for me.

Help
View user's profile Send private message Visit poster's website Yahoo Messenger
PostPosted: Fri May 13, 2005 1:52 pm Reply with quote
Evaders99
Resource Master
Resource Master
 
Joined: May 25, 2004
Posts: 1785




Iframes are not allowed for security reasons. You can either disable the code checking in mainfile.php, or just create a block-*.php file with the revelant code.

_________________
- Star Wars Rebellion Network - Evaders Squadron Coding -

Need help? Nuke Patched Core, Coding Services, Webmaster Services
View user's profile Send private message Visit poster's website AIM Address
I don't know what to put in the block
PostPosted: Sat May 14, 2005 1:03 pm Reply with quote
cassie
Resource Newbie
Resource Newbie
 
Joined: Mar 19, 2005
Posts: 25
Location: Canada




I am going to make a block, but what is the code I put in it?
I have the sample block to use as a template ( see below ) , and I want the block to show the info from this URL.

http://www.sissysalon.com/FlashChat_v404/chat/info.php





<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* 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. */
/************************************************************************/

if (eregi("block-Sample_Block.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

$content = "Here goes the content you want in your new block";

?>


HELP
View user's profile Send private message Visit poster's website Yahoo Messenger
PostPosted: Sat May 14, 2005 8:52 pm Reply with quote
chatserv
Site Admin
Site Admin
 
Joined: Apr 21, 2002
Posts: 1732
Location: Puerto Rico




More or less it would be like so:
Code:
<?php

if (eregi("block-Flash_Chat.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

$content .= "<iframe src=\"http://www.sissysalon.com/FlashChat_v404/chat/info.php\" width=\"120\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"true\"></iframe>";

?>

But you need to check the width, i tested it and even though it gets the data it does not display correctly.

_________________
NukeResources | ScriptHeaven
View user's profile Send private message Visit poster's website
Thank you!
PostPosted: Sat May 14, 2005 11:23 pm Reply with quote
cassie
Resource Newbie
Resource Newbie
 
Joined: Mar 19, 2005
Posts: 25
Location: Canada




I really appreciate the help, Chatserv! I have it now displaying in a wider spot in the center block, however, I still need to adjust the font, as it is much to large.
Eventually I will get it!

Cassie
Very Happy
View user's profile Send private message Visit poster's website Yahoo Messenger
Trouble using iframe in block ver 7.6 patch 30
 NukeResources Forum Index -> Random Thoughts
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 130 unique hit(s) in the past 24 hours.
Forums ©
Nuke Sites Link Directory


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.27 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::