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