Have come across only one prob
When you type in hotmail.com as a banned domain, it blocks the registration as it should.
If you type in hot555mail.com is still blocks it and its NOT in the banned list.
If you block email.com, it works - its in the banned list
If you then register with ozemail.com.au, it still blocks it and this is a valid isp email domain. - its not in the banned list.
Also, as per the image, I made it more user friendlt inresponse where the following was done. It also shows that it has "hotmail.com" in it, but wwasshotmail.com is NOT in the banned list.
in Register.pl
replaced :
Quote:&fatal_error("$Distilled_Email_Domains_txt{'8'} $_.") if $member{'email'} =~ m/$_/i;
with:
Quote: ($dummy, $memmaildom) = split(/\@/, $member{'email'},2);
&fatal_error_banned_email_domain_register(" <b>UserID :</b> $member{'username'}<br> <b>Email Address :</b> $member{'email'}<p><center><b><span style=\"font-size:8pt ; weight:bold ; font-family:Arial,Helvetica,sans-serif ; color:#006600\">Sorry, Your Email Domain Address <font color=\"#ff0000\"><b>$memmaildom</b></font> is not permitted at <b><font color=\"#800000\">fish</font><font color=\"#0000ff\">SA</font><font color=\"#000000\">.com</font></b>.</span></b></center>") if $member{'email'} =~ m/$_/i;
Added to Subs.pl
Quote:sub fatal_error_banned_email_domain_register {
my $e = $_[0];
my $v = $_[1]; # Verbose puts . $! with the error message
$e .= "\n";
if ($v) { $e .= $! . "\n"; }
if ($elenable) {
&fatal_error_logging($e);
}
&LoadIMs;
$yymain .= qq~
<table border="0" width="80%" cellspacing="1" class="bordercolor" align="center" cellpadding="4">
<tr>
<td class="titlebg"><span class="text1"><b>$maintxt{'106'}</b></span></td>
</tr><tr>
<td class="windowbg"><br /><span style="font-size:8pt ; weight:bold ; font-family:Arial,Helvetica,sans-serif ; color:#000000">$e</span><br /><br /></td>
</tr><tr>
<td bgcolor="#eeeeee">
<span style="font-size:9pt ; font-family:Arial,Helvetica,sans-serif ; color:#ff0000"><b>Important Note :</b></span>
<br><span style="font-size:8pt ; font-family:Arial,Helvetica,sans-serif ; color:#000000">Please note that new users who wish to join <b><font color="#800000">F</font><font color="#0000ff">SA</font> Forum</b> using a free email address, <b>will not be allowed to succesfully register</b>, due to such email domains being classed as <b>Problematic Domains</b> to this site.</span>
<p><center><b><span style="font-size:8pt ; weight:bold ; font-family:Arial,Helvetica,sans-serif ; color:#006600">Sorry, Your Email Domain Address <font color="#ff0000"><b>$memmaildom</b></font> is not permitted at <b><font color="#800000">fish</font><font color="#0000ff">SA</font><font color="#000000">.com</font></b>.</span></b></center>
<p><span style="font-size:8pt ; font-family:Arial,Helvetica,sans-serif ; color:#000000">If however you believe this to be in error regarding <font color="#ff0000"><b>$memmaildom</b></font> at <b><font color="#800000">fish</font><font color="#0000ff">SA</font>.com</b>, then please contact the Forum Administrator by <a href="/email.php">using this Contact Form</a>, outlining the problem.</span>
</td></tr>
</table>
<center><br /><a class="text2aa" href="javascript:history.go(-1)">$maintxt{'193'}</a></center>
~;
$yytitle = "$maintxt{'106'}";
&template;
exit;
}
I also did a similiar thing to Profile.pl, but with a slightly different message for users who are already registered.
Hope the above helps
cheers
Tom