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

#  Profile for Fit\_webmaster

##

[![Fit&#95;webmaster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")

**[ Offline](/forum/user/33004-fit-webmaster)**

- **User Type:** User

- **Register Date:** 11 Jun 2014
- **Last login:** 12 years 4 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 07:18

- **Posts:** 6
- **Profile views:** 77

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  Fit\_webmaster's recent posts  (6 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331) | [\[PLUGIN\] Send a form through onAfterUserCreate](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "-- url of the page with the problem -- : Localhost -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.5.10 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : There is no error message, it just dont send the email.  Hi guys,  I am trying to auto send a form once the user register in Hikashop.  I have create this plugin and place it inside root/plugins/hikashop/hikaforce.  here is the function  class plgHikashopHikaforce extends JPlugin {  function onAfterUserCreate(&amp;$element){  } I also have put it inside a variable called $output and return it... did not work either.  What am I doing wrong.  Thanks in advance")        Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 12 years 5 months ago, by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")       [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") 12 years 4 months ago     by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile") | Replies:5  Views:846 | [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")      12 years 4 months ago |
| [](/forum/31-development/862478-custom-user-plugin-hikashop-address#160330) | [Custom User Plugin - Hikashop Address](/forum/31-development/862478-custom-user-plugin-hikashop-address#160330 "-- url of the page with the problem -- : Localhost - Testing -- HikaShop version -- : HikaShop Business: 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Not Applicable -- Error-message(debug-mod must be tuned on) -- : Lots so far  Hello, I am looking for a little bit of help. I have tried a few different components for managing users that integrate with Hikashop and have not liked what was available for various reasons. I created a user component that allows me to customize the Login page, Registration page, and Profile pages more the way I want them. I have also created a User Plugin so I can choose what fields show on all of these pages (address1, address 2, email, etc.)  I am now working on the Profile Page and would like to show the Hikashop address instead of the Joomla one. I am using code from the standard user - profile plugin in my own and it works like the original shows address1 and updates the table #&#95;&#95;user&#95;profiles when updating the user information.  The original onContentPrepareData function is as follows.  After doing a few searches I am close but have not been able to come up with the best query to get the hikashop (address&#95;street and address&#95;street2 from the table #&#95;&#95;hikashop&#95;address) and inject it into the $data-&gt;profile array.  I believe I have to get the user&#95;id from #&#95;&#95;hikashop&#95;user where the field user&#95;cms&#95;id matches the current users id.  And then use this user&#95;id to query the #&#95;&#95;hikashop&#95;address table and get the address&#95;street and address&#95;street2 fields that match the current user.  Does anyone know if I can write one query to get all the user&#95;profile info, and the hikashop&#95;address info?  After that query is figured out I need to figure out how to inject it all into the $data-&gt;profile array that the user profile plugin will display for editing in the profile, and also change the onUserAfterSave function to update both the hikashop&#95;address table and user&#95;profile table.  Any help would be great, I am ok with standard sql queries but these ones are making my head spin.")         Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 13 years 1 month ago, by [Billymb3](/forum/user/8027-billymb3 "View Billymb3's Profile")       [Last Post](/forum/31-development/862478-custom-user-plugin-hikashop-address#160330 "That was it!  Thanks so much for replying/helping.  Cheers Xavier") 12 years 4 months ago     by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile") | Replies:5  Views:3616 | [Last Post](/forum/31-development/862478-custom-user-plugin-hikashop-address#160330 "That was it!  Thanks so much for replying/helping.  Cheers Xavier") by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")      12 years 4 months ago |
| [](/forum/31-development/862478-custom-user-plugin-hikashop-address#160031) | [Custom User Plugin - Hikashop Address](/forum/31-development/862478-custom-user-plugin-hikashop-address#160031 "-- url of the page with the problem -- : Localhost - Testing -- HikaShop version -- : HikaShop Business: 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3.8 -- Browser(s) name and version -- : Not Applicable -- Error-message(debug-mod must be tuned on) -- : Lots so far  Hello, I am looking for a little bit of help. I have tried a few different components for managing users that integrate with Hikashop and have not liked what was available for various reasons. I created a user component that allows me to customize the Login page, Registration page, and Profile pages more the way I want them. I have also created a User Plugin so I can choose what fields show on all of these pages (address1, address 2, email, etc.)  I am now working on the Profile Page and would like to show the Hikashop address instead of the Joomla one. I am using code from the standard user - profile plugin in my own and it works like the original shows address1 and updates the table #&#95;&#95;user&#95;profiles when updating the user information.  The original onContentPrepareData function is as follows.  After doing a few searches I am close but have not been able to come up with the best query to get the hikashop (address&#95;street and address&#95;street2 from the table #&#95;&#95;hikashop&#95;address) and inject it into the $data-&gt;profile array.  I believe I have to get the user&#95;id from #&#95;&#95;hikashop&#95;user where the field user&#95;cms&#95;id matches the current users id.  And then use this user&#95;id to query the #&#95;&#95;hikashop&#95;address table and get the address&#95;street and address&#95;street2 fields that match the current user.  Does anyone know if I can write one query to get all the user&#95;profile info, and the hikashop&#95;address info?  After that query is figured out I need to figure out how to inject it all into the $data-&gt;profile array that the user profile plugin will display for editing in the profile, and also change the onUserAfterSave function to update both the hikashop&#95;address table and user&#95;profile table.  Any help would be great, I am ok with standard sql queries but these ones are making my head spin.")         Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 13 years 1 month ago, by [Billymb3](/forum/user/8027-billymb3 "View Billymb3's Profile")       [Last Post](/forum/31-development/862478-custom-user-plugin-hikashop-address#160330 "That was it!  Thanks so much for replying/helping.  Cheers Xavier") 12 years 4 months ago     by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile") | Replies:5  Views:3616 | [Last Post](/forum/31-development/862478-custom-user-plugin-hikashop-address#160330 "That was it!  Thanks so much for replying/helping.  Cheers Xavier") by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")      12 years 4 months ago |
| [](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#159995) | [\[PLUGIN\] Send a form through onAfterUserCreate](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#159995 "-- url of the page with the problem -- : Localhost -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.5.10 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : There is no error message, it just dont send the email.  Hi guys,  I am trying to auto send a form once the user register in Hikashop.  I have create this plugin and place it inside root/plugins/hikashop/hikaforce.  here is the function  class plgHikashopHikaforce extends JPlugin {  function onAfterUserCreate(&amp;$element){  } I also have put it inside a variable called $output and return it... did not work either.  What am I doing wrong.  Thanks in advance")        Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 12 years 5 months ago, by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")       [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") 12 years 4 months ago     by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile") | Replies:5  Views:846 | [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")      12 years 4 months ago |
| [](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#159836) | [\[PLUGIN\] Send a form through onAfterUserCreate](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#159836 "-- url of the page with the problem -- : Localhost -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.5.10 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : There is no error message, it just dont send the email.  Hi guys,  I am trying to auto send a form once the user register in Hikashop.  I have create this plugin and place it inside root/plugins/hikashop/hikaforce.  here is the function  class plgHikashopHikaforce extends JPlugin {  function onAfterUserCreate(&amp;$element){  } I also have put it inside a variable called $output and return it... did not work either.  What am I doing wrong.  Thanks in advance")        Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 12 years 5 months ago, by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")       [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") 12 years 4 months ago     by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile") | Replies:5  Views:846 | [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")      12 years 4 months ago |
| [](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#159740) | [\[PLUGIN\] Send a form through onAfterUserCreate](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#159740 "-- url of the page with the problem -- : Localhost -- HikaShop version -- : 2.3.0 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.5.10 -- Browser(s) name and version -- : All -- Error-message(debug-mod must be tuned on) -- : There is no error message, it just dont send the email.  Hi guys,  I am trying to auto send a form once the user register in Hikashop.  I have create this plugin and place it inside root/plugins/hikashop/hikaforce.  here is the function  class plgHikashopHikaforce extends JPlugin {  function onAfterUserCreate(&amp;$element){  } I also have put it inside a variable called $output and return it... did not work either.  What am I doing wrong.  Thanks in advance")        Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 12 years 5 months ago, by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")       [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") 12 years 4 months ago     by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile") | Replies:5  Views:846 | [Last Post](/forum/32-content-creation/868914-plugin-send-a-form-through-onafterusercreate#160331 "Got this... Xavier &#91;HikaShop&#93; helped me. The problem was that when using onAfterUserCreate the Address array is not yet created. Once I changed my trigger method to onAfterAddressCreate I could echo Address and pull the user instead. Thanks") by [Fit\_webmaster](/forum/user/33004-fit-webmaster "View Fit&#95;webmaster's Profile")      12 years 4 months ago |

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

Time to create page: 0.072 seconds

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