vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Invalid mail > move user to another group (https://vborg.vbsupport.ru/showthread.php?t=56069)

wooolF[RM] 08-10-2003 11:00 AM

Invalid mail > move user to another group
 
]Heypeople.

Well... I got a forum with about 40000 users, we just moved a server and I mailed all users at once from ACP with new URL. Some of the users had invalid mails (not existed or full etc)... So server have been under heavy load in about a day or so. :speechless:

Anyway. I collected all mails from ACP in format of

mail1@domain1.com
mail2@domain2.com
etc

imported it into Advanced Email Verifier and let it run by night. I found out that over 3000 mails were bad.

Now, I don't really want to delete those users and as you understand I can't do it for all 3000 users manually :(


I thought if it was possible to create a small 1 function PHP file which will simply go throught the txt file with mals (looping it), search for a member with that mail, move him to group called "Awaiting e-mail confirmation" and unsubscribe him from everything he's subscribed to. Script should check usergroup (if admin or mod then take next mail).

I had same problem with this some months ago or so, but I haven't found any solutions. If any of you could help me out in this subject, I would greatly appreciate it.

With best regards wooolF[RM]

wooolF[RM] 08-13-2003 08:40 PM

*p00p*

wooolF[RM] 10-01-2003 08:32 PM

]let's try again... :(

Velocd 10-03-2003 06:50 PM

What version is your vBulletin? Since scripting for vB2 is different than vB3.

wooolF[RM] 10-04-2003 11:52 AM

]2.2.6 ( i know I should have updated, but because of some hacks etc (as attachments as files) I can't do it and I think I will upgrade to clean vbb 3.x when it's out as RC )

anyway, I thought of this hack as just single php file that loads all settings from config in the admin folder, loops throught txt file with invalid mails and queries the database with relevant actions. I dont know if there are any difference between vbb 2.x and 3.x yet as I haven't tried it yet, sorry :p

Thanx for replie by the way :)

And one more thing - I think of this hack as one of the major problems for all boards (especially with a lot of users). More invalid users = more load for whole server etc...

Regards

wooolF[RM] 10-05-2003 09:06 AM

/me pokes Velocd :x

wooolF[RM] 10-08-2003 10:55 AM

:\

Logician 10-08-2003 12:08 PM

1 Attachment(s)
Here you go.. Put it under you admin dir and run it..

Apply to a test board first.. It is not tested!

wooolF[RM] 10-09-2003 11:59 AM

]
Quote:

Originally Posted by Logician
Here you go.. Put it under you admin dir and run it..

Apply to a test board first.. It is not tested!

Thanx for the try Logician. Apreciatted. Thought I have looked at source file and it doesn't meet the requirements at all (sorry to say so) :(...

Idea was to read *not responding* mails from a txt file and that php file doesn't even look at it >_<

Please try reread 1st posy...

Best Regards, wooolF[RM]

wooolF[RM] 11-12-2003 08:29 PM

*bump* :x


All times are GMT. The time now is 01:42 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.01019 seconds
  • Memory Usage 1,726KB
  • 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)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete