- Posts: 214
- Thank you received: 7
Prevent registration without purchase
- conticreative
-
Topic Author
- Offline
Less
More
12 years 5 months ago #161197
by conticreative
Prevent registration without purchase was created by conticreative
I migrated to Hikashop from Virtuemart, and I am very happy about it.
However, in virtuemart there was an option to prevent users from registering unless they were completing a purchase.
More details are here: www.vm-expert.com/virtuemart-expert-blog...in-joomla-virtuemart
I was wondering how easy it would be to implement this in Hikashop.
The reason for this trick is pretty obvious to anyone that has been assaulted with fake users. Years ago at some point I had 3 times more fake users than I had legitimate.
Would this be possible in Hikashop?
However, in virtuemart there was an option to prevent users from registering unless they were completing a purchase.
More details are here: www.vm-expert.com/virtuemart-expert-blog...in-joomla-virtuemart
I was wondering how easy it would be to implement this in Hikashop.
The reason for this trick is pretty obvious to anyone that has been assaulted with fake users. Years ago at some point I had 3 times more fake users than I had legitimate.
Would this be possible in Hikashop?
Please Log in or Create an account to join the conversation.
12 years 5 months ago #161222
by nicolas
Replied by nicolas on topic Prevent registration without purchase
Hi,
It's also quite easy to add with a code modification.
For example, you could add the line:
after the line:
in the file plugins/system/hikashopuser/hikashopuser.php and that will refuse all the registration attempts outside of the checkout.
It's also quite easy to add with a code modification.
For example, you could add the line:
Code:
if(@$_REQUEST['ctrl']!='checkout') return false;
Code:
function onBeforeStoreUser($user, $isnew){
The following user(s) said Thank You: conticreative
Please Log in or Create an account to join the conversation.
- conticreative
-
Topic Author
- Offline
Less
More
- Posts: 214
- Thank you received: 7
2 years 4 weeks ago - 2 years 4 weeks ago #364115
by conticreative
Replied by conticreative on topic Prevent registration without purchase
This is the only post I could find that addresses preventing registrations without purchase. It's 10 years old.
Is there something more recent or a better strategy to prevent bots from registering as a user?
I have Joomla 4 and the very latest Hikashop (updated last week Oct. 20, 2024).
Just today I found several new users that are clearly bots. How can I prevent that?
Is there something more recent or a better strategy to prevent bots from registering as a user?
I have Joomla 4 and the very latest Hikashop (updated last week Oct. 20, 2024).
Just today I found several new users that are clearly bots. How can I prevent that?
Last edit: 2 years 4 weeks ago by conticreative.
Please Log in or Create an account to join the conversation.
2 years 4 weeks ago #364117
by nicolas
Replied by nicolas on topic Prevent registration without purchase
Hi,
This is not a method to prevent bots from registering.
This will just forbid registrations via the Joomla registration page or the HikaShop registration page, and only allow it during the checkout.
But bots will still be able to register through the checkout registration form.
If you want to prevent bots from registering on your website, I would rather recommend using extensions.joomla.org/extension/ospam-a-not/
That's what we use on our website.
Also, we have a ReCaptcha plugin you can use to prevent bots, but nowadays, captchas can be circumvented by bots:
www.hikashop.com/support/documentation/7...-with-recaptcha.html
This is not a method to prevent bots from registering.
This will just forbid registrations via the Joomla registration page or the HikaShop registration page, and only allow it during the checkout.
But bots will still be able to register through the checkout registration form.
If you want to prevent bots from registering on your website, I would rather recommend using extensions.joomla.org/extension/ospam-a-not/
That's what we use on our website.
Also, we have a ReCaptcha plugin you can use to prevent bots, but nowadays, captchas can be circumvented by bots:
www.hikashop.com/support/documentation/7...-with-recaptcha.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds