You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 47 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - ifames situation [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Roush
Nuke Cadet
Nuke Cadet


Joined: Mar 12, 2007
Posts: 2


PostPosted: Sun Mar 11, 2007 6:15 pm Reply with quoteBack to top

First off, let me say you guys have done a great job keeping this site going for so long. And thanks for all the help in the past.

Now to my situation with iframes. Im trying to put an iframe code in a block. But nothing shows up on the front page when im done. Im using php-nuke 8.0, and this is the code im trying to use.

Quote:
<iframe src="http://racepointsmanager.com/pm/Calendar.php?league=664&type=mini&bgc=0000FF" scrolling="no" frameborder="0" width="160" height="175">Get a browser that supports iframes!!</iframe>


Thanks,
Roush
Find all posts by RoushView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12367


PostPosted: Sun Mar 11, 2007 7:50 pm Reply with quoteBack to top

I would suggest creating a file block for your code
Start here: http://www.nukecops.com/PHP-Nuke_blocks.html

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Roush
Nuke Cadet
Nuke Cadet


Joined: Mar 12, 2007
Posts: 2


PostPosted: Mon Mar 12, 2007 9:47 am Reply with quoteBack to top

Thanks for the help,
Unfortunately, I have tried what is mentioned on the link, but still does not work.
It seems like possible iframes are not enabled on my site, but I can't seem to find anywhere to enable them. Could this or something similar to this be my problem.

Thanks again for any help.
Roush
Find all posts by RoushView user's profileSend private message
Prophet
Captain
Captain


Joined: Mar 14, 2004
Posts: 422

Location: Florida, USA, Earth, Space

PostPosted: Mon Mar 12, 2007 11:04 am Reply with quoteBack to top

Create a new file in the blocks directory using the following code.

Replace "BLOCK-NAME-HERE" in the code with whatever you want the block to be named, then save the file as block-BLOCK-NAME-HERE.php

Code:
<?php
if (eregi("block-BLOCK-NAME-HERE.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
$content  =  "<IFRAME name='' src='' width='150px' height='200px' scrolling='auto'>\n";
$content  .= "</IFRAME>";
?>


Then in admin>blocks, add the new block from file.

if you add additional content, you need to add it like this ...
$content .= "CONTENT HERE";

Be sure to escape any quotes you use in the content by adding a \backslash before each quote. Or use 'apostrophe instead.
For example,
$content .= "<a href=\"http://jasonlau.biz\" target=\"_blank\">My Website</a>";

_________________
- Prophet
Image
Get the Last Visit module (and others modules I designed) from my website! FREE! http://jasonlau.biz

Media Embedding
Find all posts by ProphetView user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.431 Seconds - 291 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::