FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Forum email address conversion  () 1 Vote
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Forum email address conversion [message #23724 is a reply to message #23703] Sun, 27 March 2005 16:13 Go to previous messageGo to previous message
krbvroc1 is currently offline  krbvroc1   United States
Messages: 31
Registered: February 2005
Karma:
Member
krbvroc1 wrote on Sat, 26 March 2005 16:28

Ilia wrote on Sat, 26 March 2005 10:08

fixed in cvs.


I applied the CVS (just for file email_msg_format.inc) and am having a problem. Instead of the

user(at)fudforum(dot)org showing up on the NNTP server as plain text, it shows up as HTML code.

test again of <a href="mailto:user(at)fudforum(dot)org" target="_blank">user(at)fudforum(dot)org</a><br />

(Note: I've got HTML posting disabled, only Fudcode allowed on my forum config since it gates to both a newsgroup and a mailing list).


If I simply add the code to my version 1.12 of email_msg_format.inc

/* handle encoded e-mails */
if (strpos($data, '@') !== false) {
$data = str_replace('@', '@', $data);
}

it works. It seems for some reasons that the latest CVS of this file (1.13) broke something. The following (from 1.12) works

$data = strip_tags($data);
reverse_fmt($data);

return html_entity_decode($data);

BUT this (from 1.13) DOESN'T:

return html_entity_decode(reverse_fmt(strip_tags($data)));

Huh?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Previous Topic: Forum navigation
Next Topic: Search Tree View
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 02:03:24 GMT 2024

Total time taken to generate the page: 0.05366 seconds