Community Builder Name Update

  • Posts: 140
  • Thank you received: 0
10 years 1 week ago #179835

-- HikaShop version -- : current
-- Joomla version -- : current

What I want is when a user is created in Hikashop, to insert the First Name and Last Name into the corresponding fields in Community Builder.

I read a little about this on these threads.
www.hikashop.com/forum/4-how-to/81434-ma...mmunity-builder.html
www.hikashop.com/forum/3-bug-report/8164...pping-user-name.html

But I need more specific instruction on how to achieve this please.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 1 week ago #179853

Hi,

These modifications were included in later versions of HikaShop, so if you have the latest version of HikaShop it should already be working.
You can see the code in the file administrator/components/com_hikashop/classes/user.php, near the end, in the addAndConfirmUserInCB function.

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

  • Posts: 140
  • Thank you received: 0
10 years 1 week ago #179910

It looks like this trigger to populate the cb fields is when the hikashop shipping address is input.
My items are downloads and don't require a shipping address. I don't want another step in my checkout process. I only require registration. So the name in the hikashop_address table in my database is not getting populated, this may be switched off somehow.

How can I populate those cb fields without requiring the user to enter a shipping address?

Last edit: 10 years 1 week ago by zipadyduda.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 1 week ago #179913

Hi,

No, it doesn't require a shipping address.
It just require that you display the address fields on the registration form (these fields will be added as the address of the user, and will be used for either the billing address or the shipping address, so even without shipping, the system will still use them for the billing address).
So you need to have the "ask address on registration" option of the configuration turned on, and you need to have the address fields firstname, lastname activated and set to display on the frontend via the menu Display>Custom fields.
You actually don't need to ask the full address if you don't want.

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

  • Posts: 140
  • Thank you received: 0
10 years 1 week ago #180035

I do have it set up that way.
I don't know why my address table is not getting populated.





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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 6 days ago #180074

Then I don't see why it wouldn't work.
Please provide a link to the shop so that we can look at this.

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

  • Posts: 140
  • Thank you received: 0
10 years 6 days ago #180102

www.xraycert.com/
or
www.xraycert.com/x-ray-ce-courses/1-ce-foot
and enter code FACEBOOK to get the course free.

But I'm not sure how much you can see on the front end.

Last edit: 10 years 6 days ago by zipadyduda.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 6 days ago #180136

I indeed reproduce the issue on your website.
There are three possible explanations I can see for that problem:
1. There is an error with the MySQL query which is run to store the address data in the database. Try to click on the "check database" button of the HikaShop configuration. Also, try to turn on the "debug mode" and "error reporting" options of the Joomla configuration and do a test again. If it's a mysql error, you should see an error message after the registration. Otherwise, please provide the queries debug data at the bottom of the page after the registration.

2. You created a mass action on the address saving which blocks the saving process. Check that you don't have any mass action or that they are all disabled via the menu System>Mass actions.

3. There is a plugin on your website implementing the trigger onBeforeAddressCreate and disabling the saving of the address data. Go in the Joomla plugins manager and check for third party plugins which could potentially implement that trigger because they interact with HikaShop.

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

  • Posts: 140
  • Thank you received: 0
10 years 5 days ago #180327

1. Where is the 'Check Database" Button?

2. No mass actions

3. I have quite a few plugins, how do I know if this trigger is used?

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

  • Posts: 13201
  • Thank you received: 2322
10 years 4 days ago #180334

Hi,

When you are in the HikaShop Configuration you should be able to see the button in the toolbar.

It's not an easy task to find if a plugin is using this trigger, you can maybe find the plugin thanks to its name which could be explicit. Or by disabling them one by one.

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

  • Posts: 140
  • Thank you received: 0
9 years 11 months ago #181674

I would really like to get this resolved.
This is a list of the active plugins I have. Does anything look to you like it could be causing a problem?

HikaShop Paypal payment plugin
Button - NoNumber Modules Anywhere
AcyMailing Manage text
System - Logout
System - User Log
Content - Load Modules
System - Kunena Forum
Quick Icon - Kunena Forum
Kunena - Kunena Integration
System - NoNumber Modules Anywhere
Smart Search - Newsfeeds
Search - Newsfeeds
Button - Pagebreak
Content - Pagebreak
System - P3P Policy
Hikashop Orders Automatic Cancel Plugin
AcyMailing Tag : Website links
Editor - None
System - NO External Links
System - NoNumber Framework
Quick Icon - Joomla! Update Notification
User - Joomla!
HikaShop user synchronization plugin
HikaShop Microdata on Product Page plugin
HikaShop product tag translation plugin
Hikashop product tag insertion plugin
HikaShop Google Analytics plugin
HikaShop affiliate plugin
HikaShop Quickicon plugin
AcyMailing : HikaShop integration
HikaShop order history plugin
Button - Image
Editor - JCE
Kunena - Joomla Integration
Extension - Joomla
Content - Joomla
Authentication - Joomla
User hooks - Joomdle
System - Joomdlehikashop
plg_system_jlsecuremysite
Quick Icon - JCE File Browser
AcyMailing Tag : HikaSerial content
System - Widgetkit ZOO
AcyMailing Template Class Replacer
User - TCVN Auto Login
AcyMailing Tag : Joomla User Information
AcyMailing Tag : Manage the Subscription
AcyMailing Tag : Subscriber information
Smart Search - Tags
AcyMailing Tag : content insertion
AcyMailing Tag : CB User information
Time limited - HikaSerial Generator plugin
Editor - TinyMCE
HikaShop joomla user account link plugin
System - Widgetkit
System - Widgetkit Joomla
Content - Widgetkit
Search - Weblinks
Smart Search - Weblinks
Installer - Install from Web
Content - Vote
HikaShop Free orders validation Plugin
AcyMailing table of contents generator
System - Super Fossil
System - Redirect
Captcha - ReCaptcha
Button - Readmore
HikaShop rates auto update plugin
Random - HikaSerial Generator plugin
User Points - HikaSerial Generator plugin
User Points - HikaSerial Consumer plugin
FeedGator - Joomla Native Content Plugin
AcyMailing : (auto)Subscribe during Joomla registration
System - Remember Me
Responsive Scroll Triggered Box - Render
HikaShop Stripe payment plugin
AcyMailing : Statistics Plugin
HikaShop Shipping manual - Prices per product plugin
AcyMailing : share on social networks
HikaSerials - HikaShop Integration plugin
System - SEF
Saxum IPLogger - Block IPs
Saxum IPLogger - User Plugin
HikaShop Paypal Advanced payment plugin
HikaShop BitPay payment plugin
Xmap - Kunena Plugin
Coupon - HikaSerial Generator plugin
Search - Joomdle Course Categories
Smart Search - Categories
Search - Joomdle Courses
Search - Joomdle Course Topics
ByeByeGenerator
EAN - HikaSerial Generator plugin
Content - Email Cloaking
Quick Icon - Joomla! Extensions Updates Notification
Search - Categories
Authentication - Cookie
Search - Content
XMAP_HIKASHOP_PLUGIN_NAME
Xmap - Content Plugin
HikaShop common payment API plugin
Xmap - WebLinks Plugin
Content - Contact
Smart Search - Contacts
AcyMailing Tag : Date / Time
Search - Contacts
Smart Search - Content
AttachSerial - HikaSerial plugin
Content - Smart Search
AcyMailing Editor
System - Admin Tools
Kunena - Community Builder Integration
HikaShop group plugin
HikaShop Amazon payment plugin
HikaShop trigger for AcyMailing filters
System - Highlight
Button - Article

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 11 months ago #181697

Hi,

I don't know about all of these plugins so it might be others, but I would start with these two plugins:
User hooks - Joomdle
System - Joomdlehikashop

Joomdle is tightly integrated with HikaShop and I wouldn't be surprised that a problem occurs because of one of these two plugins.

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

  • Posts: 846
  • Thank you received: 92
9 years 11 months ago #181850

Hi
Does search word "user" or " onBeforeAddressCreate" in all plugin php code directory can help ?

regard's

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

Time to create page: 0.098 seconds
Powered by Kunena Forum