vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How do I Mass Delete over 45k Inactive Users? (https://vborg.vbsupport.ru/showthread.php?t=306647)

jazmos 01-05-2014 06:32 PM

How do I Mass Delete over 45k Inactive Users?
 
We have over 45,000 Inactive Users Awaiting Email Confirmations in VB 4.2.2. We want to delete these users that have been inactive for 90 days with 0 posts.

The prune user group option lets you do 999 users at once but I have to sit there and click 999 users one by one to delete all at once. Or if we do a promotion, we are still limited to the 999 at a time.

I tried installing the "Users Clean UP" product Vitaly created on here but that seems to not be running on VB 4.2.2.

Much thanks in advance for your help!

ForceHSS 01-05-2014 07:29 PM

I always keep on top of these things you will just have to prune 999 at a time so start clicking maybe next time you will keep on top of things like this and not leave it for so long hope you learn from this

Bryan Ex 01-05-2014 07:53 PM

Quote:

Originally Posted by ForceHSS (Post 2472456)
maybe next time you will keep on top of things like this

Can't see that as being overly helpful. :erm:

jazmos - if you don't have a function available to do this it would be easy to sort out using phpmyadmin. Just run a basic query to delete members in the unactivated usergroup.

ozzy47 01-05-2014 07:55 PM

Quote:

Originally Posted by Bryan Ex (Post 2472460)
Can't see that as being overly helpful. :erm:

ForceHSS - if you don't have a function available to do this it would be easy to sort out using phpmyadmin. Just run a basic query to delete members in the unactivated usergroup.

No, you will mess up the other tables if you do that, The user info is stored in many places.

blind-eddie 01-05-2014 07:59 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=244707" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=244707</a>

ozzy47 01-05-2014 08:01 PM

Quote:

Originally Posted by blind-eddie (Post 2472462)

He did that already.

Quote:

Originally Posted by jazmos (Post 2472437)
I tried installing the "Users Clean UP" product Vitaly created on here but that seams to not be running on VB 4.2.2.


ForceHSS 01-05-2014 08:10 PM

Quote:

Originally Posted by Bryan Ex (Post 2472460)
Can't see that as being overly helpful.

It is being helpful if he did then he would not have this problem now. Now he will have to learn the hard way and wont make this mistake again

Bryan Ex 01-05-2014 09:11 PM

Quote:

Originally Posted by ozzy47 (Post 2472461)
No, you will mess up the other tables if you do that, The user info is stored in many places.

Once you have the user group id you can work through as many tables as you need updating info. Especially easy if it's a simple delete function.

ForceHSS 01-05-2014 09:24 PM

The prune option is the best, fastest and makes sure no tables have been missed

ozzy47 01-05-2014 10:05 PM

Quote:

Originally Posted by Bryan Ex (Post 2472478)
Once you have the user group id you can work through as many tables as you need updating info. Especially easy if it's a simple delete function.

It is not the the best method, and I have seen way to many things get jacked up when people try and take a shortcut like this.

By now anyone could have clicked the 45 times it would take to accomplish what he was after.


All times are GMT. The time now is 09:52 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.01091 seconds
  • Memory Usage 1,737KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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