Custom field to be populated with data from joomla user database

  • Carsten Stoerner
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #108929 by Carsten Stoerner
Hi !

I love this extension - but I am struggling a bit.

I have added a custom field and it displays well - however when registering it's empty.

So I have a field in the joomla users database (called: id).

In eventsbooking I want a custom field called medlemsnummer (membership id) to be populated with the data in users table-> fieldname 'id' for that user.

Same for phone number.

How to do that - have tried SQL field but it's still empty on new registrations.

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

More
8 years 2 months ago #108943 by Tuan Pham Ngoc
Hi

1. You don't need to create a custom field to store id of user. Events Booking has a field called user_id in #__eb_registrants table which store ID of the logged in user already.

2. For phone number, I am unsure where it is defined? If it is from user profile, I guess you can use this plugin eventbookingdoc.joomservices.com/synchro...#joomla-user-profile

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc