Welcome to Geeklog, Anonymous Sunday, December 01 2024 @ 02:38 pm EST
Geeklog Forums
Allow html in profile?
Status: offline
casper
Forum User
Full Member
Registered: 02/11/04
Posts: 142
Location:Skien, Norway
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
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
13
11
Quote
Status: offline
casper
Forum User
Full Member
Registered: 02/11/04
Posts: 142
Location:Skien, Norway
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...
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...
16
12
Quote
All times are EST. The time is now 02:38 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