Is there a way to delete all inactive users at once? Is there a way to delete all inactive users at once?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Is there a way to delete all inactive users at once?

Started by bryan, December 03, 2003, 02:04:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bryan

Is there a way to delete all inactive users at once?

Joachim Müller

out-of-the box: no!
This is a hack that should be easy tho accomplish though, but what do you define as inactivity?
You'll have to disable the "remember me" option on login, so the user won't be recognized on every visit and is forced to log on each time, just to keep your activity log up to date (if you define activity by "visits to your gallery"). It'l become trickier if you define activity by participation via rating/comments/uploads...

GauGau

Oasis

I think he means inactive users as in users that have not activated their accounts....

If so, just go to phpmyadmin and execute this query in the coppermine database:

DELETE FROM cpg11d_users WHERE user_active='NO'
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org