Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 05-28-2012, 12:23 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disco_Stu View Post
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.
Reply With Quote
  #12  
Old 05-28-2012, 12:37 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could always add a bademail message that states if you think this is wrong, please contact the Admin at wherever.
Reply With Quote
  #13  
Old 05-28-2012, 01:17 AM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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.
Reply With Quote
  #14  
Old 05-28-2012, 01:22 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 05-28-2012, 01:38 AM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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.
Reply With Quote
  #16  
Old 05-28-2012, 01:52 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 05-28-2012, 10:50 AM
cloferba cloferba is offline
 
Join Date: Apr 2009
Posts: 437
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
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
Reply With Quote
  #18  
Old 05-28-2012, 11:19 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cloferba View Post
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07230 seconds
  • Memory Usage 2,237KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete