middle name copies into last name field

  • ligi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #91318 by ligi
Hi Tuan

We use CB for member registrations. I configured Event Booking to map with CB fields on middle name and last name..However whenever a booking is made the middle name gets copied into the last name field.. This messes up the member database . How can we prevent that the last name gets overwritten with the combination middle name + last name in CB


Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91378 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic middle name copies into last name field
Hi

Could you please give me a sample full name and let me know what's first name and what's last name so that I can look at it, see what's wrong with the code and guide you to correct it?

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • ligi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago - 9 years 3 months ago #91436 by ligi
Replied by ligi on topic middle name copies into last name field
Yes, in this case the name is
first name : Test
middle name: van
last name : Nuleen

this is how they are in Community Builder.

Whenever i make a booking Event Booking prefills the fields with:
first name : Test
middle name: van
last name : van Nuleen

so the middle name 'van' gets copied into the last name field. I mapped the middle and last name field to CB, however it still messes up the last name. This is a major problem as the CB member database is used for multiple tasks..

Also: if a user is not logged in and fills the login boxes in the evnet booking page it gets redirected to CB login page, and he has to find his way back to the booking...inconvenient, is there a way to make this login work properly?
Last edit: 9 years 3 months ago by ligi. Reason: addes a paragraph

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91437 by Jeff McDermaid
Replied by Jeff McDermaid on topic middle name copies into last name field
This is an on going issue. Check out this thread and solution: joomdonation.com/forum/events-booking-ge...al.html?limitstart=0

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91487 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic middle name copies into last name field
Hello ligi

1. Did you map the first_name field in Events Booking with the first_name field in CB ? The way Events Booking works now is that if there is no first_name data, it will try to detect first_name and last_name from Joomla core name field. In your sample case, I can confirm the issue. Not sure in case name contains more than two words, what should be first name and what should be last name/

2. About login redirect, it causes by CB System Plugin. I don't remember exactly the parameter causing that, you can submit a support ticket so that we can check and correct it for you

Regards,

Tuan
The following user(s) said Thank You: ligi

Please Log in or Create an account to join the conversation.

  • ligi
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #91619 by ligi
Replied by ligi on topic middle name copies into last name field
Thanks Tuan

Mapping the firstname field seems to have resolved the copy middle name issue

Greetz Ligi

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #91638 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic middle name copies into last name field
Great. Thanks for confirming

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc