Condition Registration

  • Posts: 267
  • Thank you received: 5
9 years 9 months ago #190823

-- HikaShop version -- : bussiness 2.3.5
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.3.10-1ubuntu3.8
-- Browser(s) name and version -- : Chrome

Hello,
I want to use a condition that the user name is in certain ways :

1. A number of 8 digits + a letter ( eg 12345678X )
2. x, y or z + a number of 7 digits + a letter ( eg X1234567B )

Must be met or one or other status. If the username does not fulfill these conditions the user can not register .

I use a plugin that only works properly if I have not activated " Redirect to HikaShop registration Joomla Plugin " .

As could be done to also work with the plugin enabled .

Thank You.

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

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

Hi,

If that plugin doesn't work when you go through the HikaShop registration form, it's the plugin code that should be modified, not HikaShop. Not knowing that plugin's code, I can't tell you, but the best would be that you contact the developer of that plugin.

The following user(s) said Thank You: dvddvd

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

  • Posts: 267
  • Thank you received: 5
9 years 9 months ago #190857

Thanks Nicolás

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

  • Posts: 267
  • Thank you received: 5
8 years 8 months ago #231908

Hi there,

This is the plugin that validates the user name. With "Redirect Joomla registration to HikaShop" activated, stops working.

There is a way to work with "Redirect Joomla registration to HikaShop" activated.

The developer Validator can not resolve this problem.

Thank you.

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 8 months ago #231964

Hi,

The way the plugin is made, it will be hard to have it support the HikaShop registration form.
It would require changing the whole javascript in it (around 150 lines of code) because it bases itself on the ids of the elements on the registration form, but HikaShop and Joomla uses different ids for them (so that the CSS of templates made for the registration form of Joomla doesn't break the fields of the registration form of HikaShop).
It's not impossible to modify it to have it also support HikaShop, but it would require a lot of work.

The following user(s) said Thank You: dvddvd

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

  • Posts: 267
  • Thank you received: 5
8 years 8 months ago #231970

Thanks very much Nicolas

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

Time to create page: 0.063 seconds
Powered by Kunena Forum