30
Here is a quick and dirty fix for this (removing images and html from signatures)
Edit the file /xoops/edituser.php, find this line :
le="color: #000000"><?php $edituser->setVar('user_sig', xoops_substr($_POST['user_sig'], 0, 255));
and replace it with :
le="color: #000000"><?php $signature = strip_tags($myts->xoopsCodeDecode($_POST['user_sig'], 1)); $edituser->setVar('user_sig', xoops_substr($signature, 0, 255));
The better will be to also modify the form used to modify your profile to change the dhtml area used for your signature to a simple text area but ... I have no time for it.
This will run for new users and users who edit their signatures, not for members who don't change anything.
Finally, here is a last tip, you can use it for the modules.
If you want, you can remove any html tag in any data from Smarty.
For example, if you take CBB, you can do it in the template called newbb_thread.html, search this line :
le="color: #000000"><?php <{$topic_post.post_signature}>
and replace it with :
le="color: #000000"><?php <{$topic_post.post_signature|strip_tags}>