Drupal housekeeping module – User Prune delete those annoying dead dodgy or spam users

  • Home
  • /
  • Blog
  • /
  • Drupal housekeeping module – User Prune delete those annoying dead dodgy or spam users

February 24, 2011

This little website has been online since 1998 (back in the embarrassing days of terrible bedroom derived HTML layouts) and running Drupal since Spring 2007. Over the course of the last four years of drupalishness, the online world has been attacked by spammers – the web equivalents of junk mailers.

I was just upgrading a few modules, tidying and demoting some old content, and found hundreds of registered users that have never ever been logged on. So, it’s time for housekeeping and delete that stuff to trim it down.

Bring on the User Prune module – http://drupal.org/project/user_prune

Very cool and once uploaded, installed in ../sites/all/modules just enable it:

pruning old users from a drupal website

and then go run it /admin/user/prune (obviously you would put your domain name in place of projex :/ duh! )

It’s a very cool utility and neatly removed just over 90 duff user accounts:

running the user prune module

final stage of user cleanup is to use the standard drupal user interface to get rid of any blocked users. This is real easy just goto /admin/user/user (same domain rules apply you ninny 😉 )

Drupal housekeeping module - User Prune delete those annoying dead dodgy or spam users 1

Select BLOCKED users and then ZAP em all

<insert evil laughter here>

NickLitten


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Start your
7-day free trial

Take This Course with ALL ACCESS

Unlock your Learning Potential with instant access to every course and all new courses as they are released.
 [ For Serious Software Developers only ]

IBM i Training For Technology Experts

New!

Successfully Work Remote 

 $ 129.00  $59.00

By adding new skills in information technology, employers will be confident that you have the necessary skills and tools needed to successfully work remotely

>

Snug CBD

 20% Discount

I have partnered with SNUG CBD givING you Organic CBD
20% discount code "NL20"