Put HTML to users signature?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
9/12/2008 2:54:44 PM
Gravatar
Total Posts 33
www.jaosobne.cz
Windows Server 2008 R2
Microsoft SQL Server 2008
MojoPortal 2.3.6.2

Put HTML to users signature?

Is there any way how to put HTML code into user's signature? And if so, is there any way to restrict it to avoid XSS and stuff? I'd like to place the Zune card there, which is a couple of DIVs and an EMBED embedding Flash. Thank you.

9/13/2008 5:17:18 AM
Gravatar
Total Posts 18439

Re: Put HTML to users signature?

Hi,

You can enter raw html into the signature, but it is limited to 255 chars, I'm not sure that is enough to fit your flash object unless maybe you load it in an iframe.

By default the signature is wrapped in an "UntrustedContent" control (we use NeatHtml to prevent XSS) so javascriipt or objects won't be allowed by default, but if you find your own user account on your site member list and click the gear icon to get to the manage user page, you will find a checkbox that says "Trusted". If you mark a user as Trusted then we render the signature without wrapping it in NeatHtml so javascript or objects are allowed.

Hope it helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.