|
Joined: Nov 2008
Posts: 39
Newbie
|
Newbie
Joined: Nov 2008
Posts: 39 |
I installed Version 7.5.7 and imported my data from UBB.threads 6.5.5 using the script downloaded from this site.
Everything is great, except that for some reason no forum members were assigned to the "Users" group. i.e. in the Member Management section, the Users checkbox is always unchecked. So nobody can see my forums (except for users that belong to other groups like admins etc.). I notice that the "Member Status" radio button is set to User. If I register a new user then they do get the User box checked.
One odd thing I see which may be related is that in Group Management, the # moderators shows 20000.
Can I use the Database tools section to fix this? (i.e. add all members as Users?
Thanks, Andrew
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
If you look, all users are moderators and no moderators are users; it's a bug with the importer.
Go to Member Management, under advanced choose moderators, choose submit, under action at the bottom choose change groups, choose all members in search, submit page, add to users.
I dont think that method will allow you to remove them as mods though.
|
|
|
|
Joined: Nov 2008
Posts: 39
Newbie
|
Newbie
Joined: Nov 2008
Posts: 39 |
Excellent, thanks Gizmo!
I notice that in the group management area, it still shows 20000 moderators (as you said), however that doesn't seem to affect anything - i.e. they don't have moderator permissions.
Do you know if there will be any issues from that? So far in my testing it looks fine.
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
I had the same issue once. I believe it was from classic to version 7.2 As I recall Rick fixed it for me by doing some database diving. Then I went in and reassigned the real moderators. They were added to the moderator group but were not assigned a forum. You could clean it up manually But that would mean editing 20,000 members!
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Dec 2003
Posts: 6,560 Likes: 78
|
Joined: Dec 2003
Posts: 6,560 Likes: 78 |
I found a old topic with a fix: www.ubbcentral.com/forums/ubbthreads.php/ubb/showflat/Number/223217/It would still require you to manually add the real moderators back in. Since this is a test board give it a try.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
|
|
|
|
Joined: Nov 2008
Posts: 39
Newbie
|
Newbie
Joined: Nov 2008
Posts: 39 |
Perfect, everything's sorted. I used that query in the Database Tools area:
UPDATE `database_name`.`ubbt_USER_GROUPS` SET `GROUP_ID` = '4' WHERE `ubbt_USER_GROUPS`.`GROUP_ID` =3
Initially I got an error, and I realized that was because I had already added all the members to the Users group. So I just created a temp group, moved members to that, and substituted the appropriate group ID numbers in the SQL statement, etc.
I didn't even need to re-assign my moderators, because they were already in the 'global moderators' group, so I just moved them from there.
Andrew
Last edited by sw55; 05/01/2013 3:39 PM. Reason: Added more info
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
I fixed it on my site by running the following query in PHPMyAdmin (you could run it in the UBB's SQL section as well): DELETE FROM `ubbt_USER_GROUPS` WHERE `GROUP_ID`=3; This will delete all users from the moderators group; it could fail if your database prefix is anything other than "ubbt_", so be sure to update it accordingly. I'd advise running the group step i mentioned in the prior post, which will have changed all users to the users group.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
given that the importer was written PRE 7.3 ( when we added global moderators ), the proper way to import is to: 1. import to 7.1 ( 7.2 works too ) .. basically anything PRE 7.3 2. then upgrade to 7.5.7 that will prevent the incorrect group importing, if you go direct to 7.5.7 on import
|
|
|
0 members (),
396
guests, and
110
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|