VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: foxfilip on December 02, 2022, 10:34:08 AM

Title: Blocking a specific company name during registration
Post by: foxfilip on December 02, 2022, 10:34:08 AM
Hello,

site details:
Joomla! 4.1.5, VirtueMart 4.0.6. 10690, PHP 8.0.25

I would need to block certain company names during registration - this is because although I have Google ReCaptcha installed, a lot of spam accounts still go through registration.

Specifically, it is a company with the name "google" - without the quotes in that exact wording.

The registration works through VirtueMart, not Joomla.

So the question is, can I and how do I block the specific text when creating an account, meaning that the registration would simply not go through.
I need to black-list specific words in user registration.

Thank you very much!
Filip
Title: Re: Blocking a specific company name during registration
Post by: Jumbo! on December 07, 2022, 17:04:09 PM
Try installing this free extension to block the spam registrations - https://extensions.joomla.org/extension/access-a-security/site-security/spambotcheck/. It can work in parallel with reCaptcha.
Title: Re: Blocking a specific company name during registration
Post by: pinochico on December 07, 2022, 19:22:29 PM
Try OPC Captcha - part of the OPC Rupostel - https://www.rupostel.com/one-page-checkout-component
Title: Re: Blocking a specific company name during registration
Post by: foxfilip on December 15, 2022, 14:55:30 PM
Hello,

I tried to solve the problem with a simple plugin that I implemented in the system.

It is a hidden script that checks the time spent on the registration page, with the understanding that if this time is exceeded, it will block the possibility of registration.

This actually worked and the thread can therefore be considered closed.

Thank you all very much.
Foxfilip
Title: Re: Blocking a specific company name during registration
Post by: pinochico on December 16, 2022, 01:24:20 AM
QuoteI tried to solve the problem with a simple plugin that I implemented in the system.
It is a hidden script that checks the time spent on the registration page, with the understanding that if this time is exceeded, it will block the possibility of registration.

oops, hehe,
I want to start creating registration, in the middle make coffe, smoke 1 cigaret and then finish registration.
Is your hidden script inteligent == can I finish or block me?
Title: Re: Blocking a specific company name during registration
Post by: jenkinhill on December 16, 2022, 11:42:30 AM
I'm a spambot. I can complete registration in a few milliseconds..............
Title: Re: Blocking a specific company name during registration
Post by: foxfilip on December 19, 2022, 13:49:26 PM
Quote from: pinochico on December 16, 2022, 01:24:20 AM
QuoteI tried to solve the problem with a simple plugin that I implemented in the system.
It is a hidden script that checks the time spent on the registration page, with the understanding that if this time is exceeded, it will block the possibility of registration.

oops, hehe,
I want to start creating registration, in the middle make coffe, smoke 1 cigaret and then finish registration.
Is your hidden script inteligent == can I finish or block me?

If this is the case, my script would let you register.
But if, on the other hand, you did the registration within 1 second, which is technically not possible, at that point my script would work and the error message would appear.
However, it will only work for the timer set on the registration page. Once the spambot detects that some such script exists and continues to tend to register, a few lines of code could change what happens, after which I would have to adapt my code again. So not entirely intelligent... But together with Google reCaptcha it works so far without any problem.