You changed:
define('GUEST', -1);
define('USER_AWAITING', 1);
define('USER', 2);
define('ADMIN', 9);
to
define('GUEST', -1);
define('USER_AWAITING', -1);
define('USER', 0);
define('ADMIN', 1);
In the installation notes you said:
We recommend you to use integration only with fresh new installations of 4images because of the following reason: In the 4images user-table User A has the User-ID "1". After integration 4images will use the user-table of phpBB. There, the User A has the User-ID "2" and User B the User-ID "1". All images, comments and usergroup memberships are now "owned" by User B.
If I created a user and set it to "User (Not Activated)" before I installed the mod, that user will have User-ID "1". After the mod install, that same user will still be User-ID "1" which is admin rights. Correct? Then I could go through the users and set them to the correct level.
This won't solve the comment and image ownership problems, but I would rather delete all comments then force everyone to reregister. I only have two images uploaded by someone else also.