|
Re: urlencoding in some titles [message #33633 is a reply to message #33624] |
Mon, 11 September 2006 14:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Yeah... I suppose we could call urldecode() on the title value, but to me this seems so trivial, its not worth dealing with at an expense of an extra function call. That said if you want to change it on your forum, you need to edit 2 templates, drawmsg.tmpl and drawpmsg.tmpl and change
<a href="mailto: {VAR: obj->msnm}"><img alt="" src="{THEME_IMAGE_ROOT}/msnm{DEF: img_ext}" title="{VAR: obj->msnm}" /></a>
to
<a href="mailto: {VAR: obj->msnm}"><img alt="" src="{THEME_IMAGE_ROOT}/msnm{DEF: img_ext}" title="{FUNC: urldecode($obj->msnm)}" /></a>
FUDforum Core Developer
|
|
|
|
Re: urlencoding in some titles [message #33663 is a reply to message #33659] |
Tue, 12 September 2006 14:42 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The reason FUDforum stores the urlencoded value is to avoid having to do a real-time encoding, thus reducing the work that needs to be done. By the forum, perhaps one solution would be to use htmlencoding() that should work fine inside the title attribute.
This is something to be investigated...
FUDforum Core Developer
|
|
|
Re: urlencoding in some titles [message #33666 is a reply to message #33663] |
Tue, 12 September 2006 15:14 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Looks to be working, I've set it up for MSN and Google messengers that use e-mails for logins.
FUDforum Core Developer
|
|
|
|