Jump to content

Annoying reCAPTCHA issue


Recommended Posts

On the register a new domain page under "Begin the search for your perfect domain name..." the reCAPTCHA is usually a tick box and then click on three "thingies" if your unlucky

 

But on "Contact Us" and "Open Ticket" pages have the more annoying "enter this number" or "bit of a street name sign" version, is there a mod that can change all three to be the click on three "thingies" like fruit, cars, trees etc.

 

Thanks

Link to comment
Share on other sites

by default only domainchecker and index uses the new Google recaptcha - all other pages used the older method.

 

http://docs.whmcs.com/Google_No_CAPTCHA_reCAPTCHA

 

if you want to change that, you'd need to edit templates/six/includes/captcha.tpl and change...

 

{if $filename == 'domainchecker' || $filename == 'index'}

to...

 

{if $filename == 'domainchecker' || $filename == 'index' || $filename == 'contact'|| $filename == 'submitticket'}

that will make the new Google Captcha code work with these two pages, then it's just a case of working on the alignment of where you want to position the output (also in captcha.tpl)

Link to comment
Share on other sites

Thanks, but yeah, the postion of the CAPTCHA is a wee problem, they seem to under the submit button.

 

I don't understand why WHMCS doesn't use the same CAPTCHA service throughtout the site.

 

- - - Updated - - -

 

I assume it's the .....

 

{else}

<div class="panel panel-default">

<div class="panel-heading">

<h3 class="panel-title">{lang key="captchatitle"}</h3>

</div>

<div class="panel-body">

<p>{lang key="captchaverify"}</p>

{if $captcha eq "recaptcha"}

{$recaptchahtml}

{else}

<div class="text-center">

<div class="col-md-5 col-sm-5 col-xs-5 captchaimage">

<img src="includes/verifyimage.php" align="middle" />

</div>

<div class="col-md-3 col-sm-3 col-xs-5">

<input id="inputCaptcha" type="text" name="code" maxlength="5" class="form-control" />

</div>

</div>

{/if}

</div>

</div>

{/if}

{/if}

 

bit in /templates/six/includes/captcha.tpl ?

Link to comment
Share on other sites

Thanks, but yeah, the position of the CAPTCHA is a wee problem, they seem to under the submit button.

that's fixable in the template - I didn't post how as I didn't know if you were using a custom theme or a modified "Six". :)

 

I don't understand why WHMCS doesn't use the same CAPTCHA service throughout the site.

they have a habit of adding new features and then only partially using them... :roll:

 

one of the new features of v6 was the option to add a captcha to any template - before then, we couldn't.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated