• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior ACC] reCAPTCHA Theme.

bilmattan

evo-Online - Owner
Joined
Aug 5, 2008
Messages
1,316
Reaction score
11
Location
Sweden
Hello! I just noticed that It was possible to change color/theme on your reCAPTCHA. So I'd like to share this with you guys!

On line 131~, Over :
PHP:
$main_content .= 'To play on '.$config['server']['serverName'].' you need an account.
Under/in :
PHP:
</script>

Add :
PHP:
	 <script type="text/javascript">
 var RecaptchaOptions = {
    theme : "white"
 };
 </script>

Should look something like this :
PHP:
	</script>
	 <script type="text/javascript">
 var RecaptchaOptions = {
    theme : "white"
 };
 </script>';
	$main_content .= 'To play on '.$config['server']['serverName'].' you need an account.

Themes for your ReCAPTCHA widget are as follows :
  • "red" ( default theme )
    Rcptadefaultred.png
  • "white"
    Rcptacleanxk9.png
  • "blackglass"
    Rcptablackglasslj0.png
  • "clean"
    Rcptagraycz8.png
 
Thanks :)

If you find this useful I wouldn't mind getting some rep for it:)
 
Doesn't seem to work... The line is on 121 and when I put your script between it gives an error... Will keep trying tho! :)
 
Back
Top