• Resolved mvharlan

    (@mvharlan)


    Hi,

    I’m in the process of migrating a typo3 to a wp installation. I’ve solved the problem of matching t3-users to wp-users using additional fields and would like to use promag groups to map t3-groups. Everything works fine and I found out, that the wp_usermeta key pm_group is used for the user-group-assignemnt. However if I set this key for a user via sql or wp-cli to eg: a:1:{i:0;s:3:”666″;} and then call the user editor gui, that group is not active for this user. After activating the group via the gui, the same key with the same value appears twice in wp_usermeta and the group activation works now as expected (after reloading the user editor, the group is still active). What happens in the gui, that I’m missing when inserting the wp_usermeta key pm_group by hand?

    Thanx, Magnus

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter mvharlan

    (@mvharlan)

    Hi,

    I found the problem myself. It’s the double entry in wp_usermeta;

    Problem’s resolved.

    M.

Viewing 1 replies (of 1 total)
  • The topic ‘how to assign user to promag groups using wp-cli or mysql’ is closed to new replies.