By Chihuahua1606 on Wednesday, 29 April 2015
Replies 1
Likes 0
Views 856
Votes 0
Hi

I appreciate that you made the new feature "Auto Group Joining Depending on Profile Type" recently.

I am trying to write a script to create a new user group using a value that user input ( category that this group is belong to is pre configured ) and add user to it when user input/update value in the field automatically.I hope that I can tweak the existing code that used for this new feature for my requirement.

I am wondering if you can shed a light on what file and line that I need to update to trigger a group creation and assignment of user to a group?

Many thanks

Hisako
Hello Shimizu,

I am sorry for the delay of this reply.

The file that is responsible for the auto group features during registration is from the /administrator/components/com_easysocial/models/registration.php at about line 753 where during registration the group creation function is called. The group function is located at /administrator/components/com_easysocial/includes/group/group.php at line 512.

Hope these help
·
Wednesday, 29 April 2015 20:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post