Welcome, Guest. Please Login or Register.
November 26, 2024, 04:40:27 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Registration Problem « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Registration Problem  (Read 326 times)
zillion
Noobie
*
Posts: 6


Llama butties? Yummy!

Registration Problem
« on: September 29, 2003, 07:56:58 PM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version:
MySQL Version:
Server Platform: Unix, Linux, or BSD
Link to Forum:

Problem Description:
I have a group of people who cannot register because their (quite valid) email address: somebodysomewhere.info is being rejected as invalid.  

Help appreciated. Any ideas anyone?
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Registration Problem
« Reply #1 on: September 29, 2003, 08:15:44 PM »
Reply with quote

Something I remembered because I participated in the original thread:

Quote from: Douglas on May 22, 2003, 03:45:44 PM
Good morning, Cerebrus.  I've found a temporary solution for you, as per

http://www.php.net/manual/en/function.eregi.php

Go into your Sources folder and grab Register.php.

We're going to be focussing on Lines 198 and 199 (Search for "!eregi").

Currently, it's as follows:
Quoteif (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $member['email']))
     fatal_error("$member[user] $txt[500]");

You may want to try to change the {2,3} to {2,4} to see if that helps.  If not (since it could very well restrict .museum domains), then you may want to take a peek at

http://www.php.net/manual/en/function.eregi.php.

I'll be sure to let the Devel team know about this thread, though.
Logged

zillion
Noobie
*
Posts: 6


Llama butties? Yummy!

Re:Registration Problem
« Reply #2 on: September 29, 2003, 08:23:51 PM »
Reply with quote

Gulp!

Right, thanks for that.  I'll have a poke in Register.php

Ta!
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Registration Problem
« Reply #3 on: September 29, 2003, 11:02:27 PM »
Reply with quote

Also might mess with Profile.php.  This has been fixed in SMF.

-[Unknown]
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Registration Problem
« Reply #4 on: September 29, 2003, 11:28:29 PM »
Reply with quote

Quote from: [Unknown] on September 29, 2003, 11:02:27 PM
Also might mess with Profile.php.

Shouldn't be necessary?

I've just checked an untouched 1.5.4 Profile.php and it's already been fixed exactly as Douglas suggests...
« Last Edit: September 29, 2003, 11:33:05 PM by Peter Duggan » Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Registration Problem « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.048 seconds with 21 queries.