11
meme
Re: delete users bug
  • 2004/2/8 20:28

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


you have to upload this file main.php from 2.0.5.2 to avoid this problem
modules/system/admin/users/main.php

i am sure the release of XOOPS 2.0.6.1
will be resolve this problem

dont worry about upload the old file main.php because the changes only for ---> ( cant delete admin users ) feature

click here to see changes

12
jctsup1
Re: delete users bug
  • 2004/2/8 20:43

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


Ok - I am not understanding something here - are you saying that the modules/system/admin/users/main.php that is included with the 2.06 patch is not the correct version?

13
meme
Re: delete users bug
  • 2004/2/8 21:03

  • meme

  • Quite a regular

  • Posts: 271

  • Since: 2002/12/10


not exactly

i upgrade my XOOPS from 2.0.5.2 to 2.0.6
then i found this problem
so i wrote this subject delete users bug to know how have my problem too

just i replace the file then my problem resolve

i just share this article to help the people who have the same with my problem

this problem might from my web server or from my mistake

14
jctsup1
Re: delete users bug
  • 2004/2/8 21:13

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


ok -

I see what you were saying. Bottom line - with the latest & greatest version, on my server running IIS 6, PHP 4.34, & mySQL 4.017, I can delete users from ANY group including the Webmasters group so there is a bug somewhere as some people can't delete users from the group & I can.I would venture to guess that others running on IIS can do the same as I was able to reproduce this on 2 different sites.

Devs my original offer stands, please feel free to contact me directly if you would like to see what I am talking about or run some tests.


15
supernix
Re: delete users bug
  • 2004/2/8 21:21

  • supernix

  • Not too shy to talk

  • Posts: 151

  • Since: 2003/3/13


Yes I to replaced that file and it worked for me as well.

I can delete non activated users again

16
onokazu
Re: delete users bug
  • 2004/2/8 22:31

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


This actually was a new bug found in 2.0.6, and I have just committed a fix on CVS.

Add the following line to /modules/system/admin/users/main.php, just after line 93

$deluser =& $member_handler->getUser($memberslist_id[$i]);

so it will look like below:

$deluser =& $member_handler->getUser($memberslist_id[$i]);
$groups = $deluser->getGroups();

We will be making the release of 2.0.6.1 or 2.0.7 very soon which includes this fix.

17
jctsup1
Re: delete users bug
  • 2004/2/8 23:07

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


ono -

That took care of the problem - can no longer delete members that are part of the webmaster group.

Good Job as always!


18
brash
Re: delete users bug
  • 2004/2/11 2:32

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


That's what I like to see! The problem all solved by the time I get to joining in the discussion. Thanks Ono, I'll be making that update when I get home tonight.

19
phppp
Re: delete users bug
  • 2004/2/23 16:42

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

onokazu wrote:
This actually was a new bug found in 2.0.6, and I have just committed a fix on CVS.

Add the following line to /modules/system/admin/users/main.php, just after line 93

$deluser =& $member_handler->getUser($memberslist_id[$i]);

so it will look like below:

$deluser =& $member_handler->getUser($memberslist_id[$i]);
$groups = $deluser->getGroups();

We will be making the release of 2.0.6.1 or 2.0.7 very soon which includes this fix.


Is it a feature or bug that webmasters can not be removed?
If it's a feature, it should be prompted when trying to remove a webmaster.

What I am doing: set a super webmaster, for say the Administrator created during installation. Only this webmaster has the permission to remove other webmasters. This super webmaster can not be removed or terminated.

20
elvir
Re: delete users bug
  • 2004/3/29 23:26

  • elvir

  • Just popping in

  • Posts: 90

  • Since: 2004/1/4 1


I had the same problem and this is what I did:

First, you have to approve new users. Go to admin panel, find inactive, approve them and then go back to your front page. Go through My user’s module, find a particular user, and choose edit user and simple delete it. Have no idea what's the problem but there's no way you can delete anyone through control admin panel.

Hope this can help.

Login

Who's Online

191 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 191


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