Zixent

Anonymous
I have been trying to allow html in signature tags on my site but, I can't seem to get it to stop removing my code when i save the sigs. please help new geeklog release 1.3.9sr1.

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
HTML is automatically removed from signatures for security reasons and to stop people from putting strange HTML into their sigs that destroys page layouts. If you want to try enabling them, you will have to hack the core.

in usersettings.php, change
Text Formatted Code
$A['sig'] = strip_tags (COM_stripslashes ($A['sig']));
 


to
Text Formatted Code
$A['sig'] = COM_checkHTML($A['sig']);
 

jay

Anonymous
ive made this mod to my site and it will allow basic html but if i try to add an image it strips it out of the sig is there a way around this?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by jay: but if i try to add an image it strips it out of the sig is there a way around this?

Why does Geeklog remove certain HTML tags?

bye, Dirk

Status: offline

vadertech

Forum User
Full Member
Registered: 05/26/03
Posts: 329
Quote by Dirk:
Quote by jay: but if i try to add an image it strips it out of the sig is there a way around this?

Why does Geeklog remove certain HTML tags?

bye, Dirk


I have added

Text Formatted Code
 'img' => array('src' => 1, 'border' => 1, 'width' => 1, 'height' => 1, 'alt' => 1)

 


to $_CONF['user_html'] in config.php. I am still having no success at getting the image to work. Any ideas?
GeekLog Hosting, Installations and Upgrades - WWW.AWEHOST.COM - Hosting starts @ only $4.95/mo.