Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.3
Author Message
spottedhog
Regular
Regular



Joined: Jun 02, 2004
Posts: 88

PostPosted: Tue Jul 06, 2004 9:52 am Reply with quote

I am not sure why, but now I am not allowed to put html code into anything on my 7.3 install with 2.5 security and Sentinel 1.2

here is the code it will not accept:

Quote:
<a href="http://www.ravenphpscripts.com/"></a>


Here is what I have in the AllowableHTML in the config.php file:

Quote:
$AllowableHTML = array("b"=>1,
"i"=>1,
"a"=>2,
"em"=>1,
"br"=>1,
"strong"=>1,
"blockquote"=>1,
"tt"=>1,
"li"=>1,
"ol"=>1,
"H1"=>1,
"H2"=>1,
"H3"=>1,
"H4"=>1,
"span"=>1,
"center"=>1,
"code"=>1,
"img"=>2,
"alt"=>1,
"table"=>2,
"tr"=>2,
"td"=>2,
"p"=>2,
"div"=>2,
"font"=>2,
"p"=>1,
"ul"=>1);


Each time now when I try to code in a link using the <a href, it will not let me do it..... in blocks or in the Tutorial module.... (that is all I tried it in) It lets me use i and b and br and p but not the a.......

What is the issue??????

thanks in advance.....
 
View user's profile Send private message Visit poster's website
spottedhog







PostPosted: Tue Jul 06, 2004 1:00 pm Reply with quote

hmmmmm...... not sure what I did wrong, but I uploaded a clean mainfile.php from the 2.5 security patch and it will now allow the "a" html code...... hmmmmm......
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue Jul 06, 2004 1:07 pm Reply with quote

It's the word script in ravenphpscripts. Try this instead
Code:
http://ravenphp%73cripts.com
 
View user's profile Send private message
spottedhog







PostPosted: Tue Jul 06, 2004 6:13 pm Reply with quote

geez...... color me stupid...... Rolling Eyes Smile
 
Raven







PostPosted: Tue Jul 06, 2004 7:09 pm Reply with quote

Bang Head
 
djw2
Regular
Regular



Joined: Sep 19, 2003
Posts: 95
Location: St. Louis, MO

PostPosted: Sun Jul 11, 2004 12:27 pm Reply with quote

Hey there,

I have a question about this that hopefully someone can clear up for me.

Raven, you said to use %73 in place of the s in the link, and this works perfectly.

My question is, the ISO Latin 1 character set shows a small s as & #115;... what's the difference?

I'm asking because I'm using the Sommaire menu and it doesn't accept apostrophes and I have to use & #39;. The problem is that every time I open the menu administration all the & #39;s convert to ' and I have to remember to change them back or it wipes out the entire menu. The %73 you use for the s never changes, when you go to administration it's always %73 and there's nothing to worry about.

I'd like to figure out a similar solution for the ' in Sommaire. Actually I'd like to fix Sommaire but... a similar solution will work for now.


Thanks a lot.

Dan

_________________
It has become appallingly obvious that our technology has exceeded our humanity.

--Albert Einstein 
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Raven







PostPosted: Sun Jul 11, 2004 3:45 pm Reply with quote

%73 is hex(73) = decimal(115) Wink
so
%27 is hex(27) = decimal(39)

So, try %27, but that is for urls, so I'm not sure this is where you have the issue. You might also try \' instead of & #39.
 
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.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.3

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©