Subject: can ot add custom html cde to my articles

Posted on: 12/02/06 11:27pm
By: garfy

I want to add amazon code under my article so tha buyers would buy the link

and the geeklog doesbt accept it

is there a way to do that because i really need that


can ot add custom html cde to my articles

Posted on: 12/02/06 11:31pm
By: ByteEnable

If you are adding html code in the story editor, then its probably getting
stripped out by the kses filter. There is a way to turn it off in config.php.

Byte
LinuxElectrons

can ot add custom html cde to my articles

Posted on: 12/02/06 11:40pm
By: garfy

so how to turn it off

can someone tell me??


can ot add custom html cde to my articles

Posted on: 13/02/06 02:22pm
By: Dirk

// When set to 1, disables the HTML filter for all users in the 'Root' group.  
// Obviously, you should only enable this if you know what you're doing and    
// when you can trust all the users in the 'Root' group not to use this for    
// Cross Site Scripting, defacements, etc. USE AT YOUR OWN RISK!
$_CONF['skip_html_filter_for_root'] = 0;


bye, Dirk

can ot add custom html cde to my articles

Posted on: 13/02/06 10:07pm
By: Anonymous

[QUOTE BY= Dirk]
// When set to 1, disables the HTML filter for all users in the 'Root' group.  
// Obviously, you should only enable this if you know what you're doing and    
// when you can trust all the users in the 'Root' group not to use this for    
// Cross Site Scripting, defacements, etc. USE AT YOUR OWN RISK!
$_CONF['skip_html_filter_for_root'] = 0;



bye, Dirk[/QUOTE]

why is it so dangerous to enable this, is it because of the visitors who can hack the geeklog or something??

i am the only root user and i will be the only root user

is this option available in 1.3.11 or only in 1.4

thank you Dirk

can ot add custom html cde to my articles

Posted on: 28/07/06 12:06pm
By: Anonymous

doesn't seem to work for me, will it only work with 1.4 ver of geeklog

chers luke

can ot add custom html cde to my articles

Posted on: 28/07/06 02:23pm
By: Dirk

Yes, that option is only available as of 1.4.0.

The reason we usually filter HTML is that otherwise you could do all sorts of bad thing, e.g. inject JavaScript to do XSS, deface the site using CSS, etc.

bye, Dirk

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=63686