Welcome to Geeklog, Anonymous Saturday, August 31 2024 @ 11:42 pm EDT

Geeklog Forums

HTML in profile sigs.


cybersnac

Anonymous
Is there a way to allow HTML in profile signatures? I would like my members to be able to attach an image in their signatures.
 Quote

cybersnac

Anonymous
I found this line in usersettings.php, would this be the line I need to edit?

$A['sig'] = strip_tags (COM_stripslashes ($A['sig']));
 Quote

cybersnac

Anonymous
Just commented out the above line and it now will keep the tags I specify in the signature field but when I save the settings my img src link goes from looking like this...



To this...



Any suggestions?
 Quote

cybersnac

Anonymous
The above example didn't work trying again.

Just commented out the above line and it now will keep the tags I specify in the signature field but when I save the settings my img src link goes from looking like this...

img src="http://www.cybersnac.com/images/signature.jpg"

To this..

img src="http://www.cybersnac.com/images/signature.jpg"

Any suggestions?
 Quote

cybersnac

Anonymous
Bah...anyway GeekLog is putting back slashes at the beginning and end of the image url.
 Quote

All times are EDT. The time is now 11:42 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