Log in

View Full Version : Signature Editor edits?


SoftWareRevue
03-02-2006, 01:36 AM
I cannot find a way to stop the signature editor from parsing URLs.

Can someone point me in the right direction?

We want members to be able to use vb code in their signatures. So, shutting it off is not an option..

But the signature editor in user cp parses everything it perceives as a link.

We allow two active links in signatures.

It's not uncommon for someone to have more, and yet not have them formatted. It's within the guidelines. But, it's not within the sig editor.

It's not uncommon for someone to have two links and their email address simply displayed. But the editor links the email address and puts them over limit.

Can someone explain how to get the signature editor to allow an option, like when posting, to "automatically parse URLs?"

ub3x
03-02-2006, 02:56 AM
Well, that's an interesting incident.

It seems the vB folk had to disable the display of this option. Why? I think I remember some announcement being made about some possible XSS vuln in some bbcode utilities.

So, the vB people changed their templates to disable the showing of the "parseurl" option. This can be found in several templates:

<input type="hidden" name="parseurl" value="1" />

This turns the parsing of urls on, and hides the option away from all of us.

So, if you change the templates to reflect:

<input type="hidden" name="parseurl" value="0" />

It should continue hiding the option, and also turn off the parsing of the links.

The templates this can be found in:

calendar_edit
editpost
newpoll
newreply
newthread
pm_newpm
SHOWTHREAD
threadadmin_mergeposts
usernote_note

if you wanna show the option, change it to:

<input type="checkbox" name="parseurl" id="parseurl" checked="checked" /> <label for="parseurl">Automatically Parse URLs to BBCode</label>

Gooooooooooooood luck.