1
ukdave
Cannot delete user from webmaster category on v2.0.6
  • 2004/7/11 21:26

  • ukdave

  • Just popping in

  • Posts: 67

  • Since: 2003/6/27


When I go to delete a users role from webmaster I get a blank page and on a couple of occasions system icon/link in the Admin section vanishes. I can only get it back by reinstalling the database backup.

I'm using v2.0.7 - Anyone help?

2
Herko
Re: Cannot delete user from webmaster category on v2.0.6
  • 2004/7/11 21:44

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


This bug was fixed in 2.0.7, make sure you're running the latest version of all files. At the very least, make sure that the modules/system/admin/users/main.php file is up-to-date.

Herko

3
ukdave
Re: Cannot delete user from webmaster category on v2.0.6
  • 2004/7/11 22:38

  • ukdave

  • Just popping in

  • Posts: 67

  • Since: 2003/6/27


Thanks for replying, I just downloaded v2.0.7 again from sourceforge took out main.php as recommended however nothing changed. - Back to square on I'm afraid.

Where do I look in the database so that I can delete the users webmaster rank manually, until this is sorted?

4
Dave_L
Re: Cannot delete user from webmaster category on v2.0.6
  • 2004/7/11 23:40

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I assume you're talking about access rights, and not the rank/title that's displayed under a user's name. The latter has nothing to do with access.

The table xoops_groups_users_link controls users' group memberships. To remove a user from the webmasters' group, delete the row(s) with uid = (the user's ID) and groupid = 1.

There's also the mysteriously undocumented xoops_users.level column. You should only have to change that if you're changing the access for user #1. The values (I think) are 5 (admin), 1 (registered user) and 0 (inactivated user).


5
ukdave
Re: Cannot delete user from webmaster category on v2.0.6
  • 2004/7/12 0:22

  • ukdave

  • Just popping in

  • Posts: 67

  • Since: 2003/6/27


Thanks mate, and yes it is access rights I'm refering to.

I thought the 'mysteriously undocumented xoops_users.level column' had something to do with the users rank/title that's displayed under a user's name?


6
Dave_L
Re: Cannot delete user from webmaster category on v2.0.6
  • 2004/7/12 0:31

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


No, that's the xoops_users.rank column.

7
ukdave
Re: Cannot delete user from webmaster category on v2.0.6
  • 2004/7/12 13:18

  • ukdave

  • Just popping in

  • Posts: 67

  • Since: 2003/6/27


I found the faulty file it was 'main.php' in modules\system\admin\groups\main.php.

Herko, you pointed me to the right file but wrong directory. I think I found the one you meant so thanks anyway.

Login

Who's Online

62 user(s) are online (38 user(s) are browsing Support Forums)


Members: 0


Guests: 62


more...

Donat-O-Meter

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

Latest GitHub Commits