Correct there are 7 default vb
usergroups and this script as explained will import your users into the usergroup 2 and the admin to usergroup 6. No script is going to import users how you want them nor can I support any changes made to my script. If you use the scripts as they are designed you will be able to integrate vb
and photopost and the userid's will be correct so the issue you had with using vb
impex script is gone. What you do with usergroups or what groups you make and distribute users after you finish things are of little concern to the scripts or the integration as long as the exact groups exist in both apps and you set permissions accordingly.
Your code you post above should work and those groups better exist in vb
with the same id but sorry I can not support any changes you make to my script.