Author |
Message |
mds
Client
Joined: Dec 24, 2004
Posts: 194
Location: Michigan
|
Posted:
Fri Jan 19, 2007 10:23 pm |
|
I added this email to the ban email list in the forum admin last night *@mail.ru however two more spam user accounts where created today using same email extension ...how can i prevent certain emails being used for registration ? i am still searching here but havnt came up with anything yet. |
|
|
|
|
Dauthus
Worker
Joined: Oct 07, 2003
Posts: 211
|
Posted:
Fri Jan 19, 2007 11:12 pm |
|
The easiest way I can think of is to add the following code to the userCheck function. This should be located in the Your Account index file. (Sorry, but I don't use RavenNuke so I am not too familiar with the CNBYA module)
Code:if (eregi("(mail.ru)$",$user_email)) $stop = "<center>"._ERRORINVEMAIL."</center><br>";
|
This will give the error message of "Invalid Email Address" if the letters mail.ru are used in the email form on the registration page. It is fairly easy to add additional mail extensions by following the below example.
Code:if (eregi("(mail.ru)|(mail.xy)|(mail.ab)|(mail.cd)$",$user_email)) $stop = "<center>"._ERRORINVEMAIL."</center><br>";
|
I'm sure the RavenNuke coders will be able to help with finding the proper location for the code, if you choose to use it. |
_________________ Only registered users can see links on this board! Get registered or login!
Vivere disce, cogita mori |
|
|
|
mds
|
Posted:
Fri Jan 19, 2007 11:18 pm |
|
Thank you for the reply i will be looking for that |
|
|
|
|
mds
|
Posted:
Fri Jan 19, 2007 11:27 pm |
|
Thank you for the reply i found this in userCheck function
(!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$",$user_email))) $stop = "<center>"._ERRORINVEMAIL."</center><br>";
should i just replace your (mail.ru) with [mail.ru] or is (mail.ru) acceptable as well ? |
|
|
|
|
Dauthus
|
Posted:
Fri Jan 19, 2007 11:29 pm |
|
try adding the code on a new line directly below the line you just posted. Let me know the results. |
|
|
|
|
Guardian2003
Site Admin
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Jan 20, 2007 3:41 am |
|
Just add @mail.ru to Sentinels string blocker Thats much easier and is one less file edit to remember to re-instate if there are any updates. |
|
|
|
|
Dauthus
|
Posted:
Sat Jan 20, 2007 10:10 am |
|
Guardian, I don't know how many times the specific phrase of @mail.ru would be used in text throughout a site, but if someone didn't want mail accounts from aol, msn, and yahoo registering on their sites and added them to the string blocker, would they even be able to use the words aol, msn or yahoo anywhere in their site using that method? |
|
|
|
|
evaders99
Former Moderator in Good Standing
Joined: Apr 30, 2004
Posts: 3221
|
Posted:
Sun Jan 21, 2007 1:04 am |
|
Assuming you did @msn.com , @yahoo.com , etc.
Besides, people shouldn't be posting their emails in public anyway.
I wouldn't really want to block those, but @mail.ru is a definite. They don't take an precaution on who uses their emails apparently.
Just for your info:
[mail.ru] is different from (mail.ru) in regular expressions. So the correct choice here is (mail.ru)
You can add other phrases by seperating with a pipe |
(mail.ru|web.de|gawab.com|cashette.com)
is what I recommend blocking |
_________________ - Only registered users can see links on this board! Get registered or login! -
Need help? Only registered users can see links on this board! Get registered or login! |
|
|
|
death_dream
Hangin' Around
Joined: Aug 10, 2006
Posts: 38
|
Posted:
Fri Feb 02, 2007 8:04 am |
|
So add "(mail.ru|web.de|gawab.com|cashette.com)" to "String List Add" evaders99?
~Death Dream~ |
|
|
|
|
evaders99
|
Posted:
Fri Feb 02, 2007 10:57 am |
|
No, I meant to add that to the code Dauthus provided.
You will need to add those individual to Sentinel's string blocker |
|
|
|
|
death_dream
|
Posted:
Fri Feb 02, 2007 6:21 pm |
|
Thanks evader that did the trick I think lol. The d*** guy started to use gmail accounts >.> What the hell am I suppose to do now? I have been just going in manually and deleting them and I think that might be the only way.
~Death Dream~ |
|
|
|
|
evaders99
|
Posted:
Sat Feb 03, 2007 12:40 am |
|
Wait for the better CAPTCHA in the next RavenNuke release, see if it stops these bots or not |
|
|
|
|
death_dream
|
Posted:
Sat Feb 03, 2007 6:21 am |
|
Well I don't use RavenNuke I just use NukeSentinel 2.5.00.
~Death Dream~ |
|
|
|
|
mds
|
Posted:
Sat Feb 03, 2007 2:38 pm |
|
yea the above code worked for me.. havnt had any registrations with the mail.ru since added..thanks very much |
|
|
|
|
|