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

Home » FUDforum Development » Plugins and Code Hacks » NNTP mung email addresses
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
NNTP mung email addresses [message #14245] Mon, 10 November 2003 23:44 Go to next message
hy2jinxnc is currently offline  hy2jinxnc   United States
Messages: 25
Registered: October 2003
Location: NC
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

The users of my forum asked to have their email addresses munged in some way when their posts appeared on the NNTP server. While I don't claim this to be the best way to do it Smile , it is what I came up with on the fly..
Address was:
Name <email(at)domain(dot)com>

Changes to:
Name <email_at_domain_dot_com_fixme_>


But only on the NNTP side. Of course a good harvester could still strip the address out, but it calms my users.

Just throwing it out in case someone else may want it.

Patch is based on 2.6.0RC4.
Re: NNTP mung email addresses [message #14280 is a reply to message #14245] Tue, 11 November 2003 13:56 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
I've added a similar feature to RC5.

FUDforum Core Developer
Re: NNTP mung email addresses [message #14444 is a reply to message #14280] Thu, 13 November 2003 23:48 Go to previous messageGo to next message
hy2jinxnc is currently offline  hy2jinxnc   United States
Messages: 25
Registered: October 2003
Location: NC
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

One problem with your implementation that I see in RC5... If a name, not the email address, contains a "." or a "@" then the name is messed up as well. For example:
F. Name <namef(at)domain(dot)com>

becomes:
F[dot] Name <namef[at]domain[dot]com>

Hence the "find the email address only" part I borrowed and used in my munging. What I used was probably overkill because the post is coming from FUD and FUD will format the email address a certain way.
Re: NNTP mung email addresses [message #14453 is a reply to message #14444] Fri, 14 November 2003 09:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
That's not a problem, IMO.

FUDforum Core Developer
Re: NNTP mung email addresses [message #14470 is a reply to message #14453] Fri, 14 November 2003 15:00 Go to previous message
hy2jinxnc is currently offline  hy2jinxnc   United States
Messages: 25
Registered: October 2003
Location: NC
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user

It's unprofessional looking, IMO. No matter, I'll fix my own since there are other personal hacks I've add to nntp.inc.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Use .htaccess for authentication
Next Topic: make the bold tag operate like the image tag
Goto Forum:
  

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

Current Time: Fri Oct 20 13:46:21 EDT 2017

Total time taken to generate the page: 0.00743 seconds