Hi Pierrep
First of all, as far as I understand it, by default, SEBLOD creates the Objects {"article", "category", "user", "user_group"}. {user_notes"} can be add too, I believe. I didn't understand the link you referenced.
In an afterstore field placed in an article form:
$artTitle = $config['post']['art_title'];
// Create User Group
$newPUG = new JCckContent(
array('joomla_user_group')
);
$addNewPUG = $newPUG->create(
'th_pierrep_ug', // user_goup content type name
array(
'title'=> $artTitle,
'parent_id'=> '1'
),
array(
)
);
// Usergroup created
In the front end on a lst module I see the usergroups created.
Bucklash
Weirdness prevails, I have a site where I am struggling to see the user_groups that I have created dynamically. However, on a different test site, I achieved success. So your post has highlighted something I wasn't aware of....