![]() |
mass usergroup move
is there a way to move all your users from 1 groups to another. ive imported my database using impex and now i have a custom group called registered users need to copy them all over to the standard registered users group.
|
*bump*
|
Copy or Move?
Move (eg. change primary group) [sql]update user set usergroupdid=newgroupid where usergroupid=oldgroupid[/sql] Copy (eg. make them secondary members of the group) [sql]update user set membergroupids=concat_ws(',', 'newgroupid', membergroupids) where usergroupid=oldgroupid[/sql] |
yeah now there additional users now is that ok or
|
In admincp users/move/prune. Select the group you need to move, click find and then choose the destination group
|
man that query really messed up me forum i got white pages now when ever i try and access any thing
forum dir > http://www.welshsound.com/client/ |
my membergroupids have ",2" (without quotes) is this normal ??? if not how can i get rid of it
|
and every page in the vb directory shows up as a white page now???? ahhhhhh
|
ok i fixed the white page error.
but users get an error when they try and login this is my users database i removed the , before the 2 in membersgroup id and that let users login whats a query i can use to remove all the ,'s |
First of all, it's not a good idea to show password hashes ...
Secondly, it does not make sense to have a secondary usergroup which is the same as the usergrouid. If all your Registered(usergroupid 2) users look like that [sql]update user set membergroupids='' where usergroupid=2[/sql] |
All times are GMT. The time now is 04:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|