vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Verify User Email Addresses (https://vborg.vbsupport.ru/showthread.php?t=54450)

Gary King 06-16-2003 10:00 PM

Verify User Email Addresses
 
[align=center]VERIFY USER EMAIL ADDRESSES[/align]

[high]DON'T FORGET TO CLICK ON THE INSTALL BUTTON TO RECEIVE UPDATES MADE TO THIS HACK, AND THANKS FOR INSTALLING THIS! :)[/high]

What does this hack do?
  • verifies the email addresses of all your users and checks for invalid or non-existant email addresses
  • displays a list of the users who have an invalid or non-existant email address
How do I install this?

Simply read the instructions in the attached file.

Why would I install this?
  • this hack is extremely useful for finding which member(s) are using bogus (fake) email addresses in their accounts
  • this is good if you want to be able to send out newsletters, etc. to all your members, and so you can make sure that they are using valid email addresses

Bugs, Suggestions, Comments

Got something to say about this particular hack? Then don't hesitate to reply back to this thread, and once I've read your post, I'll post a reply to your particular bug, suggestion, or comment.

Screenshots
admin cp nav panel
begin process page
users have been verified

*NOTE*

This hack will only check the email domain of the users' email addresses, since it is not really possible to verify each and every email address. If you would like to actually check every one of your users' email addresses, then you'll have to send an email out to them, and see which ones bounce.


[high]DOWNLOAD[/high]

This version of this hack only displays the users that have invalid email addresses. Use this for quickly checking which users have invalid/non-existent/no email addresses, instead of version below.
Download instructions-invalid.txt now!

This version of this hack is the same as the above, but it will display ... valid or ... INVALID when checking your members. It's a good idea to use this if you're not sure if the hack locks up after processing a large number of users (so basically, use this version if you have a large number of users).
Download instructions-all.txt now!

Gary King 06-17-2003 07:12 PM

admin cp nav panel

Gary King 06-17-2003 07:13 PM

begin process page

Gary King 06-17-2003 07:15 PM

Users have been verified, displaying users with invalid email addresses.

assassingod 06-17-2003 07:27 PM

Nicely done, Gary W :)

Oblivion Knight 06-17-2003 08:00 PM

Very useful, and installed at Umbrella Online :)

Great work!

Gary King 06-17-2003 08:08 PM

Thanks for the comments guys :)

Lifeman 06-17-2003 08:27 PM

Good Idea Garry W. Thanks :).

Skyline_GT 06-17-2003 08:31 PM

nice
will install it asap

tkeil69575 06-17-2003 08:35 PM

nice hack - tina klicks install :)

Talisman 06-17-2003 08:45 PM

Hey, this is great, Gary. Thanks.

OmaniMan 06-18-2003 12:33 AM

Great Bro ... I Installed It

alkatraz 06-18-2003 12:34 AM

great idea!

Gary King 06-18-2003 12:37 AM

Nice to see a lot of people installing this useful hack :)

Tungsten 06-18-2003 01:11 AM

Does this hack require Sendmail?

Gary King 06-18-2003 01:45 AM

Quote:

Today at 10:11 PM Tungsten said this in Post #15
Does this hack require Sendmail?
Nope ;)

Smoothie 06-18-2003 01:58 AM

how long does this process take? I clicked the begin process 10 minutes ago and its still chuggin away....

monstergamer 06-18-2003 04:18 AM

Quote:

Yesterday at 09:34 PM alkatraz said this in Post #13
great idea!
also clicks install

gmarik 06-18-2003 05:25 AM

Fine, fine ...

squawell 06-18-2003 07:25 AM

useful hack

/me clicked install....

D7MeEe 06-18-2003 09:06 AM

thanx

nice hack

Oblivion Knight 06-18-2003 10:01 AM

Quote:

Today at 03:58 AM Smoothie said this in Post #17
how long does this process take? I clicked the begin process 10 minutes ago and its still chuggin away....
It depends how many users you have on your forums..
Mine took about 25 seconds with a 512k connection, and I have 176 active members and 253 in total.

Gary King 06-18-2003 12:20 PM

Quote:

Yesterday at 10:58 PM Smoothie said this in Post #17
how long does this process take? I clicked the begin process 10 minutes ago and its still chuggin away....
Just leave it and wait until it finishes; anyways, it shouldn't take TOO long, although I haven't yet tested it myself on a fairly large board yet.

Velocd 06-18-2003 02:41 PM

I've done similar to this, but instead applied it to the 'user prune' page, so you can mass erase those users if need be.

It's funny to see how many users under 'waiting for email verification' have invalid emails. :p

To do as I've done, just find in admin/user.php:
PHP Code:

echo "<tr class='".getrowbg()."' align='center'>
                <td><font size='1'><b>ID</b></font></td>
                <td><font size='1'><b>Username</b></font></td>
                <td><font size='1'><b>Email</b></font></td>
                <td><font size='1'><b>Posts</b></font></td>
                <td><font size='1'><b>Last Visit</b></font></td>
                <td><font size='1'><b>Join Date</b></font></td>
                <td><input type='checkbox' name='allbox' onclick='CheckAll()' title='select/deselect all' checked></td>
            </tr>\n"
;
            while (
$user $DB_site->fetch_array($users)) { 

And below it place:
PHP Code:

list($username$maildomain) = split("@"$user['email']);
                      if (!
checkdnsrr($maildomain"MX"))
                   {
                       
$user[email] .= "</a> <font color=\"red\">[<b>invalid email</b>]</font>";
                   } 

It would also make sense to apply this MX lookup to the registration page, to kill the problem at the root.

Gary King 06-18-2003 03:50 PM

Quote:

It would also make sense to apply this MX lookup to the registration page, to kill the problem at the root.
Well, then you might as well just enable the email verification upon registration ;)

Smoothie 06-18-2003 04:25 PM

Quote:

Just leave it and wait until it finishes; anyways, it shouldn't take TOO long, although I haven't yet tested it myself on a fairly large board yet.
cable connection, with 4000 users, it was still not done after 20 minutes.

wolfe 06-18-2003 09:38 PM

nice hack d00d :D i just updated and changed code and install on my vB 3.0.0 look :D

wolfe 06-18-2003 09:39 PM

and

Kriek 06-18-2003 10:23 PM

Quote:

Today at 01:25 PM Smoothie said this in Post #26
cable connection, with 4000 users, it was still not done after 20 minutes.
Same here, additionally got a Action canceled page after twenty-five minutes.

Gary King 06-18-2003 10:42 PM

Quote:

Today at 06:38 PM wolfe said this in Post #27
nice hack d00d :D i just updated and changed code and install on my vB 3.0.0 look :D
Nice looking modifications you made there :)

Smoothie 06-19-2003 02:09 AM

Had to uninstall hack, not working properly on my site.

wolfe 06-20-2003 02:26 PM

Quote:

Yesterday at 12:42 AM Gary W said this in Post #30
Nice looking modifications you made there :)
thanx :D

d00d i got a suggestion why not make it like when you update counters.

for example

Proccessing user: Wolfe... VALID
Proccessing user: Gary W... VALID
Proccessing user: testuser... NOT VALIED


etc so it shows it doing each member @ a time would give benift to people knowing it has not locked up :D

if you need help with the code i will help you out.

Gary King 06-20-2003 02:57 PM

Quote:

Today at 11:26 AM wolfe said this in Post #32
thanx :D

d00d i got a suggestion why not make it like when you update counters.

for example

Proccessing user: Wolfe... VALID
Proccessing user: Gary W... VALID
Proccessing user: testuser... NOT VALIED


etc so it shows it doing each member @ a time would give benift to people knowing it has not locked up :D

if you need help with the code i will help you out.

Done. Check the first post in this thread for details :)

Gary King 06-20-2003 03:00 PM

This version of this hack is the same, but it will display ... valid or ... INVALID when checking your members. It's a good idea to use this if you're not sure if the hack locks up after processing a large number of users (so basically, use this version if you have a large number of users).

Gary King 06-20-2003 03:02 PM

This version of this hack only displays the users that have invalid email addresses. Use this for quickly checking which users have invalid/non-existent/no email addresses, instead of version above this post.

wolfe 06-20-2003 08:14 PM

nice one :D

just gonna change this to work with my vB3.0 :D

wolfe 06-20-2003 09:00 PM

d00d add a perpage to the varification like i have here

wolfe 06-20-2003 09:00 PM

and this is what it looks like when its done 10 of all the your members

Gary King 06-20-2003 10:49 PM

Quote:

Today at 06:00 PM wolfe said this in Post #37
d00d add a perpage to the varification like i have here
Could you attach what you currently have and I'll credit you with the modification :)

Kriek 06-20-2003 10:54 PM

Both versions were equally unsuccessful, DNS Error perchance?


All times are GMT. The time now is 04:47 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.02387 seconds
  • Memory Usage 1,827KB
  • 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
  • (2)bbcode_php_printable
  • (11)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
  • (40)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