Status: offline

casper

Forum User
Full Member
Registered: 02/11/04
Posts: 142
Where to look to disable stripping of html in the textareas in profile, ie texarea "about" and "pgpkey".
Wanting to put in HTMLarea there, and let members create more graphical profiles.

Status: offline

casper

Forum User
Full Member
Registered: 02/11/04
Posts: 142
Found it :p
Comented this line in usersettings.php
$A['about'] = strip_tags (COM_stripslashes ($A['about']));
and that worked. But..
When saving, it automatically adds backslash with every quotes ("/'), and after saving two times it gets filled..
And, it should be nice to incorporate alloved html-tags in this one so I could have som restrictions.

Any help? Fel free to post

Status: offline

casper

Forum User
Full Member
Registered: 02/11/04
Posts: 142
Think I found a solution...
added this instead of the line I commented out
$A['about'] = addslashes(COM_checkHTML(COM_checkWords($A['about'])));
Seems to work as intended, anyone have something to notice?

Start on integrating htmlarea now.

EDIT: It works perfect, and now my GL is yet better
With Upage, journals, gallery, myChat, forum, a members list ++ it is now a full blown community.
Should have showed it, but unfortionatly it is all in norwegian with no plans of translate all customisations...