Welcome to Geeklog, Anonymous Thursday, October 31 2024 @ 09:23 pm EDT
Geeklog Forums
HTML in signature tags.
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.
15
9
Quote
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
to
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']);
10
8
Quote
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?
9
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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
11
8
Quote
Status: offline
vadertech
Forum User
Full Member
Registered: 05/26/03
Posts: 329
Quote by Dirk:
Why does Geeklog remove certain HTML tags?
bye, 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.
8
8
Quote
All times are EDT. The time is now 09:23 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content