11
Dave_L
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/22 16:12

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


rgiord54, the information at the linkhttps://xoops.org/modules/newbb/viewtopic.php?topic_id=16466&forum=21&start=15 posted above was the solution. I'm just curious why that wasn't adequate.

12
rgiord54
Re: admin cannot delete users after upgrading to 2.0.6
  • 2004/2/22 20:36

  • rgiord54

  • Just popping in

  • Posts: 60

  • Since: 2002/4/30


Yours was okay but seeing the other lines for new people was better
88: case "delete_many_ok":
89: $count = count($memberslist_id);
90: $output = "";
91: $member_handler =& xoops_gethandler('member');
92: for ( $i = 0; $i < $count; $i++ ) {
93: $deluser =& $member_handler->getUser($memberslist_id[$i]);
94: $groups = $deluser->getGroups();
95: if (in_array(XOOPS_GROUP_ADMIN, $groups)) {
I could see other lines above to make sure I was putting in right. I'm not a pro like you guys..
Thanks anyway

Login

Who's Online

175 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

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

Latest GitHub Commits