YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
validating email addresses (Read 3,414 times)
 Sep 30th, 2005 at 8:34am
There are no actions to perform.  

old goat 
YaBB Legends (Inactive)
*
Offline
Posts: 2,488
York, UK


None
validating email addresses
is there a sub already in place to validate imported emails?
 
Please don't PM me for support - I'll only go and ignore it!
old goat smb000111  
IP Logged  
 Reply #1 - Oct 1st, 2005 at 6:15am
There are no actions to perform.  

Matt Siegman 
YaBB Legends (Inactive)
*
Offline
Posts: 3,380
Wichita, KS


None
Re: validating email addresses
Huh

???
 
-- Matt Siegman 8) Wish List
 
IP Logged  
 Reply #2 - Oct 1st, 2005 at 6:23am
There are no actions to perform.  

old goat 
YaBB Legends (Inactive)
*
Offline
Posts: 2,488
York, UK


None
Re: validating email addresses
Part of the process of converting yabb 1 to yabb 2 involves validating the user name for bad characters.
Its not impossible that email addresses stored in another forum's format could contain invalid characters. Does Yabb 1 have any sub to valildate the email address input by a new user, that could be used to check one being imported from another forum during the convert?
 
Please don't PM me for support - I'll only go and ignore it!
old goat smb000111  
IP Logged  
 Reply #3 - Oct 1st, 2005 at 11:45am
There are no actions to perform.  

Tea-Master 
YaBB Legends (Active)
*
Offline
Posts: 3,623
Germany


None
Re: validating email addresses
of course. the following is used by Y2.

Code Select All
SHOW_ERROR  if (EMAIL !~ /[\w\-\.\+]+\@[\w\-\.\+]+\.(\w{2,4}$)/);
SHOW_ERROR  if ((EMAIL =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)|(\.$)/) || (EMAIL !~ /\A.+@\[?(\w|[-.])+\.[a-zA-Z]{2,4}|[0-9]{1,4}\]?\Z/));
 

« Last Edit: Oct 1st, 2005 at 1:03pm by Tea-Master »  
--> also known as Agent Zed Wink
 
IP Logged  
 Reply #4 - Oct 1st, 2005 at 12:21pm
There are no actions to perform.  

old goat 
YaBB Legends (Inactive)
*
Offline
Posts: 2,488
York, UK


None
Re: validating email addresses
thanks Tea-Master - that's whjat I was after! Smiley
 
Please don't PM me for support - I'll only go and ignore it!
old goat smb000111  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.