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)

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 :)


All times are GMT. The time now is 07:56 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.01035 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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