MyBB Community Forums
Merge from FluxBB imports banned users as normal users - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Merge System Support (https://community.mybb.com/forum-180.html)
+--- Thread: Merge from FluxBB imports banned users as normal users (/thread-230870.html)



Merge from FluxBB imports banned users as normal users - interzone - 2021-01-16

I am trying to convert an old FluxBB forum to MyBB.

I have noticed that when I do this the merge makes all of my banned users from FluxBB into regular users on MyBB. This is a problem. I have something like 11,000 banned users as spam was a major problem on my old FluxBB.

Is there a way to get Merge to put my banned FluxBB users in the banned category?

Or is there an elegant way to simultaneously delete thousands of banned users with 0 posts and have their e-mails prevented from re-registering?


RE: Merge from FluxBB imports banned users as normal users - noyle - 2021-01-19

You may add the group mapping into the $groups variable in the board define script:
https://github.com/mybb/merge-system/blob/merge_1823/boards/fluxbb.php#L76

If the banned group ID in the FluxBB is 7, then you should add 7 => MYBB_BANNED, to this array.

After that, run the whole merge again.