How to stop registration form from allowing urls
Hi Ryan, disregard my email asking about my login credentials as I figured it out. I was wondering if there was a way to stop all urls from being added to the login page. I am getting some humans spamming the site by registering with urls in every field. I am still using Family Connections 3.6.2 as my server isn't upgraded to php 7 yet.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Ryan Haudenschi... on 26 Nov, 2019 04:39 PM
I'm not sure I understand what the problem is.
If it is humans and not a robot, I don't think there is anything that can be done.
If it is some spam robot, you could add some type of google captcha to prevent them.
2 Posted by Nootkan on 26 Nov, 2019 09:38 PM
Hi Ryan, yes it is human. But if they can't leave a link in the form, the form isn't processed and they usually go away. Wordpress handles this with plugins.
I don't have any php skills so I was hoping that someone in this discussion group may have a solution.
I found this website:
Example
But I am not sure where to place the regex code inside the family cms registration form file to see if it works or not.
For the record: captchas don't work anymore and are now easily broken by bots. But this isn't a bot it is definitely human.
Support Staff 3 Posted by Ryan Haudenschi... on 05 Dec, 2019 06:34 PM
You would want to add the code to register.php in the displaySubmit function.