joomla 2.5 profile plugin

  • Posts: 217
  • Thank you received: 1
11 years 11 months ago #50822

Hi Nic,

I am probably good enough to write this myself but have you created a plugin yet to integerate the customer details with the joomla 2.5 user profile?

Thanks,

Mat

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 11 months ago #50827

Hi,

Yes, we have built it on our end. It will be included in next version of HikaShop.

Let us know if you find any problems.
We're starting the testing phase for next release today.

Attachments:
Last edit: 11 years 11 months ago by nicolas.

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

  • Posts: 217
  • Thank you received: 1
11 years 11 months ago #50828

Let me know if I can test it!!

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 11 months ago #50829

Sure, just download it in my previous message and install it.

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

  • Posts: 217
  • Thank you received: 1
11 years 11 months ago #50981

OK ... so what does it do exactly?

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 11 months ago #51044

It adds the hikashop custom user fields in the profile edition page.

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

  • Posts: 217
  • Thank you received: 1
11 years 11 months ago #51099

And if they edit their address from their user profile does it update hika shop?

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 11 months ago #51110

By default, there is no address fields on the user profile.
HikaShop's addresses are not compatible with Joomla's 2.5 addresses, so no.
You should keep deactivated the joomla address fields, in order not to confuse users.

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

  • Posts: 217
  • Thank you received: 1
11 years 11 months ago #51117

So I have created my joomla address fields and you will add those values to the joomla profile table - what key value is it prefixed with?

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 11 months ago #51199

You can create custom fields of the table "user" via the menu Display->Custom fields in HikaShop (in commercial editions only).
These fields will appear on the HikaShop registration form and on the checkout registration form.
With that new user plugin, they will also appear on the user profile page so that the user can edit them.
These fields are stored in the hikashop_user table and are not compatible with the joomla user fields. They are a replacement.

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

  • Posts: 217
  • Thank you received: 1
11 years 9 months ago #56492

Hi Nicolas,

I would like to do the following.
1. Use the joomla member profile system to store the members address.
2. When the user changes their address profile I will get the users hikashop id from hikashop_user
3. and insert into the table hikashop_address the relevant fields for the members new address
4. Of course I will make sure both the profile and hikashop use the same fields for address

I think that will work - from what I can tell you use the last row per user in hikashop_address for the users address?

Thanks,

Mat

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 9 months ago #56529

You can create a joomla user plugin for that.
You will need to insert/update the address in the hikashop_address table. It will be better than adding a new entry each time I think.
Also, note that even if the fields have the same name, their value might not be compatible.
For example, the states and country fields in HikaShop uses the namekey of the zone data from the hikashop_zone table. So you might need additional logic based on ho you create your fields in joomla.

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

  • Posts: 2
  • Thank you received: 0
11 years 5 months ago #75406

I want to create a user profile plugin in joomla 2.5, it have many custom fields as age,subject, school, avatar/image...I can't create function upload avatar. Somebody can help me?

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

  • Posts: 2
  • Thank you received: 0
11 years 5 months ago #75407

I want to create a plugin for user profile, my plugin have many custom fields as age, subject, avatar/image. So, i can't create function upload and manager avatar. Somebody can help me?

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
11 years 5 months ago #75444

There is already a user profile plugin included in the latest versions of HikaShop.

You just need to create custom 'user' fields via the menu Display->Custom fields.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum