vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Multi-dotted email addresses (https://vborg.vbsupport.ru/showthread.php?t=283497)

kh99 05-28-2012 12:23 AM

Quote:

Originally Posted by Disco_Stu (Post 2333711)
Not all emails with more than one dot are spam. My primary email account is through Time Warner's Road Runner service and it has the format of "name@city.rr.com"

Well, this code only checks the name part. But even so, I think it's true that there will be some valid email addresses with more than one dot in the name part. I guess the idea is that that will be pretty rare compared to spammer email addresses.

Boofo 05-28-2012 12:37 AM

You could always add a bademail message that states if you think this is wrong, please contact the Admin at wherever.

Snowhog 05-28-2012 01:17 AM

Quote:

Originally Posted by kh99 (Post 2333713)
Well, this code only checks the name part. But even so, I think it's true that there will be some valid email addresses with more than one dot in the name part. I guess the idea is that that will be pretty rare compared to spammer email addresses.

I can accept that 'two' dots could be used in the name part of an email, if one was using their full name, including the middle initial:

joe.d.smith@email.com

as an example. So, one would just need to modify:

$max_dots = 1;

to

$max_dots = 2;

and good to go.

The point of my original question and observation, is that spammers use email addresses with multiple periods; more than two; in them.

kh99 05-28-2012 01:22 AM

lol, I suppose we should continue this discussion in the *mod thread*: https://vborg.vbsupport.ru/showthread.php?t=283540

I really don't mind if someone wanted to release a mod with this idea (it wasn't my idea in the first place), but I was hoping for a little more than copying my post verbatim. :(

Snowhog 05-28-2012 01:38 AM

Quote:

Originally Posted by kh99 (Post 2333739)
lol, I suppose we should continue this discussion in the *mod thread*: https://vborg.vbsupport.ru/showthread.php?t=283540

I really don't mind if someone wanted to release a mod with this idea (it wasn't my idea in the first place), but I was hoping for a little more than copying my post verbatim. :(

Hehe.

My question and your code, along with the discussion that ensued, has the potential of being incorporated into a really useful plugin or a MOD. If a MOD, the commentary about being able to specify what characters and how many to check for would be wonderful.

kh99 05-28-2012 01:52 AM

I posted some code in that other thread to handle multiple characters (I hope - I didn't test it).

You know, I'm not even sure that there isn't something like this out there already. I didn't do a search at all.

cloferba 05-28-2012 10:50 AM

Quote:

Originally Posted by kh99 (Post 2333739)
lol, I suppose we should continue this discussion in the *mod thread*: https://vborg.vbsupport.ru/showthread.php?t=283540

I really don't mind if someone wanted to release a mod with this idea (it wasn't my idea in the first place), but I was hoping for a little more than copying my post verbatim. :(

Well, I consider this important so it is better to have your code as a modification and not in a single reply. Feel free to improve it ;)

kh99 05-28-2012 11:19 AM

Quote:

Originally Posted by cloferba (Post 2333847)
Well, I consider this important so it is better to have your code as a modification and not in a single reply. Feel free to improve it ;)

Yeah, it's OK, truth is I probably would never have gotten around to it, and you did mark it reusable. It's just that it really should at least be a product and have the "max_dots" as a setting.


All times are GMT. The time now is 08:08 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01034 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete