How to make Reg email NOT unique for testing...

  • Posts: 103
  • Thank you received: 0
11 years 6 months ago #71502

I can't register myself twice (for testing) and figure out where to change it?

Any thoughts?

Thanks!

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
11 years 6 months ago #71518

You would have to recode joomla's core.
That's quite complex and will cause you a lot of trouble even if you're an experienced developer.

So don't do it !

Just create fake email addresses here for your tests:
www.jetable.org/en/index

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

  • Posts: 103
  • Thank you received: 0
11 years 6 months ago #71546

I've done this on some other version I had installed. Some config file where you changed true to false. But I can't find it nor remember what its called.

When I find it I will post. A way easier solution that managing multiple email addresses...

Thanks!

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

  • Posts: 103
  • Thank you received: 0
11 years 6 months ago #71614

the following file...

components/com_users/models/forms/registration.xml

Find "email 1". See that line unique="false"? I bet yours says "true". Mine did. Change it to "false". Bob's your Uncle!

<field name="email1" type="email"
description="COM_USERS_REGISTER_EMAIL1_DESC"
field="id"
filter="string"
label="COM_USERS_REGISTER_EMAIL1_LABEL"
message="COM_USERS_REGISTER_EMAIL1_MESSAGE"
required="true"
size="30"
unique="false"
validate="email"
/>

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

  • Posts: 81564
  • Thank you received: 13072
  • MODERATOR
11 years 6 months ago #71615

There is no such file in HikaShop.
HikaShop does not check for email uniqueness.
It's joomla which does that with the user information provided via the HikaShop registration form.
So there is nothing to change in HikaShop.

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

  • Posts: 103
  • Thank you received: 0
11 years 6 months ago #71619

Good point! I put it in the Joomla forum too in case it helps another newbie. Cheers.

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

Time to create page: 0.063 seconds
Powered by Kunena Forum