- Posts: 55
- Thank you received: 0
Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services Map fields from Joomla user profile to Event booking participant registration
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
5 days 14 hours ago #178487
by Martin Herzhauser
Map fields from Joomla user profile to Event booking participant registration was created by Martin Herzhauser
Is it possible to define which (custom) fields from a joomla user profile can automaically used during a registration for an event as default values? I'm thinking about phone number, adress, and other values...
Regards,
Martin
Regards,
Martin
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
5 days 5 hours ago #178494
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Map fields from Joomla user profile to Event booking participant registration
Hi Martin
Yes. You can, see docs.joomdonation.com/eventsbooking/basi...#joomla-user-profile for instructions to setup
Regards,
Tuan
Yes. You can, see docs.joomdonation.com/eventsbooking/basi...#joomla-user-profile for instructions to setup
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
3 days 22 hours ago #178524
by Martin Herzhauser
Replied by Martin Herzhauser on topic Map fields from Joomla user profile to Event booking participant registration
Hi tuan.
This feature works the other direction than expected: It does not read values from the joomla user, but writes values to the joomla user AND overwrites them.
Can this be changed?
This feature works the other direction than expected: It does not read values from the joomla user, but writes values to the joomla user AND overwrites them.
Can this be changed?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 days 21 hours ago #178525
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Map fields from Joomla user profile to Event booking participant registration
That's strange. When user logged in and register for the event, the plugin will read the value from user custom fields and use these values to populate registration form fields so that user does not have to enter data for these fields again
It also write data back to user custom fields when registration completed. That's how it works
Regards,
Tuan
It also write data back to user custom fields when registration completed. That's how it works
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
3 days 18 hours ago #178526
by Martin Herzhauser
Replied by Martin Herzhauser on topic Map fields from Joomla user profile to Event booking participant registration
Ok, the first direction is for some reason not working...
The second direction is working but not wanted...
I'll try to understand the code...
The second direction is working but not wanted...
I'll try to understand the code...
Please Log in or Create an account to join the conversation.
- Eduardo Correa
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 2
3 days 17 hours ago #178527
by Eduardo Correa
Replied by Eduardo Correa on topic Map fields from Joomla user profile to Event booking participant registration
Is the Auto Populate Registration Form Data option enabled?
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
3 days 13 hours ago - 3 days 9 hours ago #178534
by Martin Herzhauser
Replied by Martin Herzhauser on topic Map fields from Joomla user profile to Event booking participant registration
Yes.
I tested a little bit deeper and found, that I cannot map anything to last_name...but I can map to every other field.
I tested a little bit deeper and found, that I cannot map anything to last_name...but I can map to every other field.
Last edit: 3 days 9 hours ago by Martin Herzhauser.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 days 4 hours ago #178537
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Map fields from Joomla user profile to Event booking participant registration
There should not be any difference between Last Name and other fields. So I don't understand why you cannot map with last name field. You can submit a support ticket sending us super user account of your site so that I can check it
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Martin Herzhauser
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 0
1 day 10 hours ago #178543
by Martin Herzhauser
Replied by Martin Herzhauser on topic Map fields from Joomla user profile to Event booking participant registration
Found it.
File base.php under components\com_eventbooking\view\register
Line 75:
$data = $lastName;
I think a check like
if (!isset($data))
{
$data = $lastName;
}
should do the trick? On the joomla name field I store only the lastname of a user, the firstname is saved on a custom field. And I had to cross it in eventbooking as the first_name of eventbooking is corresponding to the joomla user name.
But I see a little risk for persons with more parts in the name like Leonardo da Vinci or Vincent van Gogh. I should perhaps deactivate the automatic check for a space to separate names...
File base.php under components\com_eventbooking\view\register
Line 75:
$data = $lastName;
I think a check like
if (!isset($data))
{
$data = $lastName;
}
should do the trick? On the joomla name field I store only the lastname of a user, the firstname is saved on a custom field. And I had to cross it in eventbooking as the first_name of eventbooking is corresponding to the joomla user name.
But I see a little risk for persons with more parts in the name like Leonardo da Vinci or Vincent van Gogh. I should perhaps deactivate the automatic check for a space to separate names...
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 day 3 hours ago #178547
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Map fields from Joomla user profile to Event booking participant registration
The suggested change does not look right to me. Also, on your site, you do not map first_name field, only last_name ?
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.