Page Index Toggle Pages: 1 [2]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Mail domain filter SP 1.3.1 (Read 14565 times)
JonRonson
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 1
Joined: Sep 16th, 2004
Re: Mail domain filter SP 1.3.1
Reply #15 - Sep 20th, 2004 at 6:25pm
Print Post  
Hi Carsten,

I just found this Mod today and installed it and it works great!!

I had been having a lot of problems on my board, mostly being caused by people using hotmail.com mail accounts.

Thanks to you they will no longer be able to keep signing up using hotmail accounts.

Thank you so very much for this Mod Smiley


John.
  
Back to top
 
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Mail domain filter SP 1.3.1
Reply #16 - Oct 15th, 2004 at 11:23am
Print Post  
@Carsten:
On my board you have to confirm your email address (enter it twice), dunno what mod I used for that (can't find any). Perhaps I did it manually.

Could you make your mod compatible to that? See attachment for my register.pl .
  

Register_Valtiel.zip ( 6 KB | Downloads )

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
tompocz
Full Member
***
Offline


The WORST day fishing
is better than the BEST
day

Posts: 124
Location: Adelaide
Joined: Dec 27th, 2002
Gender: Male
Re: Mail domain filter SP 1.3.1
Reply #17 - Feb 1st, 2005 at 9:48pm
Print Post  

Well after patiently waiting for some help pertaining to my prob (given hat I am NOT a perl expert), I decided, after many months to knuckle this prob out. (see post 12 in this thread).

Quote:
I think I found a bug - I could be wrong.

I have the following domains listed as INVALID domains as they are free email domains.

mail.com
email.com

When a member tries to register with a domain of "ozemail.com.au", which is a valid domain, they get an error of "invalid domain"

Can this be looked at. If it is a bug, then any domain that is banned, like "snappy.com", will also ban "snappying.com" or "snappying.com.au"

I was using beta 0.6, but checked with version 1 of this mod, and only one line is different.

I could wrong though in my assesment of the above !!

cheers
Tom


I finally worked it out, the changes required to the Register.pl file to resolve my prob. Thought someone might find it usedfull one day, if experiencing the same prob, hence my input here today.



     ($dummy, $memmaildom) = split(/\@/, $member{'email'},2);
     $x=0;
     $domcheck = $getsel;
     foreach $chkmaildom (@maildom) {
           chomp $chkmaildom;
           if($x>0) {
                 if($getsel == 0) {
#                        if($memmaildom =~ m/\Q$chkmaildom\E/ig) { $domcheck = 1; }  <-------------Old Line
                       if($memmaildom =~ m/^\Q$chkmaildom\E$/ig) { $domcheck = 1; } <-------------Changed
                 }
                 else {
#                        if($memmaildom =~ m/\Q$chkmaildom\E/ig) { $domcheck = 0; } <-------------Old Line
                       if($memmaildom =~ m/^\Q$chkmaildom\E$/ig) { $domcheck = 0; } <-------------Changed
                 }
           }
           $x++;
     }
  

The WORST day fishing is better than the BEST day working !
Back to top
WWW  
IP Logged
 
webitect
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: May 29th, 2006
Re: Mail domain filter SP 1.3.1
Reply #18 - May 29th, 2006 at 9:49am
Print Post  
Is this mod still available?  The link in the first post is no longer available and I could really use a copy of this mod.  Please help.

Thanks,
Chris
  
Back to top
 
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Mail domain filter SP 1.3.1
Reply #19 - May 29th, 2006 at 10:53am
Print Post  
I attached my version to this post, but I have altered it to work on my board and it's with german text. But better than nothing, I guess.
  

mail_domain_1_sp131.mod ( 5 KB | Downloads )

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
webitect
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: May 29th, 2006
Re: Mail domain filter SP 1.3.1
Reply #20 - May 29th, 2006 at 6:21pm
Print Post  
Thanks Valtiel, I saved a copy I'll check it out and see if I can work with it in German.

If anyone has an English based version though, I'd still appreciate a copy of that too.
  
Back to top
 
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Mail domain filter SP 1.3.1
Reply #21 - May 29th, 2006 at 6:25pm
Print Post  
Well, as it isn't much text, I translated it for you:

Code
Select All
%mdltxt = (
'01' => "Edit mail domains for registration",
'02' => "One mail domain per line",
'03' => "Forbidden mail domains",
'04' => "Allowed mail domains",
'05' => "The following mail domain isn't allowed on this board:"
); 



Just replace it in the mod file and replace "german.lng" with "english.lng", too.
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
webitect
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: May 29th, 2006
Re: Mail domain filter SP 1.3.1
Reply #22 - May 29th, 2006 at 6:27pm
Print Post  
Sweet!  Thanks Valtiel that was cool of you to translate for me.   Grin
  
Back to top
 
IP Logged
 
webitect
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 4
Joined: May 29th, 2006
Re: Mail domain filter SP 1.3.1
Reply #23 - May 31st, 2006 at 7:53am
Print Post  
Hey Valtiel, finally got a chance to install the mod with your english edit and everything works great, first try.  Thanks again so much for your help!

Chris

Cheesy Grin
  
Back to top
 
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Mail domain filter SP 1.3.1
Reply #24 - May 31st, 2006 at 9:34am
Print Post  
No prob  Smiley
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
rybus
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 1
Joined: Aug 19th, 2006
Re: Mail domain filter SP 1.3.1
Reply #25 - Aug 19th, 2006 at 1:47pm
Print Post  
Thanks Carsten and Valtiel - I am truly grateful for this mod - rogue users were starting to drive me insane.

H
Grin
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint