Buy Now
Sign in

How to add a custom field in user profile in Joomla?

abhishekpatil , March 19 2017, 09:04
abhishekpatil 37
March 19 2017, 09:04 #366034
Hello Genius,
I want to add custom field in user profile in Joomla with custom id so that no longer need to take input from user again and again!
Is there any way?

Thank you in Advance, special thanks to GreyHead.
calculus00 1
March 19 2017, 09:05 #366035
Hello abhishekpatil,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I add a User to a User Group?
P.S: I'm just an automated service
I'm an automated service, my answers may help, but they may not be accurate.
abhishekpatil 37
March 19 2017, 09:14 #366036
Thanks you Calculus00 for your quick help. Here I forgot to mention that I am using Joomla 3.6

I want to assign roll number for each student. If it is added with their profile, they will no longer need to type again and again.

Is there any way to add custom field! Not user group.

Thank you
GreyHead 64
March 19 2017, 11:48 #366039
Hi abishekpatil,

See the Joomla! docs JUser setParam() method. The code will be something like:
$juser = \JFactory:;getUser();
$juser->setParam('param_name', $roll_number);

ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much