vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Gmail Registration Fixer (https://vborg.vbsupport.ru/showthread.php?t=218153)

GameDude 07-07-2009 10:00 PM

Gmail Registration Fixer
 
1 Attachment(s)
What this Modification does:
If you require unique email addresses, people can still use a Gmail account to register multiple times by placing .'s in the address or by using the @googlemail.com extension. vBulletin will see these as unique emails; however, they will go to the same email. This modification fixes that problem.

Installation:
Just import the product in your Admin CP.

Notes:
If you wish to customize the error message, the phrase is called "gmail_same_email" in the Phrase Manager. You must have the "Require Unique Email Addresses" option enabled for this modification to work.

Updates:
Version 1.01
- Modification now fixes the user+something@gmail.com problem.

Hornstar 07-09-2009 09:14 AM

Can you expand on how users can place .'s in the address to register multiple times. I'd like to check to see if any users have been doing that on my site. thanks.

GameDude 07-09-2009 10:44 AM

Sure, I can do that. Say a user signs up with usera@gmail.com. They could sign up again with like user.a@gmail.com or usera@googlemail.com. vBulletin will think these are unique addresses because they are different, but they are delivered to the same usera@gmail.com address. The .'s could be placed anywhere before the "@" (and I am fairly certain you can also use them in conjunction with the @googlemail.com extension).

Qwest 07-09-2009 01:50 PM

Smart fix.

Thanks.

GameDude 07-09-2009 03:52 PM

I'm glad you find it useful. Also, I forgot to put in the first post that the "Require Unique Email Addresses" option must be enabled for the modification to work.

Calash 07-09-2009 06:01 PM

gmail also allows you to use + in the email. Not sure if VB picks up on that or not.

So user@gmail.com and user+vb@gmail.com go to the same address.

It is a nice feature to see who is passing out your email but it may cause the same problem.

GameDude 07-09-2009 07:02 PM

The + problem is now detected and stopped.

KingPin6 07-09-2009 10:32 PM

thank you :)

terminator2k2 07-11-2009 09:18 AM

does it work also in vb 3.7.6?

Oblivion Knight 07-11-2009 09:52 AM

I wasn't even aware such an issue existed.

This is most definately installed, thanks.

GameDude 07-11-2009 11:40 AM

Quote:

Originally Posted by terminator2k2 (Post 1846856)
does it work also in vb 3.7.6?

I should work on any version of vBulletin that has the product/plugin system, so yes.

EagleNick 07-13-2009 05:06 PM

What about e-mail addresses that are registered with a period to begin with? Are they blocked?

For example, my e-mail address is firstname.lastname@gmail.com. That's how I registered it when I signed up for the Gmail account. Therefore, that is not the same as FirstnameLastname@gmail.com. Would I be allowed to register with my e-mail address or not?

GameDude 07-13-2009 07:37 PM

Quote:

Originally Posted by EagleNick (Post 1848219)
What about e-mail addresses that are registered with a period to begin with? Are they blocked?

For example, my e-mail address is firstname.lastname@gmail.com. That's how I registered it when I signed up for the Gmail account. Therefore, that is not the same as FirstnameLastname@gmail.com. Would I be allowed to register with my e-mail address or not?

As long as any variation of the email address hasn't been registered, you will be able to register with that email. Even if it did entirely block emails with .'s in them (which it does not), you would still be able to register with FirstnameLastname@gmail.com and receive the email at your Firstname.Lastname@gmail.com email address.

KevinL 07-16-2009 06:15 PM

Quote:

Originally Posted by EagleNick (Post 1848219)
What about e-mail addresses that are registered with a period to begin with? Are they blocked?

For example, my e-mail address is firstname.lastname@gmail.com. That's how I registered it when I signed up for the Gmail account. Therefore, that is not the same as FirstnameLastname@gmail.com. Would I be allowed to register with my e-mail address or not?

Quote:

Originally Posted by GameDude (Post 1848269)
As long as any variation of the email address hasn't been registered, you will be able to register with that email. Even if it did entirely block emails with .'s in them (which it does not), you would still be able to register with FirstnameLastname@gmail.com and receive the email at your Firstname.Lastname@gmail.com email address.

But I think (maybe I am wrong) what Nick is asking is those 2 emails are not the same? Right? I registered my email the same way first.last@gmail.com so you are telling me firstlast@gmail.com is the same email address? So I can register with firstlast@gmail.com and that email will go to first.last@gmail.com? For some reason that doesn't seem right to me...

Or am I being daft? lol

GameDude 07-16-2009 08:34 PM

Quote:

Originally Posted by KevinL (Post 1850062)
But I think (maybe I am wrong) what Nick is asking is those 2 emails are not the same? Right? I registered my email the same way first.last@gmail.com so you are telling me firstlast@gmail.com is the same email address? So I can register with firstlast@gmail.com and that email will go to first.last@gmail.com? For some reason that doesn't seem right to me...

Or am I being daft? lol

Those emails are the same address on Gmail. :p

KevinL 07-16-2009 10:50 PM

Quote:

Originally Posted by GameDude (Post 1850139)
Those emails are the same address on Gmail. :p

Whoa! What is the point of the "." then? LOL!!

I guess I could have just tried logging in but I never knew this! Wow...

Thanks!!

BigDog56 07-19-2009 01:29 PM

Didn't know this either, lol. Thank you very much!

jacobomoya 02-08-2010 12:53 PM

Doesn't seem to work properly to me. While it indeed blocks attempts to register using variations of the gmail account address, it also seems to randomly block gmail accounts which are certainly not registered in the forum as if they are already there. It doesn't happen with all of them and I can't see a pattern because it has happened with simple and complex addresses.

Any ideas? Thanks.

Black Tiger 03-01-2010 10:22 PM

Any update on Jacobomoya's problem?
I've got this modification tagged and want to install it, but I won't install when it will give problems with authentic gmail accounts ofcourse.

terminator2k2 04-27-2010 05:29 PM

Quote:

Originally Posted by jacobomoya (Post 1977412)
Doesn't seem to work properly to me. While it indeed blocks attempts to register using variations of the gmail account address, it also seems to randomly block gmail accounts which are certainly not registered in the forum as if they are already there. It doesn't happen with all of them and I can't see a pattern because it has happened with simple and complex addresses.

Any ideas? Thanks.

same for me, couple users reported this to me so i had to deactivate it just to get sure, that everything is fine

AFMichael 10-27-2013 04:18 AM

I installed and tested this addon but it is only blocking the users trying to use googlemail.com/gmail.com variant. It is not blocking registrations when users are using "." in the email address.

Quite unfortunate.

Max Taxable 10-27-2013 04:29 AM

Quote:

Originally Posted by AFMichael (Post 2456518)
I installed and tested this addon but it is only blocking the users trying to use googlemail.com/gmail.com variant. It is not blocking registrations when users are using "." in the email address.

Quite unfortunate.

Unlike back when this Mod was made, today it's really useless to even bother requiring a valid email. Because the autospam programs have defeated pretty much all human verification on the most popular email services. And they get the verification code anyway, directly from your site on pageload after they "click" the submission.. (XRumer)

If you want to stop autospam I would recommend one of the registration time check mods. They're very effective.

I don't even use the email verification anymore, haven't for a little over a year. It's simply obsolete, now.

alex_kf 03-31-2018 10:44 AM

Quote:

Originally Posted by Dimoks (Post 2593841)
Hi all

This mod doesn't work with long gmail account :(

test@gmail.com and
tes.t@gmail.com - ok, mod work

but

testtesttesttesttesttest@gmail.com and
testtesttesttest.testtest@gmail.com

- doesn't work

:(

This mod has two author's mistakes...

First: Search
Quote:

$email = str_replace(".", "", substr($vbulletin->GPC['email'], 0, (strlen($vbulletin->GPC['email'])) - (strpos($vbulletin->GPC['email'], "@"))));
Replace it with
Quote:

$email = str_replace(".", "", substr($vbulletin->GPC['email'], 0, (strpos($vbulletin->GPC['email'], "@"))));

Second: authors mistake - is metodological.... If we have email 'test.1test@gmail.com' in our user database, and we register new email 'test.1.test@gmail.com' - we have successfull registration...

Why?
Because author search (in user database) email 'test1test@gmail.com' (without dots)


All times are GMT. The time now is 05:49 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.01326 seconds
  • Memory Usage 1,789KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete