PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
manunkind
Client


Joined: Apr 26, 2004
Posts: 368
Location: Albuquerque, NM

PostPosted: Fri Apr 07, 2006 7:42 pm Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
Robster
New Member
New Member


Joined: Apr 03, 2006
Posts: 14

PostPosted: Sat Apr 08, 2006 6:30 pm Reply with quote Back to top

registered on that site, now its down and i never got a email Sad
View user's profile Send private message
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Apr 09, 2006 1:17 am Reply with quote Back to top

Sorry guys, server is down for maintenance (planned re-image)
View user's profile Send private message Visit poster's website
Robster
New Member
New Member


Joined: Apr 03, 2006
Posts: 14

PostPosted: Tue Apr 11, 2006 1:34 am Reply with quote Back to top

Oh Sad Any eta?
View user's profile Send private message
daemon
Worker
Worker


Joined: Jan 07, 2005
Posts: 163

PostPosted: Tue Apr 11, 2006 3:30 am Reply with quote Back to top

you still trying to put image in block?
View user's profile Send private message Visit poster's website AIM Address
Robster
New Member
New Member


Joined: Apr 03, 2006
Posts: 14

PostPosted: Tue Apr 11, 2006 6:11 am Reply with quote Back to top

yea trying to use html in blocks.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Tue Apr 11, 2006 6:20 am Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Tue Apr 11, 2006 8:00 am Reply with quote Back to top

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)
View user's profile Send private message Visit poster's website
daemon
Worker
Worker


Joined: Jan 07, 2005
Posts: 163

PostPosted: Tue Apr 11, 2006 9:13 am Reply with quote Back to top

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>";
?>
View user's profile Send private message Visit poster's website AIM Address
myrtletrees
Involved
Involved


Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Mon May 01, 2006 9:45 am Reply with quote Back to top

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.
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1497
Location: In front of a screen....HELP! lol

PostPosted: Wed May 03, 2006 7:43 pm Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Thu May 04, 2006 3:12 am Reply with quote Back to top

Hmm, interesting..
View user's profile Send private message Send e-mail Visit poster's website
myrtletrees
Involved
Involved


Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Thu May 04, 2006 6:30 am Reply with quote Back to top

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.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum