We need to a specific requirement to create a group for the company name of the member upon the member is approved
We are looking for the place where you add the member as a user when the member's state is changed from pending to active.
So in the same place we can create a group and assign the new user to the group.
Please advise where we can add the change to make this solution work.
If you want to know the place we run the code when admin approved subscriber, it is in administrator/components/com_osmembership/models/subscriber.php, method store.