Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
in adminadduser.php try commenting out the following lines with //

[]// ----------------------
// Check the email format
if (!eregi("^[+_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $Email)) {
$html -> not_right($ubbt_lang['BAD_FORMAT'] . $Email,$Cat);
}

// --------------------------------------
// Let's see if the email domain is valid
$bademails = file ("{$config['path']}/filters/bademail");
while (list($linenum,$line) = each($bademails)) {
$line = chop($line);
if ( (preg_match("/^\n/",$line)) || (preg_match("/^\r/",$line)) || (preg_match("/^#/",$line)) || !$line ) {
continue;
}
if (@eregi($line,$Email)) {
$html -> not_right("{$ubbt_lang['BAD_EMAIL']} $line.",$Cat);
}
}

[/]

and

[]// ---------------------------------------------------------------------
// If we do not allow multiple usernames for the same email address then
// we need to see if this email address is in the database
if (!$config['multiuser'] ) {
$Email_q = addslashes($Email);
$query = "
SELECT U_Email
FROM {$config['tbprefix']}Users
WHERE U_Email = '$Email_q'
OR U_RegEmail = '$Email_q'
";
$sth = $dbh -> do_query($query);
list($emailcheck) = $dbh -> fetch_array($sth);
$dbh -> finish_sth($sth);
if($emailcheck){
$html -> not_right($ubbt_lang['NO_MULTI'],$Cat);
}
}

[/]

but just for your own info.. they should really have at least the email address listed otherwise the only other way to contact them is to try and find them by IP..

Sponsored Links
Entire Thread
Subject Posted By Posted
Beta-[6.4] Add New Users via Admin Panel omegatron 01/08/2004 6:48 PM
Re: Beta-[6.4] Add New Users via Admin Panel scroungr 01/08/2004 7:10 PM
Re: Beta-[6.4] Add New Users via Admin Panel omegatron 01/08/2004 7:16 PM
Re: Beta-[6.4] Add New Users via Admin Panel scroungr 01/08/2004 7:20 PM
Re: Beta-[6.4] Add New Users via Admin Panel JoshPet 01/09/2004 10:31 AM
Re: Beta-[6.4] Add New Users via Admin Panel smilesforu 01/09/2004 11:22 AM
Re: Beta-[6.4] Add New Users via Admin Panel smilesforu 01/15/2004 1:02 PM
Re: Beta-[6.4] Add New Users via Admin Panel slayer60 01/15/2004 5:03 PM
Re: Beta-[6.4] Add New Users via Admin Panel omegatron 01/15/2004 5:13 PM
Re: Beta-[6.4] Add New Users via Admin Panel smilesforu 01/16/2004 1:56 AM
Re: Beta-[6.4] Add New Users via Admin Panel Phoenix 03/12/2004 3:21 PM
Re: Beta-[6.4] Add New Users via Admin Panel scroungr 03/12/2004 3:35 PM
Re: Beta-[6.4] Add New Users via Admin Panel Phoenix 03/15/2004 11:45 AM
Re: Beta-[6.4] Add New Users via Admin Panel Critical 03/16/2004 9:26 PM
Re: Beta-[6.4] Add New Users via Admin Panel omegatron 03/30/2004 2:44 PM
Re: Beta-[6.4] Add New Users via Admin Panel JoshPet 04/01/2004 9:02 PM
Re: Beta-[6.4] Add New Users via Admin Panel Tom_H 04/23/2004 11:12 AM
Re: Beta-[6.4] Add New Users via Admin Panel omegatron 04/28/2004 1:26 AM
Re: Beta-[6.4] Add New Users via Admin Panel UnixSpot 01/04/2005 8:45 PM
Re: Beta-[6.4] Add New Users via Admin Panel JoshPet 01/05/2005 6:57 AM
Re: Beta-[6.4] Add New Users via Admin Panel UnixSpot 04/28/2005 8:24 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)