1
javier
Move ALL the users from a group to other group.
  • 2006/4/26 2:08

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Hi,
Suppose you have many user groups, ie:

-webmaster
-moderators
-registered users
-special users
-anonymous users
-veteran users

How i can move ALL the registered users group to veteran users group

without touch the moderators and special users groups?

----

In previous XOOPS versions, you can remove users from groups and convert to anonymous group,
In the current XOOPS version 2.0.13.2 you delete users from groups but these users not go to anonymous group they not have group and are imposible to identify.


I only want move 5000 users from registered users group to a custom group.


any idea?
thanks in advance, best regards
javier

2
rajanurs
Re: Move ALL the users from a group to other group.
  • 2006/4/26 4:36

  • rajanurs

  • Just popping in

  • Posts: 55

  • Since: 2004/12/8


I think you just have to add the members to the group.

Go to groups admin and select the "veterans" group and scroll below to add/remove members.

3
javier
Re: Move ALL the users from a group to other group.
  • 2006/4/26 11:29

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


In previous versions of XOOPS that was posible because you had 2 windows side by side, and you removed users from one to other, and was very easy move users from a group to a anonymous and after that from anonymous to any group.
In the current version you only have "find members for this group" and "delete member" and only 1 window.

If you hit the delete member button you convert the users to a user without group.
But after that you have not a way to identify these users without group, because not appear in anonymous group or in any place.

"Find members fo this group" would be great if search by group, but it only search by name, mail, post,etc.
I not see a valid way to move 5000 members from a group to other

grettings
javier

4
bluenova
Re: Move ALL the users from a group to other group.

For 5000 members, it's probably easiest to run a little sql query in the database, to change all 'group 3' to 'group 4' or whatever the corresponding numbers are.

5
javier
Re: Move ALL the users from a group to other group.
  • 2006/4/26 13:47

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


Hi, i spended a lot of time but i made in this way:

In the new group i used "find members for this group" feature and move ALL the members to the special group, after that i edited every one of the moderators members (because they had 2 groups after the change , registered users and moderator group)

After that i use the "delete member" feature for remove all the users from the "registered users group"

Now i only have a little problem: (check the image)
The registered users groups are empty however i see 1,2,3,4 pages in the upper part
Resized Image


I check the groups_users_links tables where the groupid 2 correspond to the registered users group
But i check all the uid in groupid 2 and are not existent users.

Resized Image

This is a XOOPS bugs? i mean, these corrupt data is from deleted users accounts?


sorry for my terrible english,
best regards
javier

6
javier
Re: Move ALL the users from a group to other group.
  • 2006/4/26 15:23

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


when a new user register a account appear in the page 4,
i though if somebody registered a account the bug of the 4 pages would be solved but no.

I must care about?
grettings

javier

pd: sorry for the post following my previous post, the xoops.org forum not allow to edit msg after certain time.

Login

Who's Online

248 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 248


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