Good morning,
as suggested, I repost my question in this forum:
I'm starting a project and I have a couple of doubts/questions about automatic user creation and changing record owner. My scenario is as follows:
- A guest user creates a record
- She has the option of creating a new user. If so, I want to create a new user (belonging to a certain group, let's name it 'follow_group') and change the owner of the newly created record
I tried with a sql insert in the tablename.php tablename_anfer_insert() but then I found the function set_record_owner. The problem with the sql insert is that I can create the new user in the membership_users table but I can't change the record owner.
Then I tried the solution described in viewtopic.php?f=4&t=4262&p=16953&hilit= ... ner#p16953 but nothing happens.
I have also taken into account what Jan suggested me in the other forum.
Can anybody help me?
Thanks is advance