[Skip to main content](#vessel-content)

#   Map Registration Fields into Community Builder

##

- **[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")**
- [![cberry1971's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13211-cberry1971 "View cberry1971's Profile") Topic Author
- [ Offline](/forum/user/13211-cberry1971)

Less More

- Posts: 241
- Thank you received: 5
-
-

13 years 6 months ago [\#102531](#102531) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  *[Map Registration Fields into Community Builder](/forum/4-how-to/81434-map-registration-fields-into-community-builder#102531 "I had this topic (exact Subject name) earlier this year. Link below is the forum topic:    www.hikashop.com/en/forum/4-how-to/77857...to-comm-builder.html  After upgrading to 2.1.2 it seems the mappings no longer work. Please advise as this is a important integration for our services.  Thanks as always.")* was created by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")*

I had this topic (exact Subject name) earlier this year. Link below is the forum topic:

[ www.hikashop.com/en/forum/4-how-to/77857...to-comm-builder.html](http://www.hikashop.com/en/forum/4-how-to/77857-lsolvedgmap-registration-fields-into-comm-builder.html)

After upgrading to 2.1.2 it seems the mappings no longer work. Please advise as this is a important integration for our services.

Thanks as always.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDM0LW1hcC1yZWdpc3RyYXRpb24tZmllbGRzLWludG8tY29tbXVuaXR5LWJ1aWxkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 6 months ago [\#102540](#102540) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Map Registration Fields into Community Builder](/forum/4-how-to/81434-map-registration-fields-into-community-builder#102540 "I had this topic (exact Subject name) earlier this year. Link below is the forum topic:    www.hikashop.com/en/forum/4-how-to/77857...to-comm-builder.html  After upgrading to 2.1.2 it seems the mappings no longer work. Please advise as this is a important integration for our services.  Thanks as always.")*

We didn't change anything regarding that in the latest version.
It is still the same patch which is present in in the latest version.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDM0LW1hcC1yZWdpc3RyYXRpb24tZmllbGRzLWludG8tY29tbXVuaXR5LWJ1aWxkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")**
- [![cberry1971's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13211-cberry1971 "View cberry1971's Profile") Topic Author
- [ Offline](/forum/user/13211-cberry1971)

Less More

- Posts: 241
- Thank you received: 5
-
-

13 years 6 months ago -  13 years 6 months ago [\#102556](#102556) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  Replied by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")* on topic *[Map Registration Fields into Community Builder](/forum/4-how-to/81434-map-registration-fields-into-community-builder#102556 "I had this topic (exact Subject name) earlier this year. Link below is the forum topic:    www.hikashop.com/en/forum/4-how-to/77857...to-comm-builder.html  After upgrading to 2.1.2 it seems the mappings no longer work. Please advise as this is a important integration for our services.  Thanks as always.")*

ok i see what happened. some of the custom fields i mapped to cb were lost in the file:

administrator/components/com_hikashop/classes/user.php

I assume I can go and add the custom code i use to re-map??

Thanks again.

Last edit: 13 years 6 months ago by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDM0LW1hcC1yZWdpc3RyYXRpb24tZmllbGRzLWludG8tY29tbXVuaXR5LWJ1aWxkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 6 months ago [\#102578](#102578) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Map Registration Fields into Community Builder](/forum/4-how-to/81434-map-registration-fields-into-community-builder#102578 "I had this topic (exact Subject name) earlier this year. Link below is the forum topic:    www.hikashop.com/en/forum/4-how-to/77857...to-comm-builder.html  After upgrading to 2.1.2 it seems the mappings no longer work. Please advise as this is a important integration for our services.  Thanks as always.")*

Hi,

I think so but it would better if you can put your custom code into a plugin and not directly in the HikaShop core.
Because if you modify a core file, you will lost your modification with updates.
Using a plugin will assure you that you code will not be lost and we never delete any trigger (we can improve them but we always keep a retro-compatibility).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDM0LW1hcC1yZWdpc3RyYXRpb24tZmllbGRzLWludG8tY29tbXVuaXR5LWJ1aWxkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")**
- [![cberry1971's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13211-cberry1971 "View cberry1971's Profile") Topic Author
- [ Offline](/forum/user/13211-cberry1971)

Less More

- Posts: 241
- Thank you received: 5
-
-

13 years 6 months ago [\#103106](#103106) by [cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")  Replied by *[cberry1971](/forum/user/13211-cberry1971 "View cberry1971's Profile")* on topic *[Map Registration Fields into Community Builder](/forum/4-how-to/81434-map-registration-fields-into-community-builder#103106 "I had this topic (exact Subject name) earlier this year. Link below is the forum topic:    www.hikashop.com/en/forum/4-how-to/77857...to-comm-builder.html  After upgrading to 2.1.2 it seems the mappings no longer work. Please advise as this is a important integration for our services.  Thanks as always.")*

OMG... MY heart has just sunk and I'm trying not to panic.

Basically, the code in your new administrator/components/com_hikashop/classes/user.php file is not mapping user names into community builder.

I have had hundreds (literally) of orders since using 2.1.2 which have come thru and the CB mapping is not working. This code here:
Code:

$fields = array('cbactivation','id','user_id','approved','confirmed'); $values = array('\'\'',(int)$newUser-&gt;user_cms_id,(int)$newUser-&gt;user_cms_id,1,1); if(!empty($addressData-&gt;address_firstname)){ $fields[]='firstname'; $values[]=$this-&gt;database-&gt;Quote($addressData-&gt;address_firstname); } if(!empty($addressData-&gt;address_middle_name)){ $fields[]='middlename'; $values[]=$this-&gt;database-&gt;Quote($addressData-&gt;address_middle_name); } if(!empty($addressData-&gt;address_lastname)){ $fields[]='lastname'; $values[]=$this-&gt;database-&gt;Quote($addressData-&gt;address_lastname); }

Any way to fix this retroactively. Also needs to work going forward. I can dowgrade to 2.1.1 i guess.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDM0LW1hcC1yZWdpc3RyYXRpb24tZmllbGRzLWludG8tY29tbXVuaXR5LWJ1aWxkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 6 months ago [\#103247](#103247) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Map Registration Fields into Community Builder](/forum/4-how-to/81434-map-registration-fields-into-community-builder#103247 "I had this topic (exact Subject name) earlier this year. Link below is the forum topic:    www.hikashop.com/en/forum/4-how-to/77857...to-comm-builder.html  After upgrading to 2.1.2 it seems the mappings no longer work. Please advise as this is a important integration for our services.  Thanks as always.")*

This thread continues here: [ www.hikashop.com/fr/forum/3-bug-report/8...pping-user-name.html](http://www.hikashop.com/fr/forum/3-bug-report/81642-cb-mapping-user-name.html)
I'll answer there.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgxNDM0LW1hcC1yZWdpc3RyYXRpb24tZmllbGRzLWludG8tY29tbXVuaXR5LWJ1aWxkZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
