11
kikolobo
Re: mass delete of users in 2.2+
  • 2006/7/29 1:54

  • kikolobo

  • Just popping in

  • Posts: 20

  • Since: 2006/2/24


THis is good... But what about their profile?

Will it be left alone in the limbo?

Dead data?

Or will this take care of it?

12
irmtfan
Re: mass delete of users in 2.2+
  • 2006/7/29 16:54

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i modify the script and it should work in XOOPS 2.0 and 2.2:
see here:
http://www.xoops.ir/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=628&forum=6

13
marcionline
Re: mass delete of users in 2.2+

Quote:

irmtfan wrote:
i modify the script and it should work in XOOPS 2.0 and 2.2:
see here:
http://www.xoops.ir/modules/newbb/viewtopic.php?viewmode=flat&type=&topic_id=628&forum=6


Perfect . Thank you very much!

14
blackfossil
Re: mass delete of users in 2.2+

I would like to delete all the users belong to a group instead of their status (active/inactive). What changes need to be done on the code for it to works? I am using 2.2.

15
irmtfan
Re: mass delete of users in 2.2+
  • 2006/7/30 15:25

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


delete all users???
i dont know why do you want to do such a thing?
anyway to delete all users you can easily do it like this:
line 43:
$users $member_handler->getUsers($criteria);

chnage to
$users $member_handler->getUsers();

just save abd run

16
blackfossil
Re: mass delete of users in 2.2+

Maybe there is some misunderstanding here. I would only like to delete users in a group, but not all members in the database. By default XOOPS installed with only 3 user groups, Webmaster, Registered Users and Guest. Let say i have added another user group named "Moderator", and now i want to delete all the users belong to the group "Moderator" only. Thanks.

17
kikolobo
Re: mass delete of users in 2.2+
  • 2006/8/7 17:31

  • kikolobo

  • Just popping in

  • Posts: 20

  • Since: 2006/2/24


Can't download... Looks like your account for files has been deactivated...

i really need this :)

Login

Who's Online

270 user(s) are online (246 user(s) are browsing Support Forums)


Members: 1


Guests: 269


Harald0123,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits