[SOLVED]Captcha box not showing

Moderator: crythias

Locked
vmN
Znuny newbie
Posts: 4
Joined: 24 Feb 2014, 11:42
Znuny Version: 3.3.4

[SOLVED]Captcha box not showing

Post by vmN »

Hello I followed crythias guide on how to add captcha to your OTRS server.

Everything is working expect one thing. The Captcha box is not been displayed.
example of Captcha box:
Image
So in the customer create account it doesn't show the captcha.
Image
So when you click created after have filled out Firstname, Lastname and Email you will get directed to this:
Image

Thanks in advance, guys!
Last edited by vmN on 24 Feb 2014, 16:14, edited 1 time in total.
vmN
Znuny newbie
Posts: 4
Joined: 24 Feb 2014, 11:42
Znuny Version: 3.3.4

Re: Captcha box not showing

Post by vmN »

UPDATE: I just added the following code to CustomerLogin.dtl

Code: Select all

<script type="text/javascript"
       src="http://www.google.com/recaptcha/api/challenge?k=your_public_key">
    </script>
    <noscript>
       <iframe src="http://www.google.com/recaptcha/api/noscript?k=your_public_key"
           height="300" width="500" frameborder="0"></iframe><br>
       <textarea name="recaptcha_challenge_field" rows="3" cols="40">
       </textarea>
       <input type="hidden" name="recaptcha_response_field"
           value="manual_challenge">
    </noscript>
I did change "your_public_key" to my public key.

But now it's acting weird, like cutting of the bottom of the site.(I have used multiple browsers like firefox, safari and internet explorer on different OS's)
Image
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Captcha box not showing

Post by crythias »

You'll need to take a look at customization: https://developers.google.com/recaptcha ... tomization

and maybe enlarge the div for the input box.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
vmN
Znuny newbie
Posts: 4
Joined: 24 Feb 2014, 11:42
Znuny Version: 3.3.4

Re: Captcha box not showing

Post by vmN »

crythias wrote:You'll need to take a look at customization: https://developers.google.com/recaptcha ... tomization

and maybe enlarge the div for the input box.
Yes, I think the problem lies with the div.
I have been looking through the CustomerLogin.dtl after the div limiting the size, and I haven't been able to find it yet, guess I just have to keep looking.

I did try to place it outside the </form>, it did get displayed correctly, but didn't get the data from the CreateAccount form.

EDIT: After looking through Inspect Element, I think it's the div 'Slider' limiting it.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Captcha box not showing

Post by crythias »

/var/httpd/htdocs/skins/Customer/default/css/Core.Login.css

#Signup
height
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
vmN
Znuny newbie
Posts: 4
Joined: 24 Feb 2014, 11:42
Znuny Version: 3.3.4

Re: Captcha box not showing

Post by vmN »

I was playing around in the Core.Login.css
I turned up the #Signup, but nothing happen,
then I saw the #Slider and turned it up, and it finally worked. I thank you for your help, and I will hereby put this thread as solved.
Thanks!
Locked