Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 78
2 members and 76 guests
hon9pkqeymoonva, tax7bcslkk7daaw
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
block creator help
Old
  (#1 (permalink))
Dan
Junior Member
 
Status: Offline
Posts: 30
Join Date: Dec 2002
block creator help - 07-06-2003, 09:33 AM

I'm trying to run the block creator and I keep getting this error:

Parse error: parse error, unexpected $ in /home/nisfc/public_html/blocks/block-Warnings.php on line 10

Here's my code:

<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<div style=\"overflow:auto;height:150px;width:183;\">";
$content .= "<scr ipt language=\"[javascript] \" src=\"http://www.swiftwx.com/warnings/warnings-plugin.aspx\"></scri pt> </div>";
$content .= "
?>

What am I doing wrong?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-06-2003, 09:39 AM

Make sure that the div tag is on the line where the scr ipt tag gets closed and delete the
Code:
echo .="
because it shouldn't be there


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Dan
Junior Member
 
Status: Offline
Posts: 30
Join Date: Dec 2002
07-06-2003, 10:40 AM

Now it doesn't display anything.
Take a look: www.nisfc.org/index.php
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-06-2003, 11:33 AM

I can see the Curent warnings, and I don't see a block with no content


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Dan
Junior Member
 
Status: Offline
Posts: 30
Join Date: Dec 2002
07-06-2003, 01:12 PM

I re uploaded the block with the questionable code. Check it now.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-06-2003, 01:41 PM

This one will work for you
http://users.skynet.be/fa091229/block-Warnings.zip


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Dan
Junior Member
 
Status: Offline
Posts: 30
Join Date: Dec 2002
07-06-2003, 10:34 PM

Still showing a blank block.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
07-07-2003, 04:56 AM

It can't be, I tested it first. Mkae sure you have the right blok loaded
BTW the block "Curent Warnings" looks similar to the one I gave you so it seems to work right


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: block creator help
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 21
Join Date: Apr 2003
Re: block creator help - 07-07-2003, 05:13 AM

See this line in your code above?

Code:
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Make "block-Block_Creator.php" the same as your files name. So if the name of the block's PHP file is warnings.php this line should read "block-warnings.php

Try that with your original code
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 21
Join Date: Apr 2003
07-07-2003, 05:15 AM

oops, nevermind. I should have checked might_y's .zip first
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
module / block creator dannygroov nukemods.com 6 05-16-2005 09:46 PM
Popup creator by disipal doneandoner Site design 5 05-10-2005 04:49 AM
Modules Creator is malfunctioning paycheck Purged Topics 3 06-11-2003 07:00 PM
The nukemods, block creator.......how to use it. Colin_da_Killer Site design 3 04-29-2003 10:21 PM
Theme creator ?? Br00klynzzfinest Purged Topics 7 04-11-2003 12:13 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31