Author |
Message |
manunkind
Client

Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM
|
Posted:
Fri Apr 07, 2006 7:42 pm |
|
Mine has done this for a while now. Can't remember which upgrade/patch broke it. I think it was the same time as all the Survey problems. Nuke was made TOO tight with that round of code.
Anyway, just go into the raw database and make the changes. That's how I do it until somebody fixes this mess. Nuke breaks it. Stay in the database for those edits and it will display fine in the browser. |
|
|
|
 |
Robster
New Member


Joined: Apr 03, 2006
Posts: 14
|
Posted:
Sat Apr 08, 2006 6:30 pm |
|
registered on that site, now its down and i never got a email  |
|
|
|
 |
evaders99
Former Moderator in Good Standing

Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Apr 09, 2006 1:17 am |
|
Sorry guys, server is down for maintenance (planned re-image) |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
 |
Robster

|
Posted:
Tue Apr 11, 2006 1:34 am |
|
Oh Any eta? |
|
|
|
 |
daemon
Worker


Joined: Jan 07, 2005
Posts: 163
|
Posted:
Tue Apr 11, 2006 3:30 am |
|
you still trying to put image in block? |
|
|
|
 |
Robster

|
Posted:
Tue Apr 11, 2006 6:11 am |
|
yea trying to use html in blocks. |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue Apr 11, 2006 6:20 am |
|
Robster - can you post the code you are trying use or if it is a big file, post a link to a plain text file with your code in it please so I can take a look. |
|
|
|
 |
evaders99

|
Posted:
Tue Apr 11, 2006 8:00 am |
|
The easiest option is to create a file block. If you want to help with testing, I still have a package (though it is not quite up-to-date, have to rebuild the CVS) |
|
|
|
 |
daemon

|
Posted:
Tue Apr 11, 2006 9:13 am |
|
not sure why you wanna add html? here a sample using php to add an img.
Code:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* Note: If you need more than one banner block, just copy this file */
/* with another name */
/* */
/* 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 ( !defined('BLOCK_FILE') ) {
Header("Location: ../index.php");
die();
}
$content = "<center><a href=\"http://www.ravenscripts.com\"><img border=\"0\" alt=\"PHP Support\" title=\"More PHP Stuff\" input type=\"image\" src=\"images/ravenscripts.png\"></a></center>";
?>
|
|
|
|
|
 |
myrtletrees
Involved


Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana
|
Posted:
Mon May 01, 2006 9:45 am |
|
ROBSTER
Try inserting the HTML without the quotes.
THIS WORKED FOR ME!!!! WOO HOO!!!
Instead of this,
Code:<html>
<body>
<a href="http://url"><img src="Image1.jpg" width="102" height="77" border="0"></a>
</body>
</html>
|
use this
Code:"<html>
<body>
<a href=http://url><img src=Image1.jpg width=102 height=77 border=0></a>
</body>
</html>
|
Once you save the block like that, it SHOULD work. HOWEVER< if you have to edit that block, nuke will put the quotes back, so you have to remove them again before saving.
This also works on the index page Message box. It was the only way I was successful in getting all html to work in blocks and message box in Nuke. |
|
|
|
 |
gregexp
The Mouse Is Extension Of Arm

Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol
|
Posted:
Wed May 03, 2006 7:43 pm |
|
ive also noticed that if u simply add the \ before each quote..like u were simply makin a php code...it works.
for example Code:<img src="http://mysite.com/pic.gif"></img>
|
change it to
Code:<img src=\"http://mysite.com/pic.gif\"></img>
|
should work..ive only tested this with 1 version of nuke with patch 3.2 applied...ill continue further testing but ne1 got an idia on why the html tags are being stripped in the updated versions?
after further testing i see that u can no longer make a custom block with 7.9 patch 3.2..i know there is no support for this version but i personally like it and will continue to work with it tryin to develope as much support as i possibly can. |
_________________ For those who stand shall NEVER fall and those who fall shall RISE once more!! |
|
 |
 |
Guardian2003

|
Posted:
Thu May 04, 2006 3:12 am |
|
|
|
 |
myrtletrees

|
Posted:
Thu May 04, 2006 6:30 am |
|
darklord wrote: | ive also noticed that if u simply add the \ before each quote..like u were simply makin a php code...it works.
for example Code:<img src="http://mysite.com/pic.gif"></img>
|
change it to
Code:<img src=\"http://mysite.com/pic.gif\"></img>
|
should work..ive only tested this with 1 version of nuke with patch 3.2 applied...ill continue further testing but ne1 got an idia on why the html tags are being stripped in the updated versions?
after further testing i see that u can no longer make a custom block with 7.9 patch 3.2..i know there is no support for this version but i personally like it and will continue to work with it tryin to develope as much support as i possibly can. |
I tried that in the reviews module and it still does not work for me.
The image shows up when I preview the review, but as soon as I post it, the html is stripped. |
|
|
|
 |
|