Hi Joomlapolis
I have set a group of referrers. Each referrer has a name, of course, and a referrer_aid
Each new user must choose a referrer = a parrain
The parrain will be identified with parrain_name and parrain_aid
For this purpose, I need a customized field for a specific function
-A customized field named âparrain_nameâ located on Tab âParrainâ and a âparrain_aidâ
*Type : user name
*Selection restricted to âreferrersâ user group
*selected in list or view or geolocalisation or whatever is easier for you
*If I could show a list of users sorted by âuser_deptâ( = left (profile.postal_code ;2)) + separator + âprofile.cityâ, it would be super
*If it is possible to display only dept / city / name, would be top
*mandatory Registration + editing
With a trigger
The ânameâ of the selected parrain will be copied as parrain_name of the new user when the new user has selected the parrain (referrer)
The value of âreferrer_aidâ will be copied to âparrain_aidâ of the new user
I need to know how I can go and fetch the parrain_aid, which table and key.
Please, how is it possible to solve with CB ?. What do I need (Subscription/addon)?. What support, what suggestion can you provide or/and where can I find help or resources?.
Best regards
Erwan