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

Home » FUDforum » How To » How I can disable the email address?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How I can disable the email address? [message #167453 is a reply to message #167437] Fri, 22 June 2012 09:35 Go to previous messageGo to previous message
WhiteTiger is currently offline  WhiteTiger   Italy
Messages: 40
Registered: April 2012
Karma:
Member
I've done a simple and little change of the your code related to option "Obfuscate E-mails in NNTP posts".

at line 209 of nntp.inc
You change @ with [at] and the dot with [dot].
$from = str_replace(array('.', '@'), array('[dot]', '[at]'), $from);

My nntp server rejects this sintax with an error.
This is strange. Is it only a problem with Ethernal September?
If no, how is possible that nobody has never saw the error?
I'm still wrong somewhere else?

However I changed the row 209 with this:
$from = str_replace(array('@'), array('.nospam@nospam.'), $from);

The final result is: John(dot)Wayne(dot)nospam(at)nospam(dot)mydomain(dot)com

Bye


[Updated on: Fri, 22 June 2012 10:07]

Report message to a moderator

[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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to redirect Forum name?
Next Topic: Configuring FUDForum to use Exim MTA
Goto Forum:
  

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

Current Time: Fri Nov 29 08:27:48 GMT 2024

Total time taken to generate the page: 0.04698 seconds