Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-10-2003, 11:00 AM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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]
Reply With Quote
  #2  
Old 08-13-2003, 08:40 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*p00p*
Reply With Quote
  #3  
Old 10-01-2003, 08:32 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]let's try again...
Reply With Quote
  #4  
Old 10-03-2003, 06:50 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version is your vBulletin? Since scripting for vB2 is different than vB3.
Reply With Quote
  #5  
Old 10-04-2003, 11:52 AM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]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

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
Reply With Quote
  #6  
Old 10-05-2003, 09:06 AM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me pokes Velocd :x
Reply With Quote
  #7  
Old 10-08-2003, 10:55 AM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:\
Reply With Quote
  #8  
Old 10-08-2003, 12:08 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you go.. Put it under you admin dir and run it..

Apply to a test board first.. It is not tested!
Attached Files
File Type: php movethem.php (561 Bytes, 15 views)
Reply With Quote
  #9  
Old 10-09-2003, 11:59 AM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]
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]
Reply With Quote
  #10  
Old 11-12-2003, 08:29 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump* :x
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:45 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.05765 seconds
  • Memory Usage 2,266KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete