ElkArte Community

Project Support => Support => Topic started by: Daemon on August 26, 2017, 06:46:42 pm

Title: Verification Code is gone
Post by: Daemon on August 26, 2017, 06:46:42 pm
Hi!

The verification code is gone, even the settings for it in the ACP.

But other users can see it during the registration process. Only I can't see it. Why?
To check if it's the cache again, I delete the whole Browser cache (from every Browser), used Tor-Browser and VPN connection.

Edit:
I've installed a few Mods, but I can't say after which Mod this happened. At SMF this issue was caused because of a BOM.
Title: Re: Verification Code is gone
Post by: emanuele on August 26, 2017, 07:00:35 pm
hmm... can you give us the list of addons installed?
Title: Re: Verification Code is gone
Post by: Daemon on August 26, 2017, 07:10:00 pm
BBC FontAwesome Button   1.0   
BBC Gist Button   1.0   
Footer Menu   1.0   
Hide User Names   1.0   
Password Entropy   1.0   
reCaptcha   1.0.0
Recent Topics   0.0.4
Topic Solved   1.0   
User Agent Display   1.0   

They are all installed but not all are active, for example reCaptcha isn't activated atm.


EDIT:

it's definitely reCaptcha. Though it's not activated, the normal captcha will be gone.
Title: Re: Verification Code is gone
Post by: live627 on August 26, 2017, 11:36:54 pm
Just a hunch: the addon may be written for 1.0 while you are running 1.1... a version conflict. I'm probably off base here, ignore me. :P
Title: Re: Verification Code is gone
Post by: Daemon on August 27, 2017, 03:38:41 am
I'm running 1.0.10.
Title: Re: Verification Code is gone
Post by: emanuele on August 27, 2017, 05:19:24 am
Try a thing.
In sources/subs/ find the file reCaptcha.class.php, then after the line:
Code: [Select]
private $_userIP = null;
add the following:
Code: [Select]
private $show_captcha = false;
Title: Re: Verification Code is gone
Post by: Daemon on August 27, 2017, 05:40:37 am
Sorry, nothing happened. With reCaptcha installed the code isn't showing.
Title: Re: Verification Code is gone
Post by: emanuele on August 27, 2017, 07:35:35 am
Okay, same file, just after:
Code: [Select]
	$key = array_search('ReCaptcha', $known_verifications);
add:
Code: [Select]
	if ($key !== false)
unset($known_verifications[$key]);
That's for @Spuds to fix. :P
Title: Re: Verification Code is gone
Post by: Spuds on August 27, 2017, 08:51:05 am
Thanks and done :D
Title: Re: Verification Code is gone
Post by: Daemon on August 28, 2017, 06:53:14 am
Nope, still the same. No code, either in the settings nor on the registration site.
Title: Re: Verification Code is gone
Post by: emanuele on August 28, 2017, 07:33:41 am
Strange.
Did you modify the file or installed the new package?
Title: Re: Verification Code is gone
Post by: Daemon on August 28, 2017, 08:06:55 am
Which new package?

I modified the file.


EDIT:

installed the new package and everything is fine now.

Thanks for your help.
Title: Re: Verification Code is gone
Post by: emanuele on August 28, 2017, 10:58:56 am
Great! :D