Guest Posted October 29, 2002 Share Posted October 29, 2002 Has anyone figured out how to disable the HTML stripping in the reviews? I'm wanting to include some pics and links in the client's reviews and have not found a way to disable the stripping. Link to comment Share on other sites More sharing options...
Guest Posted November 1, 2002 Share Posted November 1, 2002 that could be a dangerous thing to permit to your visitors :? someone might get mad and start adding porn pictures and so... Link to comment Share on other sites More sharing options...
mattice Posted November 1, 2002 Share Posted November 1, 2002 You could implement something like the BBCode we use here... That way you can limit things a bit. "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
Guest Posted November 1, 2002 Share Posted November 1, 2002 Well, i have the contribution added that forces all reviews to be approved by an admin. So I'm not to worried about inappropriate content. So does anyone have any ideas? Link to comment Share on other sites More sharing options...
watchman Posted November 1, 2002 Share Posted November 1, 2002 The function in PHP which does this is called HTMLSpecialChars() so if you do a search for all instances of this in the catalog and remove them that should do the trick. Link to comment Share on other sites More sharing options...
mattice Posted November 1, 2002 Share Posted November 1, 2002 Well, i have the contribution added that forces all reviews to be approved by an admin. So I'm not to worried about inappropriate content. So does anyone have any ideas? You could still inject SQL though, resulting in worse things then some naked chick on your site... "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
Guest Posted November 8, 2002 Share Posted November 8, 2002 So just remove HTMLSpecialChars(). Nothing else has to be done? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.