vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Automatic email adress re-formatting to prevent harvesting (https://vborg.vbsupport.ru/showthread.php?t=148399)

tobias_t 05-29-2007 03:11 PM

Automatic email adress re-formatting to prevent harvesting
 
Hi everybody,

I am looking for a solution to have vBulletin automatically break up email addresses in postings to prevent address harvesting. So that if a user enters myname@domain.com, it would be "corrected" into myname @ domain.com or myname AT domain.com

I guess there is a solution for this already in place so please point me towards it :-)

Best, Tobias

Make Money? 05-29-2007 05:04 PM

Good One!

tobias_t 05-30-2007 11:34 AM

I was expecting this to be easy, but maybe it's not. Should I post this under mod suggestions instead?

Dismounted 05-31-2007 07:55 AM

I've just thought it through and it's not that hard, use some preg functions to sort them out.

tobias_t 05-31-2007 10:00 AM

Quote:

Originally Posted by Dismounted (Post 1258212)
I've just thought it through and it's not that hard, use some preg functions to sort them out.

Thanks! I am not exactly an ace with preg functions though, so any suggestions on how to implement this would be appreciated :)

Dismounted 05-31-2007 11:25 AM

Match a part of a string with @ followed by a . and make sure that they are alphanumeric.

tobias_t 06-06-2007 10:53 AM

OK, we are getting closer. I have no clue whatsoever about preg functions and would need a step-by-step type of explanation where and how to implement this. Any further help is appreciated :)

Thanks, Tobias

Dismounted 06-07-2007 06:39 AM

Read up on regular expression.

Dave Hawley 06-07-2007 07:48 AM

I think spammers are fully aware of this and work-around it. There should never be a need to post emails in posts anyway.

Dismounted 06-07-2007 11:42 AM

It's not to prevent spammers. It's to prevent email-harvesting bots.


All times are GMT. The time now is 03:12 AM.

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.01086 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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